Class RichCrossFunction<IN1,​IN2,​OUT>

    • Constructor Detail

      • RichCrossFunction

        public RichCrossFunction()
    • Method Detail

      • cross

        public abstract OUT cross​(IN1 first,
                                  IN2 second)
                           throws Exception
        Description copied from interface: CrossFunction
        Cross UDF method. Called once per pair of elements in the Cartesian product of the inputs.
        Specified by:
        cross in interface CrossFunction<IN1,​IN2,​OUT>
        Parameters:
        first - Element from first input.
        second - Element from the second input.
        Returns:
        The result element.
        Throws:
        Exception - The function may throw Exceptions, which will cause the program to cancel, and may trigger the recovery logic.