storm.trident.operation.impl
Class ChainedAggregatorImpl
java.lang.Object
storm.trident.operation.impl.ChainedAggregatorImpl
- All Implemented Interfaces:
- java.io.Serializable, Aggregator<ChainedResult>, Operation
public class ChainedAggregatorImpl
- extends java.lang.Object
- implements Aggregator<ChainedResult>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChainedAggregatorImpl
public ChainedAggregatorImpl(Aggregator[] aggs,
Fields[] inputFields,
ComboList.Factory fact)
prepare
public void prepare(java.util.Map conf,
TridentOperationContext context)
- Specified by:
prepare
in interface Operation
init
public ChainedResult init(java.lang.Object batchId,
TridentCollector collector)
- Specified by:
init
in interface Aggregator<ChainedResult>
aggregate
public void aggregate(ChainedResult val,
TridentTuple tuple,
TridentCollector collector)
- Specified by:
aggregate
in interface Aggregator<ChainedResult>
complete
public void complete(ChainedResult val,
TridentCollector collector)
- Specified by:
complete
in interface Aggregator<ChainedResult>
cleanup
public void cleanup()
- Specified by:
cleanup
in interface Operation