Modifier and Type | Method and Description |
---|---|
Scan |
build() |
ScanBuilder |
withFilter(Engine engine,
Predicate predicate)
Apply the given filter expression to prune any files that do not contain data satisfying
the given filter.
|
ScanBuilder |
withReadSchema(Engine engine,
StructType readSchema)
Apply the given readSchema.
|
ScanBuilder withFilter(Engine engine, Predicate predicate)
engine
- Engine
instance to use in Delta Kernel.predicate
- a Predicate
to prune the metadata or data.ScanBuilder
with filter applied.ScanBuilder withReadSchema(Engine engine, StructType readSchema)
engine
- Engine
instance to use in Delta Kernel.readSchema
- Subset of columns to read from the Delta table.ScanBuilder
with projection pruning.