Class InternalListState<K,V>
- java.lang.Object
-
- org.apache.flink.runtime.state.v2.InternalKeyedState<K,V>
-
- org.apache.flink.runtime.state.v2.InternalListState<K,V>
-
- Type Parameters:
K- The type of key the state is associated to.V- The type of values kept internally in state.
- All Implemented Interfaces:
org.apache.flink.api.common.state.v2.AppendingState<V,org.apache.flink.api.common.state.v2.StateIterator<V>>,org.apache.flink.api.common.state.v2.ListState<V>,org.apache.flink.api.common.state.v2.MergingState<V,org.apache.flink.api.common.state.v2.StateIterator<V>>,org.apache.flink.api.common.state.v2.State
public class InternalListState<K,V> extends InternalKeyedState<K,V> implements org.apache.flink.api.common.state.v2.ListState<V>
A default implementation ofListStatewhich delegates all async requests toStateRequestHandler.
-
-
Constructor Summary
Constructors Constructor Description InternalListState(StateRequestHandler stateRequestHandler, ListStateDescriptor<V> stateDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.api.common.state.v2.StateFuture<Void>asyncAdd(V value)org.apache.flink.api.common.state.v2.StateFuture<Void>asyncAddAll(List<V> values)org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<V>>asyncGet()org.apache.flink.api.common.state.v2.StateFuture<Void>asyncUpdate(List<V> values)-
Methods inherited from class org.apache.flink.runtime.state.v2.InternalKeyedState
asyncClear, getStateDescriptor, getValueSerializer, handleRequest
-
-
-
-
Constructor Detail
-
InternalListState
public InternalListState(StateRequestHandler stateRequestHandler, ListStateDescriptor<V> stateDescriptor)
-
-
Method Detail
-
asyncGet
public org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<V>> asyncGet()
-
asyncUpdate
public org.apache.flink.api.common.state.v2.StateFuture<Void> asyncUpdate(List<V> values)
- Specified by:
asyncUpdatein interfaceorg.apache.flink.api.common.state.v2.ListState<K>
-
-