Package org.apache.flink.runtime.state
Interface StateEntry<K,N,S>
-
- Type Parameters:
K
- type of key.N
- type of namespace.S
- type of state.
- All Known Implementing Classes:
CopyOnWriteStateMap.StateMapEntry
,StateEntry.SimpleStateEntry
public interface StateEntry<K,N,S>
Interface of entries in a state backend. Entries are triple of key, namespace, and state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StateEntry.SimpleStateEntry<K,N,S>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StateEntry<K,N,S>
filterOrTransform(StateSnapshotTransformer<S> transformer)
K
getKey()
Returns the key of this entry.N
getNamespace()
Returns the namespace of this entry.S
getState()
Returns the state of this entry.
-
-
-
Method Detail
-
getKey
K getKey()
Returns the key of this entry.
-
getNamespace
N getNamespace()
Returns the namespace of this entry.
-
getState
S getState()
Returns the state of this entry.
-
filterOrTransform
default StateEntry<K,N,S> filterOrTransform(StateSnapshotTransformer<S> transformer)
-
-