Class GroupReduceIterator<IN,​OUT>

  • Type Parameters:
    IN -
    OUT -
    All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.GroupReduceFunction<IN,​OUT>, org.apache.flink.api.common.functions.RichFunction

    @Deprecated
    @PublicEvolving
    public abstract class GroupReduceIterator<IN,​OUT>
    extends org.apache.flink.api.common.functions.RichGroupReduceFunction<IN,​OUT>
    Deprecated.
    All Flink DataSet APIs are deprecated since Flink 1.18 and will be removed in a future Flink major version. You can still build your application in DataSet, but you should move to either the DataStream and/or Table API.
    Base class that simplifies reducing all values provided as Iterable.
    See Also:
    FLIP-131: Consolidate the user-facing Dataflow SDKs/APIs (and deprecate the DataSet API, Serialized Form
    • Constructor Detail

      • GroupReduceIterator

        public GroupReduceIterator()
        Deprecated.
    • Method Detail

      • reduce

        public final void reduce​(Iterable<IN> values,
                                 org.apache.flink.util.Collector<OUT> out)
                          throws Exception
        Deprecated.
        Specified by:
        reduce in interface org.apache.flink.api.common.functions.GroupReduceFunction<IN,​OUT>
        Specified by:
        reduce in class org.apache.flink.api.common.functions.RichGroupReduceFunction<IN,​OUT>
        Throws:
        Exception