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 SummaryMethods inherited from interface org.apache.iceberg.ScanTaskasCombinedScanTask, asDataTask, asFileScanTask, estimatedRowsCount, filesCount, isDataTask, isFileScanTask, sizeBytes
- 
Method Details- 
canMergeChecks if this task can merge with a given task.- Parameters:
- other- another task
- Returns:
- whether the tasks can be merged
 
- 
mergeMerges 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
 
 
-