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 SchemaProviderUse the current schema from the table.static SchemaProviderUse the schema from the current snapshot of the table.static SchemaProviderfromSchema(org.apache.iceberg.Schema schema) Use the given schema directly.static SchemaProviderfromSchemaId(int id) Use the schema with the given ID from the table.static SchemaProviderfromSnapshotId(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.
-