Interface SinkFunctionProvider
-
- All Superinterfaces:
DynamicTableSink.SinkRuntimeProvider
,ParallelismProvider
@Internal public interface SinkFunctionProvider extends DynamicTableSink.SinkRuntimeProvider, ParallelismProvider
Deprecated.This interface is based on theSinkFunction
API, which is due to be removed. UseSinkV2Provider
instead.Provider of aSinkFunction
instance as a runtime implementation forDynamicTableSink
.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SinkFunction<RowData>
createSinkFunction()
Deprecated.Creates aSinkFunction
instance.static SinkFunctionProvider
of(SinkFunction<RowData> sinkFunction)
Deprecated.Helper method for creating a static provider.static SinkFunctionProvider
of(SinkFunction<RowData> sinkFunction, Integer sinkParallelism)
Deprecated.Helper method for creating a SinkFunction provider with a provided sink parallelism.-
Methods inherited from interface org.apache.flink.table.connector.ParallelismProvider
getParallelism
-
-
-
-
Method Detail
-
of
static SinkFunctionProvider of(SinkFunction<RowData> sinkFunction)
Deprecated.Helper method for creating a static provider.
-
of
static SinkFunctionProvider of(SinkFunction<RowData> sinkFunction, @Nullable Integer sinkParallelism)
Deprecated.Helper method for creating a SinkFunction provider with a provided sink parallelism.
-
createSinkFunction
SinkFunction<RowData> createSinkFunction()
Deprecated.Creates aSinkFunction
instance.
-
-