p2pMapReduce.test.nodeModule
Class JobFactory.WordCountMapper

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

public static class JobFactory.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
JobFactory.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

JobFactory.WordCountMapper

public JobFactory.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