Class WordCountOnlyParallelMapReduceFramework
java.lang.Object
mapreduce.framework.parallel.warmup.WordCountOnlyParallelMapReduceFramework
- All Implemented Interfaces:
MapReduceFramework<TextSection, String, Integer, List<Integer>, Integer>
@Immutable
public final class WordCountOnlyParallelMapReduceFramework
extends Object
implements MapReduceFramework<TextSection, String, Integer, List<Integer>, Integer>
- Author:
- __STUDENT_NAME__, Finn Voichick, Dennis Cosgrove
-
Constructor Summary
ConstructorsConstructorDescriptionWordCountOnlyParallelMapReduceFramework(Mapper<TextSection, String, Integer> mapper, AccumulatorCombinerReducer<Integer, List<Integer>, Integer> accumulatorCombinerReducer) -
Method Summary
-
Constructor Details
-
WordCountOnlyParallelMapReduceFramework
public WordCountOnlyParallelMapReduceFramework(Mapper<TextSection, String, Integer> mapper, AccumulatorCombinerReducer<Integer, List<Integer>, Integer> accumulatorCombinerReducer)
-
-
Method Details
-
mapper
- Specified by:
mapperin interfaceMapReduceFramework<TextSection, String, Integer, List<Integer>, Integer>
-
accumulatorCombinerReducer
- Specified by:
accumulatorCombinerReducerin interfaceMapReduceFramework<TextSection, String, Integer, List<Integer>, Integer>
-
mapReduceAll
public Map<String,Integer> mapReduceAll(TextSection[] input) throws InterruptedException, ExecutionException - Specified by:
mapReduceAllin interfaceMapReduceFramework<TextSection, String, Integer, List<Integer>, Integer>- Throws:
InterruptedExceptionExecutionException
-