Package io.delta.kernel
Interface Snapshot
- All Known Implementing Classes:
SnapshotImpl
Represents the snapshot of a Delta table.
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetScanBuilder(Engine engine) Create a scan builder to construct aScanto read data from this snapshot.Get the schema of the table at this snapshot.longgetVersion(Engine engine) Get the version of this snapshot in the table.
-
Method Details
-
getVersion
Get the version of this snapshot in the table.- Parameters:
engine-Engineinstance to use in Delta Kernel.- Returns:
- version of this snapshot in the Delta table
-
getSchema
Get the schema of the table at this snapshot.- Parameters:
engine-Engineinstance to use in Delta Kernel.- Returns:
- Schema of the Delta table at this snapshot.
-
getScanBuilder
Create a scan builder to construct aScanto read data from this snapshot.- Parameters:
engine-Engineinstance to use in Delta Kernel.- Returns:
- an instance of
ScanBuilder
-