public class ChainedAggregatorImpl extends Object implements Aggregator<ChainedResult>
Constructor and Description |
---|
ChainedAggregatorImpl(Aggregator[] aggs,
Fields[] inputFields,
ComboList.Factory fact) |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(ChainedResult val,
TridentTuple tuple,
TridentCollector collector) |
void |
cleanup() |
void |
complete(ChainedResult val,
TridentCollector collector) |
ChainedResult |
init(Object batchId,
TridentCollector collector) |
void |
prepare(Map conf,
TridentOperationContext context) |
public ChainedAggregatorImpl(Aggregator[] aggs, Fields[] inputFields, ComboList.Factory fact)
public void prepare(Map conf, TridentOperationContext context)
public ChainedResult init(Object batchId, TridentCollector collector)
init
in interface Aggregator<ChainedResult>
public void aggregate(ChainedResult val, TridentTuple tuple, TridentCollector collector)
aggregate
in interface Aggregator<ChainedResult>
public void complete(ChainedResult val, TridentCollector collector)
complete
in interface Aggregator<ChainedResult>
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.