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
ConstructorDescriptionBaseCombinedScanTask
(List<FileScanTask> tasks) BaseCombinedScanTask
(FileScanTask... tasks) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.iceberg.CombinedScanTask
asCombinedScanTask, tasks
Methods inherited from interface org.apache.iceberg.ScanTask
asDataTask, asFileScanTask, isDataTask, isFileScanTask
Methods inherited from interface org.apache.iceberg.ScanTaskGroup
groupingKey
-
Constructor Details
-
BaseCombinedScanTask
-
BaseCombinedScanTask
-
-
Method Details
-
files
Description copied from interface:CombinedScanTask
Return thetasks
in this combined task.- Specified by:
files
in interfaceCombinedScanTask
- Returns:
- a Collection of FileScanTask instances.
-
sizeBytes
public long sizeBytes()Description copied from interface:ScanTask
The number of bytes that should be read by this scan task.- Specified by:
sizeBytes
in interfaceScanTask
- Specified by:
sizeBytes
in interfaceScanTaskGroup<FileScanTask>
- Returns:
- the total number of bytes to read
-
estimatedRowsCount
public long estimatedRowsCount()Description copied from interface:ScanTask
The estimated number of rows produced by this scan task.- Specified by:
estimatedRowsCount
in interfaceScanTask
- Specified by:
estimatedRowsCount
in interfaceScanTaskGroup<FileScanTask>
- Returns:
- the estimated number of produced rows
-
filesCount
public int filesCount()Description copied from interface:ScanTask
The number of files that will be opened by this scan task.- Specified by:
filesCount
in interfaceScanTask
- Specified by:
filesCount
in interfaceScanTaskGroup<FileScanTask>
- Returns:
- the number of files to open
-
toString
-