public class BaseCombinedScanTask extends java.lang.Object implements CombinedScanTask
Constructor and Description |
---|
BaseCombinedScanTask(FileScanTask... tasks) |
BaseCombinedScanTask(java.util.List<FileScanTask> tasks) |
Modifier and Type | Method and Description |
---|---|
long |
estimatedRowsCount()
The estimated number of rows produced by this scan task.
|
java.util.Collection<FileScanTask> |
files()
Return the
tasks in this combined task. |
int |
filesCount()
The number of files that will be opened by this scan task.
|
long |
sizeBytes()
The number of bytes that should be read by this scan task.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCombinedScanTask, tasks
groupingKey
asDataTask, asFileScanTask, isDataTask, isFileScanTask
public BaseCombinedScanTask(FileScanTask... tasks)
public BaseCombinedScanTask(java.util.List<FileScanTask> tasks)
public java.util.Collection<FileScanTask> files()
CombinedScanTask
tasks
in this combined task.files
in interface CombinedScanTask
public long sizeBytes()
ScanTask
sizeBytes
in interface ScanTask
sizeBytes
in interface ScanTaskGroup<FileScanTask>
public long estimatedRowsCount()
ScanTask
estimatedRowsCount
in interface ScanTask
estimatedRowsCount
in interface ScanTaskGroup<FileScanTask>
public int filesCount()
ScanTask
filesCount
in interface ScanTask
filesCount
in interface ScanTaskGroup<FileScanTask>
public java.lang.String toString()
toString
in class java.lang.Object