| Constructor and Description |
|---|
ScanImpl(StructType snapshotSchema,
StructType readSchema,
Protocol protocol,
Metadata metadata,
LogReplay logReplay,
java.util.Optional<Predicate> filter,
Path dataPath) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Predicate> |
getRemainingFilter()
Get the remaining filter that is not guaranteed to be satisfied for the data Delta Kernel
returns.
|
CloseableIterator<FilteredColumnarBatch> |
getScanFiles(TableClient tableClient)
Get an iterator of data files in this version of scan that survived the predicate pruning.
|
Row |
getScanState(TableClient tableClient)
Get the scan state associated with the current scan.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformPhysicalDatapublic ScanImpl(StructType snapshotSchema, StructType readSchema, Protocol protocol, Metadata metadata, LogReplay logReplay, java.util.Optional<Predicate> filter, Path dataPath)
public CloseableIterator<FilteredColumnarBatch> getScanFiles(TableClient tableClient)
getScanFiles in interface ScantableClient - TableClient instance to use in Delta Kernel.ColumnarBatch batch format. Each row correspond to one survived file.public Row getScanState(TableClient tableClient)
ScangetScanState in interface ScantableClient - TableClient instance to use in Delta Kernel.Row format.public java.util.Optional<Predicate> getRemainingFilter()
ScangetRemainingFilter in interface ScanPredicate.