Class ToExternalMapper

java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.api.common.functions.RichMapFunction<org.apache.flink.table.data.RowData,org.apache.flink.types.Row>
com.here.platform.data.client.flink.impl.ToExternalMapper
All Implemented Interfaces:
Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.MapFunction<org.apache.flink.table.data.RowData,org.apache.flink.types.Row>, org.apache.flink.api.common.functions.RichFunction

public class ToExternalMapper extends org.apache.flink.api.common.functions.RichMapFunction<org.apache.flink.table.data.RowData,org.apache.flink.types.Row>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ToExternalMapper(org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter converter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.types.Row
    map(org.apache.flink.table.data.RowData value)
     
    void
    open(org.apache.flink.api.common.functions.OpenContext openContext)
     

    Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction

    close, getIterationRuntimeContext, getRuntimeContext, setRuntimeContext

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ToExternalMapper

      public ToExternalMapper(org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter converter)
  • Method Details

    • map

      public org.apache.flink.types.Row map(org.apache.flink.table.data.RowData value)
      Specified by:
      map in interface org.apache.flink.api.common.functions.MapFunction<org.apache.flink.table.data.RowData,org.apache.flink.types.Row>
      Specified by:
      map in class org.apache.flink.api.common.functions.RichMapFunction<org.apache.flink.table.data.RowData,org.apache.flink.types.Row>
    • open

      public void open(org.apache.flink.api.common.functions.OpenContext openContext)
      Specified by:
      open in interface org.apache.flink.api.common.functions.RichFunction
      Overrides:
      open in class org.apache.flink.api.common.functions.AbstractRichFunction