public interface IncrementalScan<ThisT,T extends ScanTask,G extends ScanTaskGroup<T>> extends Scan<ThisT,T,G>
Modifier and Type | Method and Description |
---|---|
ThisT |
fromSnapshotExclusive(long fromSnapshotId)
Instructs this scan to look for changes starting from a particular snapshot (exclusive).
|
default ThisT |
fromSnapshotExclusive(java.lang.String ref)
Instructs this scan to look for changes starting from a particular snapshot (exclusive).
|
ThisT |
fromSnapshotInclusive(long fromSnapshotId)
Instructs this scan to look for changes starting from a particular snapshot (inclusive).
|
default ThisT |
fromSnapshotInclusive(java.lang.String ref)
Instructs this scan to look for changes starting from a particular snapshot (inclusive).
|
ThisT |
toSnapshot(long toSnapshotId)
Instructs this scan to look for changes up to a particular snapshot (inclusive).
|
default ThisT |
toSnapshot(java.lang.String ref)
Instructs this scan to look for changes up to a particular snapshot ref (inclusive).
|
default ThisT |
useBranch(java.lang.String branch)
Use the specified branch
|
caseSensitive, filter, filter, ignoreResiduals, includeColumnStats, includeColumnStats, isCaseSensitive, metricsReporter, option, planFiles, planTasks, planWith, project, schema, select, select, splitLookback, splitOpenFileCost, targetSplitSize
ThisT fromSnapshotInclusive(long fromSnapshotId)
If the start snapshot is not configured, it defaults to the oldest ancestor of the end snapshot (inclusive).
fromSnapshotId
- the start snapshot ID (inclusive)java.lang.IllegalArgumentException
- if the start snapshot is not an ancestor of the end snapshotdefault ThisT fromSnapshotInclusive(java.lang.String ref)
If the start snapshot is not configured, it defaults to the oldest ancestor of the end snapshot (inclusive).
ref
- the start ref name that points to a particular snapshot ID (inclusive)java.lang.IllegalArgumentException
- if the start snapshot is not an ancestor of the end snapshotThisT fromSnapshotExclusive(long fromSnapshotId)
If the start snapshot is not configured, it defaults to the oldest ancestor of the end snapshot (inclusive).
fromSnapshotId
- the start snapshot ID (exclusive)java.lang.IllegalArgumentException
- if the start snapshot is not an ancestor of the end snapshotdefault ThisT fromSnapshotExclusive(java.lang.String ref)
If the start snapshot is not configured, it defaults to the oldest ancestor of the end snapshot (inclusive).
ref
- the start ref name that points to a particular snapshot ID (exclusive)java.lang.IllegalArgumentException
- if the start snapshot is not an ancestor of the end snapshotThisT toSnapshot(long toSnapshotId)
If the end snapshot is not configured, it defaults to the current table snapshot (inclusive).
toSnapshotId
- the end snapshot ID (inclusive)default ThisT toSnapshot(java.lang.String ref)
If the end snapshot is not configured, it defaults to the current table snapshot (inclusive).
ref
- the end snapshot Ref (inclusive)default ThisT useBranch(java.lang.String branch)
branch
- the branch name