Package org.apache.iceberg
Interface MergeableScanTask<ThisT>
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanMerge(ScanTask other)Checks if this task can merge with a given task.ThisTmerge(ScanTask other)Merges this task with a given task.- 
Methods inherited from interface org.apache.iceberg.ScanTaskasCombinedScanTask, asDataTask, asFileScanTask, filesCount, isDataTask, isFileScanTask, sizeBytes
 
- 
 
- 
- 
- 
Method Detail- 
canMergeboolean canMerge(ScanTask other) Checks if this task can merge with a given task.- Parameters:
- other- another task
- Returns:
- whether the tasks can be merged
 
 - 
mergeThisT merge(ScanTask other) 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
 
 
- 
 
-