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.ScannedResultsnapshotManager, 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, startingScanModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromPlanpublic 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.