Class AggregatingStateAdaptor<K,N,IN,ACC,OUT>
- 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,IN,ACC,OUT,OUT>
-
- org.apache.flink.runtime.state.v2.adaptor.AggregatingStateAdaptor<K,N,IN,ACC,OUT>
-
- All Implemented Interfaces:
org.apache.flink.api.common.state.v2.AggregatingState<IN,OUT>,org.apache.flink.api.common.state.v2.AppendingState<IN,OUT,OUT>,org.apache.flink.api.common.state.v2.MergingState<IN,OUT,OUT>,org.apache.flink.api.common.state.v2.State,InternalAggregatingState<K,N,IN,ACC,OUT>,InternalAppendingState<K,N,IN,ACC,OUT,OUT>,InternalKeyedState<K,N,ACC>,InternalMergingState<K,N,IN,ACC,OUT,OUT>,InternalPartitionedState<N>,InternalStateAccessible<ACC>
public class AggregatingStateAdaptor<K,N,IN,ACC,OUT> extends MergingStateAdaptor<K,N,IN,ACC,OUT,OUT> implements InternalAggregatingState<K,N,IN,ACC,OUT>
An adaptor that transformsInternalAggregatingStateintoInternalAggregatingState.
-
-
Constructor Summary
Constructors Constructor Description AggregatingStateAdaptor(InternalAggregatingState<K,N,IN,ACC,OUT> aggregatingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.api.common.state.v2.StateFuture<OUT>asyncGet()org.apache.flink.api.common.state.v2.StateFuture<ACC>asyncGetInternal()Get internally stored value.org.apache.flink.api.common.state.v2.StateFuture<Void>asyncUpdateInternal(ACC valueToStore)Update internally stored value.ACCgetInternal()Get internally stored value.voidupdateInternal(ACC valueToStore)Update internally stored value.-
Methods inherited from class org.apache.flink.runtime.state.v2.adaptor.MergingStateAdaptor
add, asyncAdd, asyncMergeNamespaces, get, mergeNamespaces
-
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.api.common.state.v2.AppendingState
add, asyncAdd, get
-
Methods inherited from interface org.apache.flink.runtime.state.v2.internal.InternalMergingState
asyncMergeNamespaces, mergeNamespaces
-
Methods inherited from interface org.apache.flink.runtime.state.v2.internal.InternalPartitionedState
setCurrentNamespace
-
-
-
-
Method Detail
-
asyncGet
public org.apache.flink.api.common.state.v2.StateFuture<OUT> asyncGet()
-
asyncGetInternal
public org.apache.flink.api.common.state.v2.StateFuture<ACC> asyncGetInternal()
Description copied from interface:InternalStateAccessibleGet internally stored value.- Specified by:
asyncGetInternalin interfaceInternalStateAccessible<K>- Returns:
- internally stored value.
-
asyncUpdateInternal
public org.apache.flink.api.common.state.v2.StateFuture<Void> asyncUpdateInternal(ACC valueToStore)
Description copied from interface:InternalStateAccessibleUpdate internally stored value.- Specified by:
asyncUpdateInternalin interfaceInternalStateAccessible<K>- Parameters:
valueToStore- new value to store.
-
getInternal
public ACC getInternal()
Description copied from interface:InternalStateAccessibleGet internally stored value.- Specified by:
getInternalin interfaceInternalStateAccessible<K>- Returns:
- internally stored value.
-
updateInternal
public void updateInternal(ACC valueToStore)
Description copied from interface:InternalStateAccessibleUpdate internally stored value.- Specified by:
updateInternalin interfaceInternalStateAccessible<K>- Parameters:
valueToStore- new value to store.
-
-