ThisT
- the child Java API classpublic interface SplittableScanTask<ThisT> extends ScanTask
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<ThisT> |
split(long targetSplitSize)
Attempts to split this scan task into several smaller scan tasks, each close to
splitSize size. |
asCombinedScanTask, asDataTask, asFileScanTask, estimatedRowsCount, filesCount, isDataTask, isFileScanTask, sizeBytes
java.lang.Iterable<ThisT> split(long targetSplitSize)
splitSize
size.
Note the target split size is just guidance and the actual split size may be either smaller or larger. File formats like Parquet may leverage the row group offset information while splitting tasks.
targetSplitSize
- the target size of each new scan task in bytes