Package org.apache.flink.table.factories
Interface StreamTableSinkFactory<T>
-
- Type Parameters:
T- type of records that the factory consumes
- All Superinterfaces:
org.apache.flink.table.factories.TableFactory,org.apache.flink.table.factories.TableSinkFactory<T>
- All Known Implementing Classes:
CsvAppendTableSinkFactory,CsvBatchTableSinkFactory
@Deprecated @PublicEvolving public interface StreamTableSinkFactory<T> extends org.apache.flink.table.factories.TableSinkFactory<T>
Deprecated.This interface has been replaced byDynamicTableSinkFactory. The new interface creates instances ofDynamicTableSink. See FLIP-95 for more information.A factory to create configured table sink instances in a streaming environment based on string-based properties. See alsoTableSinkFactoryfor more information.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default StreamTableSink<T>createStreamTableSink(Map<String,String> properties)Deprecated.TableSinkFactory.Contextcontains more information, and already contains table schema too.default org.apache.flink.table.sinks.TableSink<T>createTableSink(Map<String,String> properties)Deprecated.Only create stream table sink.
-
-
-
Method Detail
-
createStreamTableSink
@Deprecated default StreamTableSink<T> createStreamTableSink(Map<String,String> properties)
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.
-
-