public class StaticFromWatermarkStartingScanner extends ReadPlanStartingScanner
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 |
---|---|
SnapshotReader |
configure(SnapshotReader snapshotReader) |
ScanMode |
startingScanMode() |
static Snapshot |
timeTravelToWatermark(SnapshotManager snapshotManager,
long watermark) |
scan, scanPartitions
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 SnapshotReader configure(SnapshotReader snapshotReader)
configure
in class ReadPlanStartingScanner
@Nullable public static Snapshot timeTravelToWatermark(SnapshotManager snapshotManager, long watermark)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.