K - The type of partitioned key the state is associated to.UK - The type of user key of this state.V - The type of values kept internally in state.public class InternalMapState<K,UK,V> extends InternalKeyedState<K,V> implements org.apache.flink.api.common.state.v2.MapState<UK,V>
MapState which delegates all async requests to StateRequestHandler.| Constructor and Description |
|---|
InternalMapState(StateRequestHandler stateRequestHandler,
MapStateDescriptor<UK,V> stateDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.state.v2.StateFuture<Boolean> |
asyncContains(UK key) |
org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<Map.Entry<UK,V>>> |
asyncEntries() |
org.apache.flink.api.common.state.v2.StateFuture<V> |
asyncGet(UK key) |
org.apache.flink.api.common.state.v2.StateFuture<Boolean> |
asyncIsEmpty() |
org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<UK>> |
asyncKeys() |
org.apache.flink.api.common.state.v2.StateFuture<Void> |
asyncPut(UK key,
V value) |
org.apache.flink.api.common.state.v2.StateFuture<Void> |
asyncPutAll(Map<UK,V> map) |
org.apache.flink.api.common.state.v2.StateFuture<Void> |
asyncRemove(UK key) |
org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<V>> |
asyncValues() |
asyncClear, getStateDescriptor, getValueSerializer, handleRequestpublic InternalMapState(StateRequestHandler stateRequestHandler, MapStateDescriptor<UK,V> stateDescriptor)
public org.apache.flink.api.common.state.v2.StateFuture<Void> asyncPutAll(Map<UK,V> map)
public org.apache.flink.api.common.state.v2.StateFuture<Boolean> asyncContains(UK key)
public org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<Map.Entry<UK,V>>> asyncEntries()
public org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<UK>> asyncKeys()
public org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<V>> asyncValues()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.