Package org.apache.iceberg
Class BaseScanTaskGroup<T extends ScanTask>
java.lang.Object
org.apache.iceberg.BaseScanTaskGroup<T>
- All Implemented Interfaces:
- Serializable,- ScanTask,- ScanTaskGroup<T>
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionBaseScanTaskGroup(Collection<T> tasks) BaseScanTaskGroup(StructLike groupingKey, Collection<T> tasks) 
- 
Method SummaryModifier and TypeMethodDescriptionlongThe estimated number of rows produced by this scan task.intThe number of files that will be opened by this scan task.Returns a grouping key for this task group.longThe number of bytes that should be read by this scan task.tasks()Returns scan tasks in this group.toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.iceberg.ScanTaskasCombinedScanTask, asDataTask, asFileScanTask, isDataTask, isFileScanTask
- 
Constructor Details- 
BaseScanTaskGroup
- 
BaseScanTaskGroup
 
- 
- 
Method Details- 
groupingKeyDescription copied from interface:ScanTaskGroupReturns a grouping key for this task group.A grouping key is a set of values that are common amongst all rows produced by the tasks in this task group. The values may be the result of transforming the underlying data. For example, a grouping key can consist of a bucket ordinal computed by applying a bucket transform to a column of the underlying rows. The grouping key type is determined at planning time and is identical across all task groups produced by a scan. Implementations should return an empty struct if the data grouping is random or unknown. - Specified by:
- groupingKeyin interface- ScanTaskGroup<T extends ScanTask>
- Returns:
- a grouping key for this task group
 
- 
tasksDescription copied from interface:ScanTaskGroupReturns scan tasks in this group.- Specified by:
- tasksin interface- ScanTaskGroup<T extends ScanTask>
 
- 
sizeBytespublic long sizeBytes()Description copied from interface:ScanTaskThe number of bytes that should be read by this scan task.
- 
estimatedRowsCountpublic long estimatedRowsCount()Description copied from interface:ScanTaskThe estimated number of rows produced by this scan task.- Specified by:
- estimatedRowsCountin interface- ScanTask
- Specified by:
- estimatedRowsCountin interface- ScanTaskGroup<T extends ScanTask>
- Returns:
- the estimated number of produced rows
 
- 
filesCountpublic int filesCount()Description copied from interface:ScanTaskThe number of files that will be opened by this scan task.- Specified by:
- filesCountin interface- ScanTask
- Specified by:
- filesCountin interface- ScanTaskGroup<T extends ScanTask>
- Returns:
- the number of files to open
 
- 
toString
 
-