storm.trident.operation.impl
Class ChainedAggregatorImpl
java.lang.Object
storm.trident.operation.impl.ChainedAggregatorImpl
- All Implemented Interfaces:
- Serializable, Aggregator<ChainedResult>, Operation
public class ChainedAggregatorImpl
- extends 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(Map conf,
TridentOperationContext context)
- Specified by:
prepare in interface Operation
init
public ChainedResult init(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
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.