Class ReduceOperator<IN>

    • Constructor Detail

      • ReduceOperator

        public ReduceOperator​(DataSet<IN> input,
                              org.apache.flink.api.common.functions.ReduceFunction<IN> function,
                              String defaultName)
        Deprecated.
        This is the case for a reduce-all case (in contrast to the reduce-per-group case).
        Parameters:
        input -
        function -
      • ReduceOperator

        public ReduceOperator​(Grouping<IN> input,
                              org.apache.flink.api.common.functions.ReduceFunction<IN> function,
                              String defaultName)
        Deprecated.
    • Method Detail

      • translateToDataFlow

        protected org.apache.flink.api.common.operators.SingleInputOperator<?,​IN,​?> translateToDataFlow​(org.apache.flink.api.common.operators.Operator<IN> input)
        Deprecated.
        Description copied from class: SingleInputOperator
        Translates this operation to a data flow operator of the common data flow API.
        Specified by:
        translateToDataFlow in class SingleInputOperator<IN,​IN,​ReduceOperator<IN>>
        Parameters:
        input - The data flow operator that produces this operation's input data.
        Returns:
        The translated data flow operator.
      • setCombineHint

        @PublicEvolving
        public ReduceOperator<IN> setCombineHint​(org.apache.flink.api.common.operators.base.ReduceOperatorBase.CombineHint strategy)
        Deprecated.
        Sets the strategy to use for the combine phase of the reduce.

        If this method is not called, then the default hint will be used. (ReduceOperatorBase.CombineHint.OPTIMIZER_CHOOSES)

        Parameters:
        strategy - The hint to use.
        Returns:
        The ReduceOperator object, for function call chaining.