storm.trident.testing
Class CountAsAggregator

java.lang.Object
  extended by storm.trident.operation.BaseOperation
      extended by storm.trident.operation.BaseAggregator<storm.trident.testing.CountAsAggregator.State>
          extended by storm.trident.testing.CountAsAggregator
All Implemented Interfaces:
java.io.Serializable, Aggregator<storm.trident.testing.CountAsAggregator.State>, Operation

public class CountAsAggregator
extends BaseAggregator<storm.trident.testing.CountAsAggregator.State>

See Also:
Serialized Form

Constructor Summary
CountAsAggregator()
           
 
Method Summary
 void aggregate(storm.trident.testing.CountAsAggregator.State state, TridentTuple tuple, TridentCollector collector)
           
 void complete(storm.trident.testing.CountAsAggregator.State state, TridentCollector collector)
           
 storm.trident.testing.CountAsAggregator.State init(java.lang.Object batchId, TridentCollector collector)
           
 
Methods inherited from class storm.trident.operation.BaseOperation
cleanup, prepare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface storm.trident.operation.Operation
cleanup, prepare
 

Constructor Detail

CountAsAggregator

public CountAsAggregator()
Method Detail

init

public storm.trident.testing.CountAsAggregator.State init(java.lang.Object batchId,
                                                          TridentCollector collector)

aggregate

public void aggregate(storm.trident.testing.CountAsAggregator.State state,
                      TridentTuple tuple,
                      TridentCollector collector)

complete

public void complete(storm.trident.testing.CountAsAggregator.State state,
                     TridentCollector collector)