Interface State
-
- All Known Subinterfaces:
AggregatingState<IN,OUT>
,AppendingState<IN,OUT>
,BackendWritableBroadcastState<K,V>
,BroadcastState<K,V>
,InternalAggregatingState<K,N,IN,SV,OUT>
,InternalAppendingState<K,N,IN,SV,OUT>
,InternalKvState<K,N,V>
,InternalListState<K,N,T>
,InternalMapState<K,N,UK,UV>
,InternalMergingState<K,N,IN,SV,OUT>
,InternalReducingState<K,N,T>
,InternalValueState<K,N,T>
,ListState<T>
,MapState<UK,UV>
,MergingState<IN,OUT>
,ReadOnlyBroadcastState<K,V>
,ReducingState<T>
,ValueState<T>
- All Known Implementing Classes:
AbstractForStSyncState
,AbstractHeapState
,AbstractRocksDBState
,HeapBroadcastState
,ImmutableAggregatingState
,ImmutableListState
,ImmutableMapState
,ImmutableReducingState
,ImmutableValueState
,PartitionableListState
,SimpleVersionedListState
@PublicEvolving public interface State
Interface that different types of partitioned state must implement.The state is only accessible by functions applied on a
KeyedStream
. The key is automatically supplied by the system, so the function always sees the value mapped to the key of the current element. That way, the system can handle stream and state partitioning consistently together.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Removes the value mapped under the current key.
-