Interface TransformationSinkProvider
-
- All Superinterfaces:
DynamicTableSink.SinkRuntimeProvider
@Internal public interface TransformationSinkProvider extends DynamicTableSink.SinkRuntimeProvider
Provider that produces aTransformationas a runtime implementation forDynamicTableSink.Note: This provider is only meant for advanced connector developers. Usually, a sink should consist of a single entity expressed via
OutputFormatProviderorSinkV2Provider.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTransformationSinkProvider.ContextContext forcreateTransformation(Context).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.flink.api.dag.Transformation<?>createTransformation(TransformationSinkProvider.Context context)Creates a transformation for transforming the input provided in the context.
-
-
-
Method Detail
-
createTransformation
org.apache.flink.api.dag.Transformation<?> createTransformation(TransformationSinkProvider.Context context)
Creates a transformation for transforming the input provided in the context.Note: If the
CompiledPlanfeature should be supported, this method MUST set a unique identifier for each transformation/operator in the data stream. This enables stateful Flink version upgrades for streaming jobs. The identifier is used to map state back from a savepoint to an actual operator in the topology. The framework can generate topology-wide unique identifiers withProviderContext.generateUid(String).- See Also:
Transformation.setUid(String)
-
-