Class CollectSinkOperator<IN>

    • Constructor Detail

      • CollectSinkOperator

        public CollectSinkOperator​(org.apache.flink.api.common.typeutils.TypeSerializer<IN> serializer,
                                   long maxBytesPerBatch,
                                   String accumulatorName)
    • Method Detail

      • handleOperatorEvent

        public void handleOperatorEvent​(org.apache.flink.runtime.operators.coordination.OperatorEvent evt)
        Specified by:
        handleOperatorEvent in interface org.apache.flink.runtime.operators.coordination.OperatorEventHandler
      • close

        public void close()
                   throws Exception
        Description copied from interface: StreamOperator
        This method is called at the very end of the operator's life, both in the case of a successful completion of the operation, and in the case of a failure and canceling.

        This method is expected to make a thorough effort to release all resources that the operator has acquired.

        NOTE:It can not emit any records! If you need to emit records at the end of processing, do so in the StreamOperator.finish() method.

        Specified by:
        close in interface StreamOperator<IN>
        Overrides:
        close in class AbstractUdfStreamOperator<Object,​SinkFunction<IN>>
        Throws:
        Exception
      • getOperatorIdFuture

        public CompletableFuture<org.apache.flink.runtime.jobgraph.OperatorID> getOperatorIdFuture()