Package org.apache.iceberg
Interface ScanTaskGroup<T extends ScanTask>
-
- Type Parameters:
T
- the type of scan tasks
- All Superinterfaces:
ScanTask
,java.io.Serializable
- All Known Subinterfaces:
CombinedScanTask
- All Known Implementing Classes:
BaseCombinedScanTask
,BaseScanTaskGroup
public interface ScanTaskGroup<T extends ScanTask> extends ScanTask
A scan task that may include partial input files, multiple input files or both.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
filesCount()
The number of files that will be opened by this scan task.default long
sizeBytes()
The number of bytes that should be read by this scan task.java.util.Collection<T>
tasks()
Returns scan tasks in this group.-
Methods inherited from interface org.apache.iceberg.ScanTask
asCombinedScanTask, asDataTask, asFileScanTask, isDataTask, isFileScanTask
-
-
-
-
Method Detail
-
tasks
java.util.Collection<T> tasks()
Returns scan tasks in this group.
-
sizeBytes
default long sizeBytes()
Description copied from interface:ScanTask
The number of bytes that should be read by this scan task.
-
filesCount
default int filesCount()
Description copied from interface:ScanTask
The number of files that will be opened by this scan task.- Specified by:
filesCount
in interfaceScanTask
- Returns:
- the number of files to open
-
-