Package org.apache.flink.table.connector
Interface RuntimeConverter
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
DynamicTableSink.DataStructureConverter,DynamicTableSource.DataStructureConverter
Base interface for converting data during runtime.
Instances of this interface are provided by the planner. They are used for converting between data structures or performing other mapping transformations.
Because runtime converters are Serializable, instances can be directly passed into a
runtime implementation, stored in a member variable, and used when it comes to the execution.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContext for conversions during runtime. -
Method Summary
Modifier and TypeMethodDescriptionvoidopen(RuntimeConverter.Context context) Initializes the converter during runtime.
-
Method Details
-
open
Initializes the converter during runtime.This should be called in the
open()method of a runtime class.
-