Class CopyOnWriteStateTableSnapshot<K,N,S>

java.lang.Object
org.apache.flink.runtime.state.heap.CopyOnWriteStateTableSnapshot<K,N,S>
Type Parameters:
K - type of key
N - type of namespace
S - type of state
All Implemented Interfaces:
IterableStateSnapshot<K,N,S>, StateSnapshot, StateSnapshot.StateKeyGroupWriter

@Internal public class CopyOnWriteStateTableSnapshot<K,N,S> extends Object
This class represents the snapshot of a CopyOnWriteStateTable and has a role in operator state checkpointing. This class is also responsible for writing the state in the process of checkpointing.
  • Field Details

    • owningStateTable

      protected final StateTable<K,N,S> owningStateTable
      The StateTable from which this snapshot was created.
    • localKeySerializer

      @Nonnull protected final org.apache.flink.api.common.typeutils.TypeSerializer<K> localKeySerializer
      A local duplicate of the table's key serializer.
    • localNamespaceSerializer

      @Nonnull protected final org.apache.flink.api.common.typeutils.TypeSerializer<N> localNamespaceSerializer
      A local duplicate of the table's namespace serializer.
    • localStateSerializer

      @Nonnull protected final org.apache.flink.api.common.typeutils.TypeSerializer<S> localStateSerializer
      A local duplicate of the table's state serializer.
    • stateSnapshotTransformer

      @Nullable protected final StateSnapshotTransformer<S> stateSnapshotTransformer
  • Method Details