@Internal public class MongoDynamicTableSource extends Object implements org.apache.flink.table.connector.source.ScanTableSource, org.apache.flink.table.connector.source.LookupTableSource, org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown, org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown, org.apache.flink.table.connector.source.abilities.SupportsLimitPushDown
DynamicTableSource for MongoDB.org.apache.flink.table.connector.source.ScanTableSource.ScanContext, org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProviderorg.apache.flink.table.connector.source.LookupTableSource.LookupContext, org.apache.flink.table.connector.source.LookupTableSource.LookupRuntimeProvider| Constructor and Description |
|---|
MongoDynamicTableSource(MongoConnectionOptions connectionOptions,
MongoReadOptions readOptions,
org.apache.flink.table.connector.source.lookup.cache.LookupCache lookupCache,
int lookupMaxRetries,
long lookupRetryIntervalMs,
FilterHandlingPolicy filterHandlingPolicy,
org.apache.flink.table.types.DataType producedDataType) |
| 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,
org.apache.flink.table.types.DataType producedDataType) |
String |
asSummaryString() |
org.apache.flink.table.connector.source.DynamicTableSource |
copy() |
boolean |
equals(Object o) |
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 runtimeProviderContext) |
int |
hashCode() |
boolean |
supportsNestedProjection() |
public MongoDynamicTableSource(MongoConnectionOptions connectionOptions, MongoReadOptions readOptions, @Nullable org.apache.flink.table.connector.source.lookup.cache.LookupCache lookupCache, int lookupMaxRetries, long lookupRetryIntervalMs, FilterHandlingPolicy filterHandlingPolicy, org.apache.flink.table.types.DataType producedDataType)
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.LookupTableSourcepublic org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider getScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext runtimeProviderContext)
getScanRuntimeProvider in interface org.apache.flink.table.connector.source.ScanTableSourcepublic org.apache.flink.table.connector.ChangelogMode getChangelogMode()
getChangelogMode in interface org.apache.flink.table.connector.source.ScanTableSourcepublic org.apache.flink.table.connector.source.DynamicTableSource copy()
copy in interface org.apache.flink.table.connector.source.DynamicTableSourcepublic String asSummaryString()
asSummaryString in interface org.apache.flink.table.connector.source.DynamicTableSourcepublic void applyLimit(long limit)
applyLimit in interface org.apache.flink.table.connector.source.abilities.SupportsLimitPushDownpublic boolean supportsNestedProjection()
supportsNestedProjection in interface org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDownpublic void applyProjection(int[][] projectedFields,
org.apache.flink.table.types.DataType producedDataType)
applyProjection in interface org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDownpublic 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.SupportsFilterPushDownCopyright © 2022–2025 The Apache Software Foundation. All rights reserved.