Interface SchemaProvider


public interface SchemaProvider
A specification for extracting the schema from a table.
  • Method Details

    • fromCurrent

      static SchemaProvider fromCurrent()
      Use the current schema from the table.
    • fromSchemaId

      static SchemaProvider fromSchemaId(int id)
      Use the schema with the given ID from the table.
    • fromSchema

      static SchemaProvider fromSchema(org.apache.iceberg.Schema schema)
      Use the given schema directly.
    • fromSnapshotId

      static SchemaProvider fromSnapshotId(int snapshotId)
      Use the schema from the snapshot with the given ID.
    • fromCurrentSnapshot

      static SchemaProvider fromCurrentSnapshot()
      Use the schema from the current snapshot of the table.