Class GroupReduceOperator<IN,​OUT>

    • Constructor Detail

      • GroupReduceOperator

        public GroupReduceOperator​(DataSet<IN> input,
                                   org.apache.flink.api.common.typeinfo.TypeInformation<OUT> resultType,
                                   org.apache.flink.api.common.functions.GroupReduceFunction<IN,​OUT> function,
                                   String defaultName)
        Deprecated.
        Constructor for a non-grouped reduce (all reduce).
        Parameters:
        input - The input data set to the groupReduce function.
        function - The user-defined GroupReduce function.
      • GroupReduceOperator

        public GroupReduceOperator​(Grouping<IN> input,
                                   org.apache.flink.api.common.typeinfo.TypeInformation<OUT> resultType,
                                   org.apache.flink.api.common.functions.GroupReduceFunction<IN,​OUT> function,
                                   String defaultName)
        Deprecated.
        Constructor for a grouped reduce.
        Parameters:
        input - The grouped input to be processed group-wise by the groupReduce function.
        function - The user-defined GroupReduce function.