Package io.deephaven.iceberg.util
Interface SchemaProvider
public interface SchemaProvider
A specification for extracting the schema from a table.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic SchemaProvider
Use the current schema from the table.static SchemaProvider
Use the schema from the current snapshot of the table.static SchemaProvider
fromSchema
(org.apache.iceberg.Schema schema) Use the given schema directly.static SchemaProvider
fromSchemaId
(int id) Use the schema with the given ID from the table.static SchemaProvider
fromSnapshotId
(int snapshotId) Use the schema from the snapshot with the given ID.
-
Method Details
-
fromCurrent
Use the current schema from the table. -
fromSchemaId
Use the schema with the given ID from the table. -
fromSchema
Use the given schema directly. -
fromSnapshotId
Use the schema from the snapshot with the given ID. -
fromCurrentSnapshot
Use the schema from the current snapshot of the table.
-