Package org.apache.iceberg
Class BaseCombinedScanTask
java.lang.Object
org.apache.iceberg.BaseCombinedScanTask
- All Implemented Interfaces:
Serializable,CombinedScanTask,ScanTask,ScanTaskGroup<FileScanTask>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBaseCombinedScanTask(List<FileScanTask> tasks) BaseCombinedScanTask(FileScanTask... tasks) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.iceberg.CombinedScanTask
asCombinedScanTask, tasksMethods inherited from interface org.apache.iceberg.ScanTask
asDataTask, asFileScanTask, isDataTask, isFileScanTaskMethods inherited from interface org.apache.iceberg.ScanTaskGroup
groupingKey
-
Constructor Details
-
BaseCombinedScanTask
-
BaseCombinedScanTask
-
-
Method Details
-
files
Description copied from interface:CombinedScanTaskReturn thetasksin this combined task.- Specified by:
filesin interfaceCombinedScanTask- Returns:
- a Collection of FileScanTask instances.
-
sizeBytes
public long sizeBytes()Description copied from interface:ScanTaskThe number of bytes that should be read by this scan task.- Specified by:
sizeBytesin interfaceScanTask- Specified by:
sizeBytesin interfaceScanTaskGroup<FileScanTask>- Returns:
- the total number of bytes to read
-
estimatedRowsCount
public long estimatedRowsCount()Description copied from interface:ScanTaskThe estimated number of rows produced by this scan task.- Specified by:
estimatedRowsCountin interfaceScanTask- Specified by:
estimatedRowsCountin interfaceScanTaskGroup<FileScanTask>- Returns:
- the estimated number of produced rows
-
filesCount
public int filesCount()Description copied from interface:ScanTaskThe number of files that will be opened by this scan task.- Specified by:
filesCountin interfaceScanTask- Specified by:
filesCountin interfaceScanTaskGroup<FileScanTask>- Returns:
- the number of files to open
-
toString
-