public class CountAsAggregator extends BaseAggregator<org.apache.storm.trident.testing.CountAsAggregator.State>
Constructor and Description |
---|
CountAsAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(org.apache.storm.trident.testing.CountAsAggregator.State state,
TridentTuple tuple,
TridentCollector collector) |
void |
complete(org.apache.storm.trident.testing.CountAsAggregator.State state,
TridentCollector collector) |
org.apache.storm.trident.testing.CountAsAggregator.State |
init(Object batchId,
TridentCollector collector) |
cleanup, prepare
public org.apache.storm.trident.testing.CountAsAggregator.State init(Object batchId, TridentCollector collector)
public void aggregate(org.apache.storm.trident.testing.CountAsAggregator.State state, TridentTuple tuple, TridentCollector collector)
public void complete(org.apache.storm.trident.testing.CountAsAggregator.State state, TridentCollector collector)
Copyright © 2020 The Apache Software Foundation. All rights reserved.