public interface ScanTask
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
default CombinedScanTask |
asCombinedScanTask()
Returns this cast to
CombinedScanTask if it is one |
default DataTask |
asDataTask()
Returns this cast to
DataTask if it is one |
default FileScanTask |
asFileScanTask()
Returns this cast to
FileScanTask if it is one |
default long |
estimatedRowsCount()
The estimated number of rows produced by this scan task.
|
default int |
filesCount()
The number of files that will be opened by this scan task.
|
default boolean |
isDataTask()
Returns true if this is a
DataTask , false otherwise. |
default boolean |
isFileScanTask()
Returns true if this is a
FileScanTask , false otherwise. |
default long |
sizeBytes()
The number of bytes that should be read by this scan task.
|
default long sizeBytes()
default long estimatedRowsCount()
default int filesCount()
default boolean isFileScanTask()
FileScanTask
, false otherwise.default FileScanTask asFileScanTask()
FileScanTask
if it is oneFileScanTask
if it is onejava.lang.IllegalStateException
- if this is not a FileScanTask
default boolean isDataTask()
DataTask
, false otherwise.default CombinedScanTask asCombinedScanTask()
CombinedScanTask
if it is oneCombinedScanTask
if it is onejava.lang.IllegalStateException
- if this is not a CombinedScanTask