public abstract class FlinkTableSource extends Object
ScanTableSource
for paimon.Modifier and Type | Class and Description |
---|---|
protected static class |
FlinkTableSource.SplitStatistics
Split statistics for inferring row count and parallelism size.
|
Modifier and Type | Field and Description |
---|---|
protected static String |
FLINK_INFER_SCAN_PARALLELISM |
protected Long |
limit |
protected Predicate |
predicate |
protected int[][] |
projectFields |
protected FlinkTableSource.SplitStatistics |
splitStatistics |
protected Table |
table |
Constructor and Description |
---|
FlinkTableSource(Table table) |
FlinkTableSource(Table table,
Predicate predicate,
int[][] projectFields,
Long limit) |
Modifier and Type | Method and Description |
---|---|
abstract void |
applyDynamicFiltering(List<String> candidateFilterFields) |
abstract String |
asSummaryString() |
abstract FlinkTableSource |
copy() |
abstract org.apache.flink.table.connector.ChangelogMode |
getChangelogMode() |
abstract org.apache.flink.table.connector.source.LookupTableSource.LookupRuntimeProvider |
getLookupRuntimeProvider(org.apache.flink.table.connector.source.LookupTableSource.LookupContext context) |
abstract org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider |
getScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext scanContext) |
Table |
getTable() |
protected Integer |
inferSourceParallelism(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env) |
abstract boolean |
isStreaming() |
abstract List<String> |
listAcceptedFilterFields() |
List<org.apache.flink.table.expressions.ResolvedExpression> |
pushFilters(List<org.apache.flink.table.expressions.ResolvedExpression> filters) |
void |
pushLimit(long limit) |
void |
pushProjection(int[][] projectedFields) |
abstract void |
pushWatermark(org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy) |
abstract org.apache.flink.table.plan.stats.TableStats |
reportStatistics() |
protected void |
scanSplitsForInference() |
protected static final String FLINK_INFER_SCAN_PARALLELISM
protected final Table table
@Nullable protected int[][] projectFields
protected FlinkTableSource.SplitStatistics splitStatistics
public FlinkTableSource(Table table)
public List<org.apache.flink.table.expressions.ResolvedExpression> pushFilters(List<org.apache.flink.table.expressions.ResolvedExpression> filters)
public void pushProjection(int[][] projectedFields)
public void pushLimit(long limit)
public abstract org.apache.flink.table.connector.ChangelogMode getChangelogMode()
public abstract org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider getScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext scanContext)
public abstract void pushWatermark(org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy)
public abstract org.apache.flink.table.connector.source.LookupTableSource.LookupRuntimeProvider getLookupRuntimeProvider(org.apache.flink.table.connector.source.LookupTableSource.LookupContext context)
public abstract org.apache.flink.table.plan.stats.TableStats reportStatistics()
public abstract FlinkTableSource copy()
public abstract String asSummaryString()
public abstract void applyDynamicFiltering(List<String> candidateFilterFields)
public abstract boolean isStreaming()
@Nullable protected Integer inferSourceParallelism(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env)
protected void scanSplitsForInference()
public Table getTable()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.