public class DataTableSource extends FlinkTableSource
StaticFileStoreSource or ContinuousFileStoreSource under
 batch mode or change-tracking is disabled. For streaming mode with change-tracking enabled and
 FULL scan mode, it will create a HybridSource of LogHybridSourceFactory.FlinkHybridFirstSource and kafka log source created by LogSourceProvider.FlinkTableSource.SplitStatisticsFLINK_INFER_SCAN_PARALLELISM, limit, predicate, projectFields, splitStatistics, table| Constructor and Description | 
|---|
DataTableSource(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
               Table table,
               boolean streaming,
               org.apache.flink.table.factories.DynamicTableFactory.Context context,
               LogStoreTableFactory logStoreTableFactory)  | 
DataTableSource(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
               Table table,
               boolean streaming,
               org.apache.flink.table.factories.DynamicTableFactory.Context context,
               LogStoreTableFactory logStoreTableFactory,
               Predicate predicate,
               int[][] projectFields,
               Long limit,
               org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy,
               List<String> dynamicPartitionFilteringFields)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
applyDynamicFiltering(List<String> candidateFilterFields)  | 
String | 
asSummaryString()  | 
DataTableSource | 
copy()  | 
org.apache.flink.table.connector.ChangelogMode | 
getChangelogMode()  | 
org.apache.flink.table.connector.source.LookupTableSource.LookupRuntimeProvider | 
getLookupRuntimeProvider(org.apache.flink.table.connector.source.LookupTableSource.LookupContext context)  | 
org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider | 
getScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext scanContext)  | 
boolean | 
isStreaming()  | 
List<String> | 
listAcceptedFilterFields()  | 
void | 
pushWatermark(org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy)  | 
org.apache.flink.table.plan.stats.TableStats | 
reportStatistics()  | 
getTable, inferSourceParallelism, pushFilters, pushLimit, pushProjection, scanSplitsForInferencepublic DataTableSource(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
                       Table table,
                       boolean streaming,
                       org.apache.flink.table.factories.DynamicTableFactory.Context context,
                       @Nullable
                       LogStoreTableFactory logStoreTableFactory)
public DataTableSource(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
                       Table table,
                       boolean streaming,
                       org.apache.flink.table.factories.DynamicTableFactory.Context context,
                       @Nullable
                       LogStoreTableFactory logStoreTableFactory,
                       @Nullable
                       Predicate predicate,
                       @Nullable
                       int[][] projectFields,
                       @Nullable
                       Long limit,
                       @Nullable
                       org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy,
                       @Nullable
                       List<String> dynamicPartitionFilteringFields)
public org.apache.flink.table.connector.ChangelogMode getChangelogMode()
getChangelogMode in class FlinkTableSourcepublic org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider getScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext scanContext)
getScanRuntimeProvider in class FlinkTableSourcepublic DataTableSource copy()
copy in class FlinkTableSourcepublic void pushWatermark(org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy)
pushWatermark in class FlinkTableSourcepublic org.apache.flink.table.connector.source.LookupTableSource.LookupRuntimeProvider getLookupRuntimeProvider(org.apache.flink.table.connector.source.LookupTableSource.LookupContext context)
getLookupRuntimeProvider in class FlinkTableSourcepublic org.apache.flink.table.plan.stats.TableStats reportStatistics()
reportStatistics in class FlinkTableSourcepublic String asSummaryString()
asSummaryString in class FlinkTableSourcepublic List<String> listAcceptedFilterFields()
listAcceptedFilterFields in class FlinkTableSourcepublic void applyDynamicFiltering(List<String> candidateFilterFields)
applyDynamicFiltering in class FlinkTableSourcepublic boolean isStreaming()
isStreaming in class FlinkTableSourceCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.