java.lang.Object
org.apache.arrow.dataset.jni.NativeScanner
- All Implemented Interfaces:
AutoCloseable,Scanner
Native implementation of
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.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Iterable<? extends NativeScanTask>scan()Deprecated.Read the dataset as a stream of record batches.schema()Get the schema of this Scanner.
-
Constructor Details
-
NativeScanner
-
-
Method Details
-
scanBatches
Description copied from interface:ScannerRead the dataset as a stream of record batches.- Specified by:
scanBatchesin interfaceScanner- Returns:
- a
ArrowReader.
-
scan
Deprecated.Description copied from interface:ScannerPerform the scan operation. -
schema
Description copied from interface:ScannerGet the schema of this Scanner. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-