Interface TableSinkFactory<T>
- Type Parameters:
T- type of records that the factory produces
- All Superinterfaces:
TableFactory
Deprecated.
A factory to create configured table sink instances in a batch or stream environment based on
string-based properties. See also
TableFactory for more information.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.Context of table sink creation. -
Method Summary
Modifier and TypeMethodDescriptioncreateTableSink(Map<String, String> properties) Deprecated.TableSinkFactory.Contextcontains more information, and already contains table schema too.createTableSink(ObjectPath tablePath, CatalogTable table) Deprecated.TableSinkFactory.Contextcontains more information, and already contains table schema too.createTableSink(TableSinkFactory.Context context) Deprecated.Creates and configures aTableSinkbased on the givenTableSinkFactory.Context.Methods inherited from interface org.apache.flink.table.legacy.factories.TableFactory
requiredContext, supportedProperties
-
Method Details
-
createTableSink
Deprecated.TableSinkFactory.Contextcontains more information, and already contains table schema too. Please usecreateTableSink(Context)instead.Creates and configures aTableSinkusing the given properties.- Parameters:
properties- normalized properties describing a table sink.- Returns:
- the configured table sink.
-
createTableSink
Deprecated.TableSinkFactory.Contextcontains more information, and already contains table schema too. Please usecreateTableSink(Context)instead.Creates and configures aTableSinkbased on the givenCatalogTableinstance.- Parameters:
tablePath- path of the givenCatalogTabletable-CatalogTableinstance.- Returns:
- the configured table sink.
-
createTableSink
Deprecated.Creates and configures aTableSinkbased on the givenTableSinkFactory.Context.- Parameters:
context- context of this table sink.- Returns:
- the configured table sink.
-
DynamicTableSinkFactory. The new interface consumes internal data structures. See FLIP-95 for more information.