Class SummingIntEfficientAccumulatorCombinerReducer
java.lang.Object
mapreduce.apps.reducer.summingint.efficient.exercise.SummingIntEfficientAccumulatorCombinerReducer
- All Implemented Interfaces:
AccumulatorCombinerReducer<Integer, MutableInteger, Integer>
public class SummingIntEfficientAccumulatorCombinerReducer
extends Object
implements AccumulatorCombinerReducer<Integer, MutableInteger, Integer>
- Author:
- __STUDENT_NAME__, Finn Voichick, Dennis Cosgrove
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulate(MutableInteger container, Integer item) voidcombine(MutableInteger containerA, MutableInteger containerB) reduce(MutableInteger container) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AccumulatorCombinerReducer
collectorCharacteristics
-
Constructor Details
-
SummingIntEfficientAccumulatorCombinerReducer
public SummingIntEfficientAccumulatorCombinerReducer()
-
-
Method Details
-
createMutableContainer
- Specified by:
createMutableContainerin interfaceAccumulatorCombinerReducer<Integer, MutableInteger, Integer>
-
accumulate
- Specified by:
accumulatein interfaceAccumulatorCombinerReducer<Integer, MutableInteger, Integer>
-
combine
- Specified by:
combinein interfaceAccumulatorCombinerReducer<Integer, MutableInteger, Integer>
-
reduce
- Specified by:
reducein interfaceAccumulatorCombinerReducer<Integer, MutableInteger, Integer>
-