Class OperatorStateCheckpointOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

@PublicEvolving public final class OperatorStateCheckpointOutputStream extends NonClosingCheckpointOutputStream<OperatorStateHandle>
Checkpoint output stream that allows to write raw operator state in a partitioned way.
  • Constructor Details

  • Method Details

    • startNewPartition

      public void startNewPartition() throws IOException
      User code can call this method to signal that it begins to write a new partition of operator state. Each previously written partition is considered final/immutable as soon as this method is called again.
      Throws:
      IOException
    • getNumberOfPartitions

      public int getNumberOfPartitions()