Interface DynamicTableSink.DataStructureConverter

All Superinterfaces:
RuntimeConverter, Serializable
Enclosing interface:
DynamicTableSink

@PublicEvolving public static interface DynamicTableSink.DataStructureConverter extends RuntimeConverter
Converter for mapping between Flink's internal data structures and objects specified by the given DataType that can be passed into a runtime implementation.

For example, RowData and its fields can be converted into a Row, or the internal representation for structured types can be converted back into the original (possibly nested) POJO.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.table.connector.RuntimeConverter

    RuntimeConverter.Context
  • Method Summary

    Modifier and Type
    Method
    Description
    toExternal(Object internalStructure)
    Converts the given internal structure into an external object.

    Methods inherited from interface org.apache.flink.table.connector.RuntimeConverter

    open
  • Method Details

    • toExternal

      @Nullable Object toExternal(@Nullable Object internalStructure)
      Converts the given internal structure into an external object.