public abstract class FlinkTableSource extends Object implements org.apache.flink.table.connector.source.ScanTableSource, org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown, org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown, org.apache.flink.table.connector.source.abilities.SupportsLimitPushDown
ScanTableSource
for paimon.Modifier and Type | Class and Description |
---|---|
protected static class |
FlinkTableSource.SplitStatistics
Split statistics for inferring row count and parallelism size.
|
org.apache.flink.table.connector.source.ScanTableSource.ScanContext, org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider
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 |
---|---|
org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown.Result |
applyFilters(List<org.apache.flink.table.expressions.ResolvedExpression> filters) |
void |
applyLimit(long limit) |
void |
applyProjection(int[][] projectedFields) |
Table |
getTable() |
protected Integer |
inferSourceParallelism(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env) |
abstract boolean |
isStreaming() |
protected void |
scanSplitsForInference() |
boolean |
supportsNestedProjection() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChangelogMode, getScanRuntimeProvider
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 org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown.Result applyFilters(List<org.apache.flink.table.expressions.ResolvedExpression> filters)
applyFilters
in interface org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown
public boolean supportsNestedProjection()
supportsNestedProjection
in interface org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown
public void applyProjection(int[][] projectedFields)
applyProjection
in interface org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown
public void applyLimit(long limit)
applyLimit
in interface org.apache.flink.table.connector.source.abilities.SupportsLimitPushDown
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.