storm.trident.operation.impl
Class CombinerAggregatorCombineImpl

java.lang.Object
  extended by storm.trident.operation.impl.CombinerAggregatorCombineImpl
All Implemented Interfaces:
java.io.Serializable, Aggregator<Result>, Operation

public class CombinerAggregatorCombineImpl
extends java.lang.Object
implements Aggregator<Result>

See Also:
Serialized Form

Constructor Summary
CombinerAggregatorCombineImpl(CombinerAggregator agg)
           
 
Method Summary
 void aggregate(Result val, TridentTuple tuple, TridentCollector collector)
           
 void cleanup()
           
 void complete(Result val, TridentCollector collector)
           
 Result init(java.lang.Object batchId, TridentCollector collector)
           
 void prepare(java.util.Map conf, TridentOperationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinerAggregatorCombineImpl

public CombinerAggregatorCombineImpl(CombinerAggregator agg)
Method Detail

prepare

public void prepare(java.util.Map conf,
                    TridentOperationContext context)
Specified by:
prepare in interface Operation

init

public Result init(java.lang.Object batchId,
                   TridentCollector collector)
Specified by:
init in interface Aggregator<Result>

aggregate

public void aggregate(Result val,
                      TridentTuple tuple,
                      TridentCollector collector)
Specified by:
aggregate in interface Aggregator<Result>

complete

public void complete(Result val,
                     TridentCollector collector)
Specified by:
complete in interface Aggregator<Result>

cleanup

public void cleanup()
Specified by:
cleanup in interface Operation