Class ReducingStateAdaptor<K,N,V>
java.lang.Object
org.apache.flink.runtime.state.v2.adaptor.StateAdaptor<K,N,InternalMergingState<K,N,IN,ACC,SYNCOUT>>
org.apache.flink.runtime.state.v2.adaptor.MergingStateAdaptor<K,N,V,V,V,V>
org.apache.flink.runtime.state.v2.adaptor.ReducingStateAdaptor<K,N,V>
- All Implemented Interfaces:
org.apache.flink.api.common.state.v2.AggregatingState<V,,V> org.apache.flink.api.common.state.v2.AppendingState<V,,V, V> org.apache.flink.api.common.state.v2.MergingState<V,,V, V> org.apache.flink.api.common.state.v2.ReducingState<V>,org.apache.flink.api.common.state.v2.State,InternalAggregatingState<K,,N, V, V, V> InternalAppendingState<K,,N, V, V, V, V> InternalKeyedState<K,,N, V> InternalMergingState<K,,N, V, V, V, V> InternalPartitionedState<N>,InternalReducingState<K,,N, V> InternalStateAccessible<V>
public class ReducingStateAdaptor<K,N,V>
extends MergingStateAdaptor<K,N,V,V,V,V>
implements InternalReducingState<K,N,V>
An adaptor that transforms
InternalReducingState
into InternalReducingState.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.api.common.state.v2.StateFuture<V>asyncGet()org.apache.flink.api.common.state.v2.StateFuture<V>Get internally stored value.org.apache.flink.api.common.state.v2.StateFuture<Void>asyncUpdateInternal(V valueToStore) Update internally stored value.Get internally stored value.voidupdateInternal(V valueToStore) Update internally stored value.Methods inherited from class org.apache.flink.runtime.state.v2.adaptor.MergingStateAdaptor
add, asyncAdd, asyncMergeNamespaces, get, mergeNamespacesMethods inherited from class org.apache.flink.runtime.state.v2.adaptor.StateAdaptor
asyncClear, clear, setCurrentNamespaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.api.common.state.v2.AppendingState
add, asyncAdd, getMethods inherited from interface org.apache.flink.runtime.state.v2.internal.InternalMergingState
asyncMergeNamespaces, mergeNamespacesMethods inherited from interface org.apache.flink.runtime.state.v2.internal.InternalPartitionedState
setCurrentNamespaceMethods inherited from interface org.apache.flink.api.common.state.v2.State
asyncClear, clear
-
Constructor Details
-
ReducingStateAdaptor
-
-
Method Details
-
asyncGet
-
asyncGetInternal
Description copied from interface:InternalStateAccessibleGet internally stored value.- Specified by:
asyncGetInternalin interfaceInternalStateAccessible<K>- Returns:
- internally stored value.
-
asyncUpdateInternal
Description copied from interface:InternalStateAccessibleUpdate internally stored value.- Specified by:
asyncUpdateInternalin interfaceInternalStateAccessible<K>- Parameters:
valueToStore- new value to store.
-
getInternal
Description copied from interface:InternalStateAccessibleGet internally stored value.- Specified by:
getInternalin interfaceInternalStateAccessible<K>- Returns:
- internally stored value.
-
updateInternal
Description copied from interface:InternalStateAccessibleUpdate internally stored value.- Specified by:
updateInternalin interfaceInternalStateAccessible<K>- Parameters:
valueToStore- new value to store.
-