Package org.apache.flink.table.connector
Interface ProviderContext
-
- All Known Subinterfaces:
TransformationSinkProvider.Context
@PublicEvolving public interface ProviderContext
Context provided by someScanTableSource.ScanRuntimeProvider
andDynamicTableSink.SinkRuntimeProvider
with utilities for generating the runtime implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>
generateUid(String name)
Generates a new unique identifier for aTransformation
/DataStream
operator.
-
-
-
Method Detail
-
generateUid
Optional<String> generateUid(String name)
Generates a new unique identifier for aTransformation
/DataStream
operator. Thename
must be unique within the provider implementation. The framework will make sure that the name is unique for the entire topology.This method returns empty if an identifier cannot be generated, i.e., because the job is in batch mode, or UIDs cannot be guaranteed to be unique.
-
-