Interface StreamTableSinkFactory<T>
- Type Parameters:
T- type of records that the factory consumes
- All Superinterfaces:
org.apache.flink.table.legacy.factories.TableFactory,org.apache.flink.table.legacy.factories.TableSinkFactory<T>
- All Known Implementing Classes:
CsvAppendTableSinkFactory,CsvBatchTableSinkFactory
@Deprecated
@Internal
public interface StreamTableSinkFactory<T>
extends org.apache.flink.table.legacy.factories.TableSinkFactory<T>
Deprecated.
A factory to create configured table sink instances in a streaming environment based on
string-based properties. See also
TableSinkFactory for more information.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.legacy.factories.TableSinkFactory
org.apache.flink.table.legacy.factories.TableSinkFactory.Context -
Method Summary
Modifier and TypeMethodDescriptiondefault StreamTableSink<T>createStreamTableSink(Map<String, String> properties) Deprecated.TableSinkFactory.Contextcontains more information, and already contains table schema too.default org.apache.flink.table.legacy.sinks.TableSink<T>createTableSink(Map<String, String> properties) Deprecated.Only create stream table sink.Methods inherited from interface org.apache.flink.table.legacy.factories.TableFactory
requiredContext, supportedPropertiesMethods inherited from interface org.apache.flink.table.legacy.factories.TableSinkFactory
createTableSink, createTableSink
-
Method Details
-
createStreamTableSink
Deprecated.TableSinkFactory.Contextcontains more information, and already contains table schema too. Please useTableSinkFactory.createTableSink(Context)instead.Creates and configures aStreamTableSinkusing the given properties.- Parameters:
properties- normalized properties describing a table sink.- Returns:
- the configured table sink.
-
createTableSink
default org.apache.flink.table.legacy.sinks.TableSink<T> createTableSink(Map<String, String> properties) Deprecated.Only create stream table sink.- Specified by:
createTableSinkin interfaceorg.apache.flink.table.legacy.factories.TableSinkFactory<T>
-
DynamicTableSinkFactory. The new interface creates instances ofDynamicTableSink. See FLIP-95 for more information.