p2pMapReduce.test.mapreduceModule.local
Class LocalSubmitter.WordCountMapper

java.lang.Object
  extended by p2pMapReduce.mapreduceModule.Mapper<java.lang.Long,java.lang.String,StringWritable,IntWritable>
      extended by p2pMapReduce.test.mapreduceModule.local.LocalSubmitter.WordCountMapper
Enclosing class:
LocalSubmitter

public static class LocalSubmitter.WordCountMapper
extends Mapper<java.lang.Long,java.lang.String,StringWritable,IntWritable>


Nested Class Summary
 
Nested classes/interfaces inherited from class p2pMapReduce.mapreduceModule.Mapper
Mapper.Context
 
Constructor Summary
LocalSubmitter.WordCountMapper()
           
 
Method Summary
 void map(java.lang.Long key, java.lang.String value, Mapper.Context context)
          Called once for each key/value pair in the input split.
 
Methods inherited from class p2pMapReduce.mapreduceModule.Mapper
cleanup, run, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalSubmitter.WordCountMapper

public LocalSubmitter.WordCountMapper()
Method Detail

map

public void map(java.lang.Long key,
                java.lang.String value,
                Mapper.Context context)
         throws java.io.IOException,
                java.lang.InterruptedException
Description copied from class: Mapper
Called once for each key/value pair in the input split. Most applications should override this, but the default is the identity function.

Overrides:
map in class Mapper<java.lang.Long,java.lang.String,StringWritable,IntWritable>
Throws:
java.io.IOException
java.lang.InterruptedException