| Modifier and Type | Method and Description |
|---|---|
static Table |
forPath(TableClient tableClient,
String path)
Instantiate a table object for the Delta Lake table at the given path.
|
Snapshot |
getLatestSnapshot(TableClient tableClient)
Get the latest snapshot of the table.
|
public static Table forPath(TableClient tableClient, String path) throws TableNotFoundException
TableforPath in interface TabletableClient - TableClient instance to use in Delta Kernel.path - location where the Delta table is present. Path is resolved to fully
qualified path using the given tableClient.Table representing the Delta table at given pathTableNotFoundException - when there is no Delta table at the given path.public Snapshot getLatestSnapshot(TableClient tableClient) throws TableNotFoundException
TablegetLatestSnapshot in interface TabletableClient - TableClient instance to use in Delta Kernel.SnapshotTableNotFoundException