public class LookupDataTableScan extends DataTableStreamScan
StreamTableScan
implementation for lookup streaming
planning.TableScan.Plan
Modifier and Type | Field and Description |
---|---|
protected SnapshotReader |
snapshotReader |
Constructor and Description |
---|
LookupDataTableScan(CoreOptions options,
SnapshotReader snapshotReader,
SnapshotManager snapshotManager,
ChangelogManager changelogManager,
boolean supportStreamingReadOverwrite,
DefaultValueAssigner defaultValueAssigner,
LookupFileStoreTable.LookupStreamScanMode lookupScanMode) |
Modifier and Type | Method and Description |
---|---|
protected BoundedChecker |
createBoundedChecker() |
protected FollowUpScanner |
createFollowUpScanner() |
protected StartingScanner |
createStartingScanner(boolean isStreaming) |
org.apache.paimon.table.source.AbstractDataTableScan |
dropStats() |
protected SnapshotReader.Plan |
handleOverwriteSnapshot(Snapshot snapshot) |
CoreOptions |
options() |
org.apache.paimon.table.source.AbstractDataTableScan |
withBucket(int bucket) |
org.apache.paimon.table.source.AbstractDataTableScan |
withBucketFilter(Filter<Integer> bucketFilter) |
org.apache.paimon.table.source.AbstractDataTableScan |
withLevelFilter(Filter<Integer> levelFilter) |
org.apache.paimon.table.source.AbstractDataTableScan |
withMetricsRegistry(MetricRegistry metricsRegistry) |
org.apache.paimon.table.source.AbstractDataTableScan |
withPartitionFilter(List<BinaryRow> partitions) |
org.apache.paimon.table.source.AbstractDataTableScan |
withPartitionFilter(Map<String,String> partitionSpec) |
org.apache.paimon.table.source.AbstractDataTableScan |
withPartitionsFilter(List<Map<String,String>> partitions) |
checkpoint, listPartitionEntries, notifyCheckpointComplete, plan, restore, restore, startingContext, watermark, withFilter, withShard
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dropStats, withBucketFilter, withLevelFilter, withLimit, withMetricsRegistry, withPartitionFilter, withPartitionFilter, withPartitionsFilter
listPartitions
protected final SnapshotReader snapshotReader
public LookupDataTableScan(CoreOptions options, SnapshotReader snapshotReader, SnapshotManager snapshotManager, ChangelogManager changelogManager, boolean supportStreamingReadOverwrite, DefaultValueAssigner defaultValueAssigner, LookupFileStoreTable.LookupStreamScanMode lookupScanMode)
@Nullable protected SnapshotReader.Plan handleOverwriteSnapshot(Snapshot snapshot)
handleOverwriteSnapshot
in class DataTableStreamScan
protected StartingScanner createStartingScanner(boolean isStreaming)
protected FollowUpScanner createFollowUpScanner()
createFollowUpScanner
in class DataTableStreamScan
protected BoundedChecker createBoundedChecker()
createBoundedChecker
in class DataTableStreamScan
@VisibleForTesting public org.apache.paimon.table.source.AbstractDataTableScan withBucket(int bucket)
public org.apache.paimon.table.source.AbstractDataTableScan withBucketFilter(Filter<Integer> bucketFilter)
withBucketFilter
in interface InnerTableScan
public org.apache.paimon.table.source.AbstractDataTableScan withPartitionFilter(Map<String,String> partitionSpec)
withPartitionFilter
in interface InnerTableScan
public org.apache.paimon.table.source.AbstractDataTableScan withPartitionFilter(List<BinaryRow> partitions)
withPartitionFilter
in interface InnerTableScan
public org.apache.paimon.table.source.AbstractDataTableScan withPartitionsFilter(List<Map<String,String>> partitions)
withPartitionsFilter
in interface InnerTableScan
public org.apache.paimon.table.source.AbstractDataTableScan withLevelFilter(Filter<Integer> levelFilter)
withLevelFilter
in interface InnerTableScan
public org.apache.paimon.table.source.AbstractDataTableScan withMetricsRegistry(MetricRegistry metricsRegistry)
withMetricsRegistry
in interface InnerTableScan
public org.apache.paimon.table.source.AbstractDataTableScan dropStats()
dropStats
in interface InnerTableScan
public CoreOptions options()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.