storm.trident.testing
Class CountAsAggregator
java.lang.Object
storm.trident.operation.BaseOperation
storm.trident.operation.BaseAggregator<storm.trident.testing.CountAsAggregator.State>
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountAsAggregator
public CountAsAggregator()
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)