public class DataTableBatchScan extends AbstractDataTableScan
TableScan
implementation for batch planning.TableScan.Plan
snapshotReader
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, withPartitionFilter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
listPartitions
public DataTableBatchScan(boolean pkTable, CoreOptions options, SnapshotReader snapshotReader, DefaultValueAssigner defaultValueAssigner)
public InnerTableScan withFilter(Predicate predicate)
public InnerTableScan withLimit(int limit)
public TableScan.Plan plan()
TableScan
EndOfScanException
if the scan is ended.public DataTableScan withShard(int indexOfThisSubtask, int numberOfParallelSubtasks)
DataTableScan
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.