| Modifier and Type | Method and Description |
|---|---|
default FileScanTask |
asFileScanTask()
Returns this cast to
FileScanTask if it is one |
java.util.List<DeleteFile> |
deletes()
A list of
delete files to apply when reading the task's data file. |
DataFile |
file()
The
file to scan. |
default boolean |
isFileScanTask()
Returns true if this is a
FileScanTask, false otherwise. |
long |
length()
The number of bytes to scan from the
start() position in the file. |
Expression |
residual()
Returns the residual expression that should be applied to rows in this file scan.
|
PartitionSpec |
spec()
The
spec used to store this file. |
java.lang.Iterable<FileScanTask> |
split(long splitSize)
Splits this scan task into component
scan tasks, each of splitSize size |
long |
start()
The starting position of this scan range in the file.
|
asCombinedScanTask, asDataTask, isDataTaskjava.util.List<DeleteFile> deletes()
delete files to apply when reading the task's data file.PartitionSpec spec()
spec used to store this file.long start()
long length()
start() position in the file.Expression residual()
The residual expression for a file is a filter expression created from the scan's filter, inclusive any predicates that are true or false for the entire file removed, based on the file's partition data.
java.lang.Iterable<FileScanTask> split(long splitSize)
scan tasks, each of splitSize sizesplitSize - The size of a component scan taskscan tasksdefault boolean isFileScanTask()
ScanTaskFileScanTask, false otherwise.isFileScanTask in interface ScanTaskdefault FileScanTask asFileScanTask()
ScanTaskFileScanTask if it is oneasFileScanTask in interface ScanTaskFileScanTask if it is one