Package org.apache.heron.api.metric
Interface IReducer<T,U,V>
-
- Type Parameters:
T- accumulator to hold and update stateU- type of input that can be handledV- type of reduced value from the accumulator
- All Known Implementing Classes:
MeanReducer
public interface IReducer<T,U,V>Apply an update to an accumulator for which a result can be extracted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VextractResult(T accumulator)Tinit()Treduce(T accumulator, U input)
-