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