public class StaticFromTimestampStartingScanner extends AbstractStartingScanner
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 |
---|---|
StartingScanner.Result |
scan(SnapshotReader snapshotReader) |
static Snapshot |
timeTravelToTimestamp(SnapshotManager snapshotManager,
long timestamp) |
startingContext, startingScanMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromPlan
public StaticFromTimestampStartingScanner(SnapshotManager snapshotManager, long startupMillis)
public StartingScanner.Result scan(SnapshotReader snapshotReader)
@Nullable public static Snapshot timeTravelToTimestamp(SnapshotManager snapshotManager, long timestamp)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.