public class CombinerAggStateUpdater extends Object implements StateUpdater<Snapshottable>
Constructor and Description |
---|
CombinerAggStateUpdater(CombinerAggregator agg) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
prepare(Map conf,
TridentOperationContext context) |
void |
updateState(Snapshottable state,
List<TridentTuple> tuples,
TridentCollector collector) |
public CombinerAggStateUpdater(CombinerAggregator agg)
public void updateState(Snapshottable state, List<TridentTuple> tuples, TridentCollector collector)
updateState
in interface StateUpdater<Snapshottable>
public void prepare(Map conf, TridentOperationContext context)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.