Package org.apache.iceberg
Interface DataTask
-
- All Superinterfaces:
ContentScanTask<DataFile>,FileScanTask,ScanTask,java.io.Serializable,SplittableScanTask<FileScanTask>
public interface DataTask extends FileScanTask
A task that returns data asrowsinstead of where to read data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataTaskasDataTask()Returns this cast toDataTaskif it is onedefault booleanisDataTask()Returns true if this is aDataTask, false otherwise.CloseableIterable<StructLike>rows()Returns an iterable ofStructLikerows.-
Methods inherited from interface org.apache.iceberg.ContentScanTask
file, length, residual, spec, start
-
Methods inherited from interface org.apache.iceberg.FileScanTask
asFileScanTask, deletes, filesCount, isFileScanTask, sizeBytes
-
Methods inherited from interface org.apache.iceberg.ScanTask
asCombinedScanTask
-
Methods inherited from interface org.apache.iceberg.SplittableScanTask
split
-
-
-
-
Method Detail
-
isDataTask
default boolean isDataTask()
Description copied from interface:ScanTaskReturns true if this is aDataTask, false otherwise.- Specified by:
isDataTaskin interfaceScanTask
-
asDataTask
default DataTask asDataTask()
Description copied from interface:ScanTaskReturns this cast toDataTaskif it is one- Specified by:
asDataTaskin interfaceScanTask- Returns:
- this cast to
DataTaskif it is one
-
rows
CloseableIterable<StructLike> rows()
Returns an iterable ofStructLikerows.
-
-