@Internal
public interface TransformationSinkProvider
extends org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider
Transformation as a runtime implementation for DynamicTableSink.
Note: This provider is only meant for advanced connector developers. Usually, a sink should
consist of a single entity expressed via OutputFormatProvider, SinkFunctionProvider, or SinkProvider.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TransformationSinkProvider.Context
Context for
createTransformation(Context). |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.dag.Transformation<?> |
createTransformation(TransformationSinkProvider.Context context)
Creates a transformation for transforming the input provided in the context.
|
org.apache.flink.api.dag.Transformation<?> createTransformation(TransformationSinkProvider.Context context)
Note: If the CompiledPlan feature 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 with ProviderContext.generateUid(String).
Transformation.setUid(String)Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.