Difference between revisions of "MapReduce Mapper Assignment"

From CSE231 Wiki
Jump to navigation Jump to search
(Created page with "=Motivation= Familiarity on how Mappers and Reducers work =Code To Implement= {{CodeToImplement|CardMapper|map|mapreduce.apps.intsum.cards.studio}} {{Sequential|public void...")
 
Line 17: Line 17:
 
{{CodeToImplement|IntegerSumClassicReducer|finisher|mapreduce.apps.intsum.studio}}
 
{{CodeToImplement|IntegerSumClassicReducer|finisher|mapreduce.apps.intsum.studio}}
  
{{public Function<List<Integer>, Integer> finisher()}}
+
{{<nowiki>public Function<List<Integer>, Integer> finisher()</nowiki>}}

Revision as of 22:08, 16 February 2018

Motivation

Familiarity on how Mappers and Reducers work

Code To Implement

class: CardMapper.java Java.png
methods: map
package: mapreduce.apps.intsum.cards.studio
source folder: student/src/main/java

method: public void map(Deck deck, BiConsumer<Suit, Integer> keyValuePairConsumer) Sequential.svg (sequential implementation only)

class: WordCountMapper.java Java.png
methods: map
package: mapreduce.apps.intsum.wordcount.studio
source folder: student/src/main/java

method: public void map(TextSection textSection, BiConsumer<String, Integer> keyValuePairConsumer) Sequential.svg (sequential implementation only)

class: KMerMapper.java Java.png
methods: map
package: mapreduce.apps.intsum.kmer.studio
source folder: student/src/main/java

method: public void map(byte[] sequence, BiConsumer<String, Integer> keyValuePairConsumer) Sequential.svg (sequential implementation only)

class: IntegerSumClassicReducer.java Java.png
methods: finisher
package: mapreduce.apps.intsum.studio
source folder: student/src/main/java

{{public Function<List<Integer>, Integer> finisher()}}