| Constructor and Description |
|---|
ScanImpl(StructType snapshotSchema,
StructType readSchema,
Lazy<Tuple2<Protocol,Metadata>> protocolAndMetadata,
CloseableIterator<AddFile> filesIter,
java.util.Optional<Expression> filter,
Path dataPath) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Expression> |
getRemainingFilter()
Get the remaining filter that is not guaranteed to be satisfied for the data Delta Kernel
returns.
|
CloseableIterator<ColumnarBatch> |
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.
|
public ScanImpl(StructType snapshotSchema, StructType readSchema, Lazy<Tuple2<Protocol,Metadata>> protocolAndMetadata, CloseableIterator<AddFile> filesIter, java.util.Optional<Expression> filter, Path dataPath)
public CloseableIterator<ColumnarBatch> 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<Expression> getRemainingFilter()
ScangetRemainingFilter in interface ScanExpression.