public class IncrementalStartingScanner extends AbstractStartingScanner
StartingScanner
for incremental changes by snapshot.StartingScanner.NextSnapshot, StartingScanner.NoSnapshot, StartingScanner.Result, StartingScanner.ScannedResult
snapshotManager, startingSnapshotId
Constructor and Description |
---|
IncrementalStartingScanner(SnapshotManager snapshotManager,
long start,
long end,
ScanMode scanMode) |
Modifier and Type | Method and Description |
---|---|
Optional<StartingScanner.Result> |
checkScanSnapshotIdValidity()
Check the validity of staring snapshotId early.
|
StartingScanner.Result |
scan(SnapshotReader reader) |
scanPartitions, startingContext, startingScanMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromPlan
public IncrementalStartingScanner(SnapshotManager snapshotManager, long start, long end, ScanMode scanMode)
public StartingScanner.Result scan(SnapshotReader reader)
public Optional<StartingScanner.Result> checkScanSnapshotIdValidity()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.