Package org.apache.flink.api.common.state
-
Interface Summary Interface Description AggregatingState<IN,OUT> Stateinterface for aggregating state, based on anAggregateFunction.AggregatingStateDeclaration<IN,ACC,OUT> This represents a declaration of the aggregating state.AppendingState<IN,OUT> Base interface for partitioned state that supports adding elements and inspecting the current state.BroadcastState<K,V> A type of state that can be created to store the state of aBroadcastStream.BroadcastStateDeclaration<K,V> This represents a declaration of the broadcast state.ListState<T> Stateinterface for partitioned list state in Operations.ListStateDeclaration<T> This represents a declaration of the list state.MapState<UK,UV> Stateinterface for partitioned key-value state.MapStateDeclaration<K,V> This represents a declaration of the map state.MergingState<IN,OUT> Extension ofAppendingStatethat allows merging of state.ReadOnlyBroadcastState<K,V> A read-only view of theBroadcastState.ReducingState<T> Stateinterface for reducing state.ReducingStateDeclaration<T> This represents a declaration of the reducing state.State Interface that different types of partitioned state must implement.StateDeclaration StateDeclarationrepresents a declaration of the specific state used.ValueState<T> Stateinterface for partitioned single-value state.ValueStateDeclaration<T> This represents a declaration of the value state. -
Class Summary Class Description StateDeclarations This is a helper class for declaring various states.StateDeclarations.AggregatingStateDeclarationBuilder<IN,OUT,ACC> Builder forAggregatingStateDeclaration.StateDeclarations.ListStateDeclarationBuilder<T> Builder forListStateDeclaration.StateDeclarations.MapStateDeclarationBuilder<K,V> Builder forMapStateDeclaration.StateDeclarations.ReducingStateDeclarationBuilder<T> Builder forReducingStateDeclaration.StateDeclarations.ValueStateDeclarationBuilder<T> Builder forValueStateDeclaration. -
Enum Summary Enum Description ListStateDeclaration.RedistributionStrategy ListStateDeclaration.RedistributionStrategyis used to guide the assignment of states during rescaling.StateDeclaration.RedistributionMode StateDeclaration.RedistributionModeis used to indicate whether this state supports redistribution between partitions and how to redistribute this state during rescaling. -
Exception Summary Exception Description IllegalRedistributionModeException A specialIllegalStateExceptionindicating a mismatch inStateDeclaration.