Class PaginatedScanImpl

Object
io.delta.kernel.internal.PaginatedScanImpl
All Implemented Interfaces:
PaginatedScan, Scan

public class PaginatedScanImpl extends Object implements PaginatedScan
Implementation of PaginatedScan
  • Constructor Details

  • Method Details

    • getRemainingFilter

      public Optional<Predicate> getRemainingFilter()
      Description copied from interface: Scan
      Get the remaining filter that is not guaranteed to be satisfied for the data Delta Kernel returns. This filter is used by Delta Kernel to do data skipping when possible.
      Specified by:
      getRemainingFilter in interface Scan
      Returns:
      the remaining filter as a Predicate.
    • getScanState

      public Row getScanState(Engine engine)
      Description copied from interface: Scan
      Get the scan state associated with the current scan. This state is common across all files in the scan to be read.
      Specified by:
      getScanState in interface Scan
      Parameters:
      engine - Engine instance to use in Delta Kernel.
      Returns:
      Scan state in Row format.
    • getScanFiles

      public PaginatedScanFilesIterator getScanFiles(Engine engine)
      Description copied from interface: PaginatedScan
      Get a paginated iterator of Scan files for the current page.
      Specified by:
      getScanFiles in interface PaginatedScan
      Specified by:
      getScanFiles in interface Scan
      Parameters:
      engine - Engine instance to use in Delta Kernel.
      Returns:
      iterator of FilteredColumnarBatchs for the current page.
      See Also:
    • getScanFiles

      public PaginatedScanFilesIterator getScanFiles(Engine engine, boolean includeStates)