Class StreamGroupedReduceOperator<IN>

    • Constructor Detail

      • StreamGroupedReduceOperator

        public StreamGroupedReduceOperator​(org.apache.flink.api.common.functions.ReduceFunction<IN> reducer,
                                           org.apache.flink.api.common.typeutils.TypeSerializer<IN> serializer)
    • Method Detail

      • open

        public void open()
                  throws Exception
        Description copied from class: AbstractStreamOperator
        This method is called immediately before any elements are processed, it should contain the operator's initialization logic, e.g. state initialization.

        The default implementation does nothing.

        Specified by:
        open in interface StreamOperator<IN>
        Overrides:
        open in class AbstractUdfStreamOperator<IN,​org.apache.flink.api.common.functions.ReduceFunction<IN>>
        Throws:
        Exception - An exception in this method causes the operator to fail.