public class RpcGlobalAggregateManager extends Object implements GlobalAggregateManager
| Constructor and Description |
|---|
RpcGlobalAggregateManager(JobMasterGateway jobMasterGateway) |
| Modifier and Type | Method and Description |
|---|---|
<IN,ACC,OUT> |
updateGlobalAggregate(String aggregateName,
Object aggregand,
org.apache.flink.api.common.functions.AggregateFunction<IN,ACC,OUT> aggregateFunction)
Update the global aggregate and return the new value.
|
public RpcGlobalAggregateManager(JobMasterGateway jobMasterGateway)
public <IN,ACC,OUT> OUT updateGlobalAggregate(String aggregateName, Object aggregand, org.apache.flink.api.common.functions.AggregateFunction<IN,ACC,OUT> aggregateFunction) throws IOException
GlobalAggregateManagerupdateGlobalAggregate in interface GlobalAggregateManageraggregateName - 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 valueIOExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.