@Public public interface StreamTableScan extends TableScan, Restorable<Long>
TableScan for streaming, supports checkpoint() and restore(java.lang.Long).
NOTE: checkpoint() will return the next snapshot id.
TableScan.Plan| Modifier and Type | Method and Description |
|---|---|
Long |
checkpoint()
Checkpoint to return next snapshot id.
|
void |
notifyCheckpointComplete(Long nextSnapshot)
Notifies the checkpoint complete with next snapshot id.
|
void |
restore(Long nextSnapshotId)
Restore from checkpoint next snapshot id.
|
Long |
watermark()
Current watermark for consumed snapshot.
|
listPartitionEntries, listPartitions, planvoid restore(@Nullable Long nextSnapshotId)
restore in interface Restorable<Long>@Nullable Long checkpoint()
checkpoint in interface Restorable<Long>Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.