Interface Snapshot

All Known Implementing Classes:
SnapshotImpl

@Evolving public interface Snapshot
Represents the snapshot of a Delta table.
Since:
3.0.0
  • Method Details

    • getVersion

      long getVersion(Engine engine)
      Get the version of this snapshot in the table.
      Parameters:
      engine - Engine instance to use in Delta Kernel.
      Returns:
      version of this snapshot in the Delta table
    • getSchema

      StructType getSchema(Engine engine)
      Get the schema of the table at this snapshot.
      Parameters:
      engine - Engine instance to use in Delta Kernel.
      Returns:
      Schema of the Delta table at this snapshot.
    • getScanBuilder

      ScanBuilder getScanBuilder(Engine engine)
      Create a scan builder to construct a Scan to read data from this snapshot.
      Parameters:
      engine - Engine instance to use in Delta Kernel.
      Returns:
      an instance of ScanBuilder