Package org.apache.flink.runtime.state.heap
package org.apache.flink.runtime.state.heap
This package contains the classes for key/value state backends that store the state on the JVM
heap as objects.
-
ClassDescriptionAbstract base class for heap (object array) based implementations of priority queues, with support for fast deletes via
HeapPriorityQueueElement.Abstract base class forHeapPriorityQueueElement.AbstractHeapState<K,N, SV> Base class for partitionedStateimplementations that are backed by a regular heap hash map.CopyOnWriteStateMap<K,N, S> Implementation of Flink's in-memory state maps with copy-on-write support.One entry in theCopyOnWriteStateMap.CopyOnWriteStateMapSnapshot<K,N, S> This class represents the snapshot of aCopyOnWriteStateMap.CopyOnWriteStateTable<K,N, S> This implementation ofStateTableusesCopyOnWriteStateMap.This class represents the snapshot of aCopyOnWriteStateTableand has a role in operator state checkpointing.AAbstractKeyedStateBackendthat keeps state on the Java Heap and will serialize state to streams provided by aCheckpointStreamFactoryupon checkpointing.Builder class forHeapKeyedStateBackendwhich handles all necessary initializations and clean ups.AKeyValueStateIteratorover Heap backend snapshot resources.HeapPriorityQueue<T extends HeapPriorityQueueElement>Basic heap-based priority queue forHeapPriorityQueueElementobjects.Interface for objects that can be managed by aHeapPriorityQueue.HeapPriorityQueueSet<T extends HeapPriorityQueueElement>A heap-based priority queue with set semantics, based onHeapPriorityQueue.Factory forHeapPriorityQueueSet.This wrapper combines a HeapPriorityQueue with backend meta data.This class represents the snapshot of anHeapPriorityQueueSet.Implementation of heap restore operation.Implementation of heap savepoint restore operation.KeyGroupPartitionedPriorityQueue<T,PQ extends InternalPriorityQueue<T> & HeapPriorityQueueElement> This implementation ofInternalPriorityQueueis internally partitioned into sub-queues per key-group and essentially works as a heap-of-heaps.KeyGroupPartitionedPriorityQueue.PartitionQueueSetFactory<T,PQS extends InternalPriorityQueue<T> & HeapPriorityQueueElement> Factory that produces the sub-queues that represent the partitions of aKeyGroupPartitionedPriorityQueue.StateMap<K,N, S> Base class for state maps.StateMapSnapshot<K,N, S, T extends StateMap<K, N, S>> Base class for snapshots of aStateMap.StateTable<K,N, S> Base class for state tables.This class provides a static factory method to create different implementations ofStateSnapshotKeyGroupReaderdepending on the provided serialization format version.