Class DummyMap<InputType,OutputType>

java.lang.Object
org.apache.wayang.flink.compiler.criterion.DummyMap<InputType,OutputType>
All Implemented Interfaces:
Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.MapFunction<InputType,OutputType>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<OutputType>

public class DummyMap<InputType,OutputType> extends Object implements org.apache.flink.api.common.functions.MapFunction<InputType,OutputType>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<OutputType>
Class create a that genereta only null as convertion
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • map

      public OutputType map(InputType inputType) throws Exception
      Specified by:
      map in interface org.apache.flink.api.common.functions.MapFunction<InputType,OutputType>
      Throws:
      Exception
    • getProducedType

      public org.apache.flink.api.common.typeinfo.TypeInformation<OutputType> getProducedType()
      Specified by:
      getProducedType in interface org.apache.flink.api.java.typeutils.ResultTypeQueryable<InputType>