K - The type of key the state is associated to.V - The type of values kept internally in state.public class InternalListState<K,V> extends InternalKeyedState<K,V> implements org.apache.flink.api.common.state.v2.ListState<V>
ListState which delegates all async requests to StateRequestHandler.| Constructor and Description |
|---|
InternalListState(StateRequestHandler stateRequestHandler,
ListStateDescriptor<V> stateDescriptor) |
| Modifier and Type | Method and 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) |
asyncClear, getStateDescriptor, getValueSerializer, handleRequestpublic InternalListState(StateRequestHandler stateRequestHandler, ListStateDescriptor<V> stateDescriptor)
public org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<V>> asyncGet()
public org.apache.flink.api.common.state.v2.StateFuture<Void> asyncUpdate(List<V> values)
asyncUpdate in interface org.apache.flink.api.common.state.v2.ListState<V>Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.