public class NativeScanner extends Object implements Scanner
Scanner. Note that it currently emits only a single scan task of type
NativeScanTask, which is internally a combination of all scan task instances returned by the
native scanner.| Modifier and Type | Class and Description |
|---|---|
class |
NativeScanner.NativeReader
ArrowReader implementation for NativeDataset. |
| Constructor and Description |
|---|
NativeScanner(NativeContext context,
long scannerId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Iterable<? extends NativeScanTask> |
scan()
Deprecated.
|
ArrowReader |
scanBatches()
Read the dataset as a stream of record batches.
|
Schema |
schema()
Get the schema of this Scanner.
|
public NativeScanner(NativeContext context, long scannerId)
public ArrowReader scanBatches()
ScannerscanBatches in interface ScannerArrowReader.@Deprecated public Iterable<? extends NativeScanTask> scan()
Scannerpublic Schema schema()
Scannerpublic void close()
close in interface AutoCloseableCopyright © 2023 The Apache Software Foundation. All rights reserved.