Package org.apache.flink.runtime.state.internal
The internal state classes give access to the namespace getters and setters and access to additional functionality, like raw value access or state merging.
The public API state hierarchy is intended to be programmed against by Flink applications. The internal state hierarchy holds all the auxiliary methods that are used by the runtime and not intended to be used by user applications. These internal methods are considered of limited use to users and only confusing, and are usually not regarded as stable across releases.
Each specific type in the internal state hierarchy extends the type from the public state hierarchy. The following illustrates the relationship between the public- and the internal hierarchy at the example of a subset of the classes:
State | +-------------------InternalKvState | | MergingState | | | +-----------------InternalMergingState | | +--------+------+ | | | | ReducingState ListState +-----+-----------------+ | | | | | +----------- -----------------InternalListState | | +------------------InternalReducingState
-
Interface Summary Interface Description InternalAggregatingState<K,N,IN,SV,OUT> The peer to theAggregatingState
in the internal state type hierarchy.InternalAppendingState<K,N,IN,SV,OUT> The peer to theAppendingState
in the internal state type hierarchy.InternalKvState<K,N,V> TheInternalKvState
is the root of the internal state type hierarchy, similar to theState
being the root of the public API state hierarchy.InternalKvState.StateIncrementalVisitor<K,N,V> The state entry visitor which supports remove and update of the last returned entries.InternalListState<K,N,T> The peer to theListState
in the internal state type hierarchy.InternalMapState<K,N,UK,UV> The peer to theMapState
in the internal state type hierarchy.InternalMergingState<K,N,IN,SV,OUT> The peer to theMergingState
in the internal state type hierarchy.InternalReducingState<K,N,T> The peer to theReducingState
in the internal state type hierarchy.InternalValueState<K,N,T> The peer to theValueState
in the internal state type hierarchy.