public class DataTableBatchScan extends AbstractDataTableScan
TableScan implementation for batch planning.TableScan.PlansnapshotReader| Constructor and Description |
|---|
DataTableBatchScan(boolean pkTable,
CoreOptions options,
SnapshotReader snapshotReader,
DefaultValueAssigner defaultValueAssigner) |
| Modifier and Type | Method and Description |
|---|---|
TableScan.Plan |
plan()
Plan splits, throws
EndOfScanException if the scan is ended. |
InnerTableScan |
withFilter(Predicate predicate) |
InnerTableScan |
withLimit(int limit) |
DataTableScan |
withShard(int indexOfThisSubtask,
int numberOfParallelSubtasks)
Specify the shard to be read, and allocate sharded files to read records.
|
createStartingScanner, listPartitionEntries, options, withBucket, withBucketFilter, withLevelFilter, withMetricsRegistry, withPartitionFilter, withPartitionFilterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlistPartitionspublic DataTableBatchScan(boolean pkTable,
CoreOptions options,
SnapshotReader snapshotReader,
DefaultValueAssigner defaultValueAssigner)
public InnerTableScan withFilter(Predicate predicate)
public InnerTableScan withLimit(int limit)
public TableScan.Plan plan()
TableScanEndOfScanException if the scan is ended.public DataTableScan withShard(int indexOfThisSubtask, int numberOfParallelSubtasks)
DataTableScanCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.