Class RichMapFunction<IN,​OUT>

    • Constructor Detail

      • RichMapFunction

        public RichMapFunction()
    • Method Detail

      • map

        public abstract OUT map​(IN value)
                         throws Exception
        Description copied from interface: MapFunction
        The mapping method. Takes an element from the input data set and transforms it into exactly one element.
        Specified by:
        map in interface MapFunction<IN,​OUT>
        Parameters:
        value - The input value.
        Returns:
        The transformed value
        Throws:
        Exception - This method may throw exceptions. Throwing an exception will cause the operation to fail and may trigger recovery.