Class RpcGlobalAggregateManager
java.lang.Object
org.apache.flink.runtime.taskexecutor.rpc.RpcGlobalAggregateManager
- All Implemented Interfaces:
GlobalAggregateManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<IN,ACC, OUT>
OUTupdateGlobalAggregate(String aggregateName, Object aggregand, org.apache.flink.api.common.functions.AggregateFunction<IN, ACC, OUT> aggregateFunction) Update the global aggregate and return the new value.
-
Constructor Details
-
RpcGlobalAggregateManager
-
-
Method Details
-
updateGlobalAggregate
public <IN,ACC, OUT updateGlobalAggregateOUT> (String aggregateName, Object aggregand, org.apache.flink.api.common.functions.AggregateFunction<IN, ACC, throws IOExceptionOUT> aggregateFunction) Description copied from interface:GlobalAggregateManagerUpdate the global aggregate and return the new value.- Specified by:
updateGlobalAggregatein interfaceGlobalAggregateManager- Parameters:
aggregateName- The name of the aggregate to updateaggregand- The value to add to the aggregateaggregateFunction- The function to apply to the current aggregate and aggregand to obtain the new aggregate value- Returns:
- The updated aggregate
- Throws:
IOException
-