public class RichTableSource extends BaseTableSource implements org.apache.flink.table.connector.source.LookupTableSource, org.apache.flink.table.connector.source.abilities.SupportsWatermarkPushDown, org.apache.flink.table.connector.source.abilities.SupportsStatisticReport, org.apache.flink.table.connector.source.abilities.SupportsDynamicFiltering
BaseTableSource
with lookup, watermark, statistic and dynamic filtering.org.apache.flink.table.connector.source.LookupTableSource.LookupContext, org.apache.flink.table.connector.source.LookupTableSource.LookupRuntimeProvider
Constructor and Description |
---|
RichTableSource(FlinkTableSource source) |
Modifier and Type | Method and Description |
---|---|
void |
applyDynamicFiltering(List<String> candidateFilterFields) |
void |
applyWatermark(org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy) |
RichTableSource |
copy() |
org.apache.flink.table.connector.source.LookupTableSource.LookupRuntimeProvider |
getLookupRuntimeProvider(org.apache.flink.table.connector.source.LookupTableSource.LookupContext context) |
List<String> |
listAcceptedFilterFields() |
org.apache.flink.table.plan.stats.TableStats |
reportStatistics() |
asSummaryString, getChangelogMode, getScanRuntimeProvider
public RichTableSource(FlinkTableSource source)
public RichTableSource copy()
copy
in interface org.apache.flink.table.connector.source.DynamicTableSource
public org.apache.flink.table.connector.source.LookupTableSource.LookupRuntimeProvider getLookupRuntimeProvider(org.apache.flink.table.connector.source.LookupTableSource.LookupContext context)
getLookupRuntimeProvider
in interface org.apache.flink.table.connector.source.LookupTableSource
public void applyWatermark(org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy)
applyWatermark
in interface org.apache.flink.table.connector.source.abilities.SupportsWatermarkPushDown
public org.apache.flink.table.plan.stats.TableStats reportStatistics()
reportStatistics
in interface org.apache.flink.table.connector.source.abilities.SupportsStatisticReport
public List<String> listAcceptedFilterFields()
listAcceptedFilterFields
in interface org.apache.flink.table.connector.source.abilities.SupportsDynamicFiltering
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.