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 TypeMethodDescriptionvoid
close()
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:Scanner
Read the dataset as a stream of record batches.- Specified by:
scanBatches
in interfaceScanner
- Returns:
- a
ArrowReader
.
-
scan
Deprecated.Description copied from interface:Scanner
Perform the scan operation. -
schema
Description copied from interface:Scanner
Get the schema of this Scanner. -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-