Package io.delta.kernel.internal
Class PaginatedScanImpl
Object
io.delta.kernel.internal.PaginatedScanImpl
- All Implemented Interfaces:
PaginatedScan,Scan
Implementation of
PaginatedScan-
Constructor Summary
ConstructorsConstructorDescriptionPaginatedScanImpl(ScanImpl baseScan, String tablePath, long tableVersion, long pageSize, LogSegment logSegment, Optional<Predicate> predicate, Optional<Row> pageTokenRowOpt) -
Method Summary
Modifier and TypeMethodDescriptionGet the remaining filter that is not guaranteed to be satisfied for the data Delta Kernel returns.getScanFiles(Engine engine) Get a paginated iterator of Scan files for the current page.getScanFiles(Engine engine, boolean includeStates) getScanState(Engine engine) Get the scan state associated with the current scan.
-
Constructor Details
-
PaginatedScanImpl
-
-
Method Details
-
getRemainingFilter
Description copied from interface:ScanGet 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:
getRemainingFilterin interfaceScan- Returns:
- the remaining filter as a
Predicate.
-
getScanState
Description copied from interface:ScanGet the scan state associated with the current scan. This state is common across all files in the scan to be read.- Specified by:
getScanStatein interfaceScan- Parameters:
engine-Engineinstance to use in Delta Kernel.- Returns:
- Scan state in
Rowformat.
-
getScanFiles
Description copied from interface:PaginatedScanGet a paginated iterator of Scan files for the current page.- Specified by:
getScanFilesin interfacePaginatedScan- Specified by:
getScanFilesin interfaceScan- Parameters:
engine-Engineinstance to use in Delta Kernel.- Returns:
- iterator of
FilteredColumnarBatchs for the current page. - See Also:
-
getScanFiles
-