Interface DynamicTableFactory
- All Superinterfaces:
Factory
- All Known Subinterfaces:
DynamicTableSinkFactory,DynamicTableSourceFactory
Dynamic tables are the core concept of Flink's Table & SQL API for processing both bounded and unbounded data in a unified fashion.
Implement DynamicTableSourceFactory for constructing a DynamicTableSource.
Implement DynamicTableSinkFactory for constructing a DynamicTableSink.
The options FactoryUtil.PROPERTY_VERSION and FactoryUtil.CONNECTOR are
implicitly added and must not be declared.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceProvides catalog and session information describing the dynamic table to be accessed. -
Method Summary
Modifier and TypeMethodDescriptiondefault Set<org.apache.flink.configuration.ConfigOption<?>>Returns a set ofConfigOptionthat are directly forwarded to the runtime implementation but don't affect the final execution topology.Methods inherited from interface org.apache.flink.table.factories.Factory
factoryIdentifier, optionalOptions, requiredOptions
-
Method Details
-
forwardOptions
Returns a set ofConfigOptionthat are directly forwarded to the runtime implementation but don't affect the final execution topology.Options declared here can override options of the persisted plan during an enrichment phase. Since a restored topology is static, an implementer has to ensure that the declared options don't affect fundamental abilities such as
SupportsProjectionPushDownorSupportsFilterPushDown.For example, given a database connector, if an option defines the connection timeout, changing this value does not affect the pipeline topology and can be allowed. However, an option that defines whether the connector supports
SupportsReadingMetadataor not is not allowed. The planner might not react to changed abilities anymore.
-