Interface Scanner

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
NativeScanner

public interface Scanner extends AutoCloseable
A high level interface for scanning data over dataset.
  • Method Details

    • scanBatches

      ArrowReader scanBatches()
      Read the dataset as a stream of record batches.
      Returns:
      a ArrowReader.
    • scan

      @Deprecated Iterable<? extends ScanTask> scan()
      Deprecated.
      use scanBatches() instead.
      Perform the scan operation.
      Returns:
      a iterable set of ScanTasks. 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