Package org.apache.flink.table.connector
Interface ProviderContext
@PublicEvolving
public interface ProviderContext
Context provided by some
ScanTableSource.ScanRuntimeProvider and DynamicTableSink.SinkRuntimeProvider with
utilities for generating the runtime implementation.-
Method Summary
Modifier and TypeMethodDescriptiongenerateUid(String name) Generates a new unique identifier for aTransformation/DataStreamoperator.
-
Method Details
-
generateUid
Generates a new unique identifier for aTransformation/DataStreamoperator. Thenamemust 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.
-