- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
NativeScanner
A high level interface for scanning data over dataset.
-
Method Summary
Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
scanBatches
ArrowReader scanBatches()Read the dataset as a stream of record batches.- Returns:
- a
ArrowReader
.
-
scan
Deprecated.usescanBatches()
instead.Perform the scan operation.- Returns:
- a iterable set of
ScanTask
s. Each task is considered independent and it is allowed to execute the tasks concurrently to gain better performance.
-
schema
Schema schema()Get the schema of this Scanner.- Returns:
- the schema instance
-
scanBatches()
instead.