Interface TransformationScanProvider
- All Superinterfaces:
org.apache.flink.table.connector.ParallelismProvider,org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider
@Internal
public interface TransformationScanProvider
extends org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider, org.apache.flink.table.connector.ParallelismProvider
Provider that produces a
Transformation as a runtime implementation for ScanTableSource.
Note: This provider is only meant for advanced connector developers. Usually, a source should
consist of a single entity expressed via InputFormatProvider, SourceFunctionProvider, or SourceProvider.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData>createTransformation(org.apache.flink.table.connector.ProviderContext providerContext) Creates aTransformationinstance.Methods inherited from interface org.apache.flink.table.connector.ParallelismProvider
getParallelismMethods inherited from interface org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider
isBounded
-
Method Details
-
createTransformation
org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> createTransformation(org.apache.flink.table.connector.ProviderContext providerContext) Creates aTransformationinstance.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)
-