Package org.apache.storm.trident.testing
Class CountAsAggregator
java.lang.Object
org.apache.storm.trident.operation.BaseOperation
org.apache.storm.trident.operation.BaseAggregator<org.apache.storm.trident.testing.CountAsAggregator.State>
org.apache.storm.trident.testing.CountAsAggregator
- All Implemented Interfaces:
- Serializable,- Aggregator<org.apache.storm.trident.testing.CountAsAggregator.State>,- Operation
public class CountAsAggregator
extends BaseAggregator<org.apache.storm.trident.testing.CountAsAggregator.State>
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaggregate(org.apache.storm.trident.testing.CountAsAggregator.State state, TridentTuple tuple, TridentCollector collector) voidcomplete(org.apache.storm.trident.testing.CountAsAggregator.State state, TridentCollector collector) org.apache.storm.trident.testing.CountAsAggregator.Stateinit(Object batchId, TridentCollector collector) Methods inherited from class org.apache.storm.trident.operation.BaseOperationcleanup, prepare
- 
Constructor Details- 
CountAsAggregatorpublic CountAsAggregator()
 
- 
- 
Method Details- 
initpublic org.apache.storm.trident.testing.CountAsAggregator.State init(Object batchId, TridentCollector collector) 
- 
aggregatepublic void aggregate(org.apache.storm.trident.testing.CountAsAggregator.State state, TridentTuple tuple, TridentCollector collector) 
- 
completepublic void complete(org.apache.storm.trident.testing.CountAsAggregator.State state, TridentCollector collector) 
 
-