Package org.apache.iceberg
Interface MergeableScanTask<ThisT>
- Type Parameters:
ThisT
- the child Java API class
- All Superinterfaces:
ScanTask
,Serializable
A scan task that can be potentially merged with other scan tasks.
-
Method Summary
Methods inherited from interface org.apache.iceberg.ScanTask
asCombinedScanTask, asDataTask, asFileScanTask, estimatedRowsCount, filesCount, isDataTask, isFileScanTask, sizeBytes
-
Method Details
-
canMerge
Checks if this task can merge with a given task.- Parameters:
other
- another task- Returns:
- whether the tasks can be merged
-
merge
Merges this task with a given task.Note this method will be called only if
canMerge(ScanTask)
returns true.- Parameters:
other
- another task- Returns:
- a new merged task
-