public class KeyValueFileStoreScan extends AbstractFileStoreScan
FileStoreScan.PlanscanMode| Constructor and Description |
|---|
KeyValueFileStoreScan(ManifestsReader manifestsReader,
BucketSelectConverter bucketSelectConverter,
SnapshotManager snapshotManager,
SchemaManager schemaManager,
TableSchema schema,
KeyValueFieldsExtractor keyValueFieldsExtractor,
ManifestFile.Factory manifestFileFactory,
Integer scanManifestParallelism,
boolean deletionVectorsEnabled,
CoreOptions.MergeEngine mergeEngine,
CoreOptions.ChangelogProducer changelogProducer,
boolean fileIndexReadEnabled) |
| Modifier and Type | Method and Description |
|---|---|
protected ManifestEntry |
dropStats(ManifestEntry entry) |
FileStoreScan |
enableValueFilter() |
protected boolean |
filterByStats(ManifestEntry entry)
Note: Keep this thread-safe.
|
protected List<ManifestEntry> |
filterWholeBucketByStats(List<ManifestEntry> entries) |
protected boolean |
wholeBucketFilterEnabled() |
KeyValueFileStoreScan |
withKeyFilter(Predicate predicate) |
KeyValueFileStoreScan |
withValueFilter(Predicate predicate) |
dropStats, manifestsReader, onlyReadRealBuckets, parallelism, plan, readBucketEntries, readFileIterator, readManifest, readPartitionEntries, readSimpleEntries, scanTableSchema, withBucket, withBucketFilter, withDataFileNameFilter, withKind, withLevel, withLevelFilter, withManifestCacheFilter, withManifestEntryFilter, withMetrics, withPartitionBucket, withPartitionFilter, withPartitionFilter, withPartitionFilter, withPartitionsFilter, withSnapshot, withSnapshot, withTotalAwareBucketFilterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlistPartitions, totalRecordCountpublic KeyValueFileStoreScan(ManifestsReader manifestsReader, BucketSelectConverter bucketSelectConverter, SnapshotManager snapshotManager, SchemaManager schemaManager, TableSchema schema, KeyValueFieldsExtractor keyValueFieldsExtractor, ManifestFile.Factory manifestFileFactory, Integer scanManifestParallelism, boolean deletionVectorsEnabled, CoreOptions.MergeEngine mergeEngine, CoreOptions.ChangelogProducer changelogProducer, boolean fileIndexReadEnabled)
public KeyValueFileStoreScan withKeyFilter(Predicate predicate)
public KeyValueFileStoreScan withValueFilter(Predicate predicate)
public FileStoreScan enableValueFilter()
enableValueFilter in interface FileStoreScanenableValueFilter in class AbstractFileStoreScanprotected boolean filterByStats(ManifestEntry entry)
filterByStats in class AbstractFileStoreScanprotected ManifestEntry dropStats(ManifestEntry entry)
dropStats in class AbstractFileStoreScanprotected boolean wholeBucketFilterEnabled()
wholeBucketFilterEnabled in class AbstractFileStoreScanprotected List<ManifestEntry> filterWholeBucketByStats(List<ManifestEntry> entries)
filterWholeBucketByStats in class AbstractFileStoreScanCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.