Class BatchPartitionCommitterSink

  • All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.RichFunction, org.apache.flink.streaming.api.functions.sink.legacy.SinkFunction<CompactMessages.CompactOutput>

    public class BatchPartitionCommitterSink
    extends org.apache.flink.streaming.api.functions.sink.legacy.RichSinkFunction<CompactMessages.CompactOutput>
    Committer operator for partition in batch mode. This is the single (non-parallel) task. It collects all the partition information including partition and written files send from upstream.
    See Also:
    Serialized Form
    • Method Detail

      • open

        public void open​(org.apache.flink.api.common.functions.OpenContext openContext)
                  throws Exception
        Specified by:
        open in interface org.apache.flink.api.common.functions.RichFunction
        Overrides:
        open in class org.apache.flink.api.common.functions.AbstractRichFunction
        Throws:
        Exception
      • close

        public void close()
                   throws Exception
        Specified by:
        close in interface org.apache.flink.api.common.functions.RichFunction
        Overrides:
        close in class org.apache.flink.api.common.functions.AbstractRichFunction
        Throws:
        Exception