Package org.apache.iceberg
Interface CombinedScanTask
-
- All Superinterfaces:
ScanTask
,ScanTaskGroup<FileScanTask>
,java.io.Serializable
- All Known Implementing Classes:
BaseCombinedScanTask
public interface CombinedScanTask extends ScanTaskGroup<FileScanTask>
A scan task made of several ranges from files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CombinedScanTask
asCombinedScanTask()
Returns this cast toCombinedScanTask
if it is onejava.util.Collection<FileScanTask>
files()
Return thetasks
in this combined task.default java.util.Collection<FileScanTask>
tasks()
Returns scan tasks in this group.-
Methods inherited from interface org.apache.iceberg.ScanTask
asDataTask, asFileScanTask, isDataTask, isFileScanTask
-
Methods inherited from interface org.apache.iceberg.ScanTaskGroup
estimatedRowsCount, filesCount, groupingKey, sizeBytes
-
-
-
-
Method Detail
-
files
java.util.Collection<FileScanTask> files()
Return thetasks
in this combined task.- Returns:
- a Collection of FileScanTask instances.
-
tasks
default java.util.Collection<FileScanTask> tasks()
Description copied from interface:ScanTaskGroup
Returns scan tasks in this group.- Specified by:
tasks
in interfaceScanTaskGroup<FileScanTask>
-
asCombinedScanTask
default CombinedScanTask asCombinedScanTask()
Description copied from interface:ScanTask
Returns this cast toCombinedScanTask
if it is one- Specified by:
asCombinedScanTask
in interfaceScanTask
- Returns:
- this cast to
CombinedScanTask
if it is one
-
-