public class StaticFromTimestampStartingScanner extends ReadPlanStartingScanner
StartingScanner
for the CoreOptions.StartupMode#FROM_TIMESTAMP
startup mode of a
batch read.StartingScanner.NextSnapshot, StartingScanner.NoSnapshot, StartingScanner.Result, StartingScanner.ScannedResult
snapshotManager, startingSnapshotId
Constructor and Description |
---|
StaticFromTimestampStartingScanner(SnapshotManager snapshotManager,
long startupMillis) |
Modifier and Type | Method and Description |
---|---|
SnapshotReader |
configure(SnapshotReader snapshotReader) |
static Snapshot |
timeTravelToTimestamp(SnapshotManager snapshotManager,
long timestamp) |
scan, scanPartitions
startingContext, startingScanMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromPlan
public StaticFromTimestampStartingScanner(SnapshotManager snapshotManager, long startupMillis)
public SnapshotReader configure(SnapshotReader snapshotReader)
configure
in class ReadPlanStartingScanner
@Nullable public static Snapshot timeTravelToTimestamp(SnapshotManager snapshotManager, long timestamp)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.