Class BottleneckedMapReduceFramework<E,K,V,A,R>

java.lang.Object
mapreduce.framework.bottlenecked.exercise.BottleneckedMapReduceFramework<E,K,V,A,R>
Type Parameters:
E - the type of element that is originally being input
K - the key in the key-value pairs emitted by the mapper
V - the value in the key-value pairs emitted by the mapper
A - the mutable result container of the reducer
R - the final result of the reducer
All Implemented Interfaces:
MapReduceFramework<E,K,V,A,R>

@Immutable public final class BottleneckedMapReduceFramework<E,K,V,A,R> extends Object implements MapReduceFramework<E,K,V,A,R>
A MapReduce framework that separates mapping, accumulating, and reduction into three separate stages. The mapAll(Object[]) method calls the Mapper on everything in the given array in parallel. Then, the accumulateAll(List) method sequentially groups the output of the mapAll method. Finally, the reduceAll(Map) methods finish off the reduction,going from a map with values of type A to a map with values of type R.
Author:
__STUDENT_NAME__, Finn Voichick, Dennis Cosgrove