Package org.apache.iceberg
Interface DataTask
- All Superinterfaces:
- ContentScanTask<DataFile>,- FileScanTask,- PartitionScanTask,- ScanTask,- Serializable,- SplittableScanTask<FileScanTask>
A task that returns data as 
rows instead of where to read data.- 
Method SummaryModifier and TypeMethodDescriptiondefault DataTaskReturns this cast toDataTaskif it is onedefault booleanReturns true if this is aDataTask, false otherwise.rows()Returns an iterable ofStructLikerows.Methods inherited from interface org.apache.iceberg.ContentScanTaskestimatedRowsCount, file, length, partition, residual, startMethods inherited from interface org.apache.iceberg.FileScanTaskasFileScanTask, deletes, filesCount, isFileScanTask, schema, sizeBytesMethods inherited from interface org.apache.iceberg.PartitionScanTaskspecMethods inherited from interface org.apache.iceberg.ScanTaskasCombinedScanTaskMethods inherited from interface org.apache.iceberg.SplittableScanTasksplit
- 
Method Details- 
isDataTaskdefault boolean isDataTask()Description copied from interface:ScanTaskReturns true if this is aDataTask, false otherwise.- Specified by:
- isDataTaskin interface- ScanTask
 
- 
asDataTaskDescription copied from interface:ScanTaskReturns this cast toDataTaskif it is one- Specified by:
- asDataTaskin interface- ScanTask
- Returns:
- this cast to DataTaskif it is one
 
- 
rowsCloseableIterable<StructLike> rows()Returns an iterable ofStructLikerows.
 
-