Class ValueStateAdaptor<K,N,V>
- java.lang.Object
-
- org.apache.flink.runtime.state.v2.adaptor.StateAdaptor<K,N,InternalValueState<K,N,V>>
-
- org.apache.flink.runtime.state.v2.adaptor.ValueStateAdaptor<K,N,V>
-
- All Implemented Interfaces:
org.apache.flink.api.common.state.v2.State,org.apache.flink.api.common.state.v2.ValueState<V>,InternalKeyedState<K,N,V>,InternalPartitionedState<N>,InternalValueState<K,N,V>
public class ValueStateAdaptor<K,N,V> extends StateAdaptor<K,N,InternalValueState<K,N,V>> implements InternalValueState<K,N,V>
An adaptor that transformsInternalValueStateintoInternalValueState.
-
-
Constructor Summary
Constructors Constructor Description ValueStateAdaptor(InternalValueState<K,N,V> valueState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.api.common.state.v2.StateFuture<Void>asyncUpdate(V value)org.apache.flink.api.common.state.v2.StateFuture<V>asyncValue()voidupdate(V value)Vvalue()-
Methods inherited from class org.apache.flink.runtime.state.v2.adaptor.StateAdaptor
asyncClear, clear, setCurrentNamespace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.state.v2.internal.InternalPartitionedState
setCurrentNamespace
-
-
-
-
Constructor Detail
-
ValueStateAdaptor
public ValueStateAdaptor(InternalValueState<K,N,V> valueState)
-
-
Method Detail
-
asyncValue
public org.apache.flink.api.common.state.v2.StateFuture<V> asyncValue()
- Specified by:
asyncValuein interfaceorg.apache.flink.api.common.state.v2.ValueState<K>
-
asyncUpdate
public org.apache.flink.api.common.state.v2.StateFuture<Void> asyncUpdate(V value)
- Specified by:
asyncUpdatein interfaceorg.apache.flink.api.common.state.v2.ValueState<K>
-
value
public V value()
- Specified by:
valuein interfaceorg.apache.flink.api.common.state.v2.ValueState<K>
-
-