public final class AdditionAggregateFunction extends Object implements VortexAggregateFunction<Integer>
| Constructor and Description |
|---|
AdditionAggregateFunction() |
public AdditionAggregateFunction()
public Integer call(List<Integer> taskletOutputs) throws VortexAggregateException
VortexAggregateFunctioncall in interface VortexAggregateFunction<Integer>taskletOutputs - the list of outputs from Tasklets on a Worker.VortexAggregateExceptionpublic Codec<Integer> getOutputCodec()
VortexAggregateFunctionVoidCodec can be used if the aggregation output is
empty, and SerializableCodec can be used for (Serializable
aggregation output.
Custom aggregation output Codec can also be supplied.getOutputCodec in interface VortexAggregateFunction<Integer>Copyright © 2016 The Apache Software Foundation. All rights reserved.