public class KeyValueFileStoreScan extends AbstractFileStoreScan
FileStoreScan.Plan
bucketKeyFilter, scanMode
Constructor and Description |
---|
KeyValueFileStoreScan(RowType partitionType,
ScanBucketFilter bucketFilter,
SnapshotManager snapshotManager,
SchemaManager schemaManager,
TableSchema schema,
KeyValueFieldsExtractor keyValueFieldsExtractor,
ManifestFile.Factory manifestFileFactory,
ManifestList.Factory manifestListFactory,
int numOfBuckets,
boolean checkNumOfBuckets,
Integer scanManifestParallelism,
boolean deletionVectorsEnabled,
CoreOptions.MergeEngine mergeEngine,
CoreOptions.ChangelogProducer changelogProducer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
filterByStats(ManifestEntry entry)
Note: Keep this thread-safe.
|
protected List<ManifestEntry> |
filterWholeBucketByStats(List<ManifestEntry> entries)
Note: Keep this thread-safe.
|
KeyValueFileStoreScan |
withKeyFilter(Predicate predicate) |
KeyValueFileStoreScan |
withValueFilter(Predicate predicate) |
plan, readAndMergeFileEntries, readBucketEntries, readPartitionEntries, readSimpleEntries, scanTableSchema, withBucket, withBucketFilter, withDataFileNameFilter, withKind, withLevelFilter, withManifestCacheFilter, withManifestEntryFilter, withManifestList, withMetrics, withPartitionBucket, withPartitionFilter, withPartitionFilter, withPartitionFilter, withSnapshot, withSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
listPartitions, totalRecordCount
public KeyValueFileStoreScan(RowType partitionType, ScanBucketFilter bucketFilter, SnapshotManager snapshotManager, SchemaManager schemaManager, TableSchema schema, KeyValueFieldsExtractor keyValueFieldsExtractor, ManifestFile.Factory manifestFileFactory, ManifestList.Factory manifestListFactory, int numOfBuckets, boolean checkNumOfBuckets, Integer scanManifestParallelism, boolean deletionVectorsEnabled, CoreOptions.MergeEngine mergeEngine, CoreOptions.ChangelogProducer changelogProducer)
public KeyValueFileStoreScan withKeyFilter(Predicate predicate)
public KeyValueFileStoreScan withValueFilter(Predicate predicate)
protected boolean filterByStats(ManifestEntry entry)
filterByStats
in class AbstractFileStoreScan
protected List<ManifestEntry> filterWholeBucketByStats(List<ManifestEntry> entries)
filterWholeBucketByStats
in class AbstractFileStoreScan
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.