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(TableSchema schema,
CoreOptions options,
SnapshotReader snapshotReader,
SnapshotManager snapshotManager,
ChangelogManager changelogManager,
boolean supportStreamingReadOverwrite,
LookupFileStoreTable.LookupStreamScanMode lookupScanMode,
TableQueryAuth queryAuth,
boolean hasPk) |
Modifier and Type | Method and Description |
---|---|
protected void |
authQuery() |
protected BoundedChecker |
createBoundedChecker() |
static StartingScanner |
createCreationTimestampStartingScanner(SnapshotManager snapshotManager,
ChangelogManager changelogManager,
long creationMillis,
boolean changelogDecoupled,
boolean isStreaming) |
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 |
withMetricRegistry(MetricRegistry metricsRegistry)
Set
MetricRegistry to table scan. |
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) |
InnerTableScan |
withReadType(RowType readType) |
checkpoint, listPartitionEntries, notifyCheckpointComplete, plan, restore, restore, startingContext, watermark, withFilter, withShard
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dropStats, withBucket, withBucketFilter, withLevelFilter, withLimit, withMetricRegistry, withPartitionFilter, withPartitionFilter, withPartitionsFilter, withReadType
listPartitions
protected final SnapshotReader snapshotReader
public LookupDataTableScan(TableSchema schema, CoreOptions options, SnapshotReader snapshotReader, SnapshotManager snapshotManager, ChangelogManager changelogManager, boolean supportStreamingReadOverwrite, LookupFileStoreTable.LookupStreamScanMode lookupScanMode, TableQueryAuth queryAuth, boolean hasPk)
@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
public org.apache.paimon.table.source.AbstractDataTableScan withBucket(int bucket)
withBucket
in interface InnerTableScan
public org.apache.paimon.table.source.AbstractDataTableScan withBucketFilter(Filter<Integer> bucketFilter)
withBucketFilter
in interface InnerTableScan
public InnerTableScan withReadType(@Nullable RowType readType)
withReadType
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 withMetricRegistry(MetricRegistry metricsRegistry)
TableScan
MetricRegistry
to table scan.withMetricRegistry
in interface InnerTableScan
withMetricRegistry
in interface TableScan
protected void authQuery()
public org.apache.paimon.table.source.AbstractDataTableScan dropStats()
dropStats
in interface InnerTableScan
public CoreOptions options()
public static StartingScanner createCreationTimestampStartingScanner(SnapshotManager snapshotManager, ChangelogManager changelogManager, long creationMillis, boolean changelogDecoupled, boolean isStreaming)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.