TOutput
- output type of the aggregation function and the functions to-be-aggregated.public interface VortexAggregateFunction<TOutput> extends Serializable
TOutput call(List<TOutput> taskletOutputs) throws VortexAggregateException
taskletOutputs
- the list of outputs from Tasklets on a Worker.Exception
VortexAggregateException
Codec<TOutput> getOutputCodec()
VoidCodec
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.Copyright © 2016 The Apache Software Foundation. All rights reserved.