public class StaticFromWatermarkStartingScanner extends AbstractStartingScanner
StartingScanner
for the CoreOptions.SCAN_WATERMARK
of a batch read.StartingScanner.NextSnapshot, StartingScanner.NoSnapshot, StartingScanner.Result, StartingScanner.ScannedResult
snapshotManager, startingSnapshotId
Constructor and Description |
---|
StaticFromWatermarkStartingScanner(SnapshotManager snapshotManager,
long watermark) |
Modifier and Type | Method and Description |
---|---|
StartingScanner.Result |
scan(SnapshotReader snapshotReader) |
ScanMode |
startingScanMode() |
static Snapshot |
timeTravelToWatermark(SnapshotManager snapshotManager,
long watermark) |
startingContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromPlan
public StaticFromWatermarkStartingScanner(SnapshotManager snapshotManager, long watermark)
public ScanMode startingScanMode()
startingScanMode
in class AbstractStartingScanner
public StartingScanner.Result scan(SnapshotReader snapshotReader)
@Nullable public static Snapshot timeTravelToWatermark(SnapshotManager snapshotManager, long watermark)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.