public class NativeScanTask extends Object implements ScanTask
ScanTask. Currently RecordBatches are iterated directly by the scanner
id via JniWrapper, thus we allow only one-time execution of method execute(). If a re-scan
operation is expected, call NativeDataset.newScan(org.apache.arrow.dataset.scanner.ScanOptions) to create a new scanner instance.ScanTask.BatchIterator| Constructor and Description |
|---|
NativeScanTask(NativeScanner scanner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ScanTask.BatchIterator |
execute()
Creates and returns a
ScanTask.BatchIterator instance. |
public NativeScanTask(NativeScanner scanner)
public ScanTask.BatchIterator execute()
ScanTaskScanTask.BatchIterator instance.public void close()
close in interface AutoCloseableCopyright © 2021 The Apache Software Foundation. All rights reserved.