| Constructor and Description |
|---|
SnapshotImpl(Path logPath,
Path dataPath,
long version,
LogSegment logSegment,
TableClient tableClient,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
getMetadata() |
Protocol |
getProtocol() |
ScanBuilder |
getScanBuilder(TableClient tableClient)
Create a scan builder to construct a
Scan to read data from this snapshot. |
StructType |
getSchema(TableClient tableClient)
Get the schema of the table at this snapshot.
|
long |
getVersion(TableClient tableClient)
Get the version of this snapshot in the table.
|
public SnapshotImpl(Path logPath, Path dataPath, long version, LogSegment logSegment, TableClient tableClient, long timestamp)
public long getVersion(TableClient tableClient)
SnapshotgetVersion in interface SnapshottableClient - TableClient instance to use in Delta Kernel.public StructType getSchema(TableClient tableClient)
SnapshotgetSchema in interface SnapshottableClient - TableClient instance to use in Delta Kernel.public ScanBuilder getScanBuilder(TableClient tableClient)
SnapshotScan to read data from this snapshot.getScanBuilder in interface SnapshottableClient - TableClient instance to use in Delta Kernel.ScanBuilderpublic Metadata getMetadata()
public Protocol getProtocol()