public class ReducerAggStateUpdater extends Object implements StateUpdater<Snapshottable>
Constructor and Description |
---|
ReducerAggStateUpdater(ReducerAggregator 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 ReducerAggStateUpdater(ReducerAggregator 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.