Class DummyMap<InputType,​OutputType>

  • All Implemented Interfaces:
    java.io.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 java.lang.Object
    implements org.apache.flink.api.common.functions.MapFunction<InputType,​OutputType>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<OutputType>
    Class create a MapFunction that genereta only null as convertion
    See Also:
    Serialized Form
    • Field Detail

      • inputTypeClass

        public final java.lang.Class<InputType> inputTypeClass
      • outputTypeClass

        public final java.lang.Class<OutputType> outputTypeClass
    • Constructor Detail

      • DummyMap

        public DummyMap​(java.lang.Class<InputType> inputTypeClass,
                        java.lang.Class<OutputType> outputTypeClass)
    • Method Detail

      • map

        public OutputType map​(InputType inputType)
                       throws java.lang.Exception
        Specified by:
        map in interface org.apache.flink.api.common.functions.MapFunction<InputType,​OutputType>
        Throws:
        java.lang.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>