Package org.apache.iceberg
Class BaseCombinedScanTask
- java.lang.Object
-
- org.apache.iceberg.BaseCombinedScanTask
-
- All Implemented Interfaces:
java.io.Serializable,CombinedScanTask,ScanTask,ScanTaskGroup<FileScanTask>
public class BaseCombinedScanTask extends java.lang.Object implements CombinedScanTask
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseCombinedScanTask(java.util.List<FileScanTask> tasks)BaseCombinedScanTask(FileScanTask... tasks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longestimatedRowsCount()The estimated number of rows produced by this scan task.java.util.Collection<FileScanTask>files()Return thetasksin this combined task.intfilesCount()The number of files that will be opened by this scan task.longsizeBytes()The number of bytes that should be read by this scan task.java.lang.StringtoString()-
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 Detail
-
BaseCombinedScanTask
public BaseCombinedScanTask(FileScanTask... tasks)
-
BaseCombinedScanTask
public BaseCombinedScanTask(java.util.List<FileScanTask> tasks)
-
-
Method Detail
-
files
public java.util.Collection<FileScanTask> 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
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-