edu.umd.cloud9.demo
Class DemoWordCount.MyMapper

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by edu.umd.cloud9.demo.DemoWordCount.MyMapper
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper<LongWritable,Text,Text,IntWritable>
Enclosing class:
DemoWordCount

public static class DemoWordCount.MyMapper
extends MapReduceBase
implements Mapper<LongWritable,Text,Text,IntWritable>


Constructor Summary
DemoWordCount.MyMapper()
           
 
Method Summary
 void map(LongWritable key, Text value, OutputCollector<Text,IntWritable> output, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close, configure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable
configure
 
Methods inherited from interface org.apache.hadoop.io.Closeable
close
 

Constructor Detail

DemoWordCount.MyMapper

public DemoWordCount.MyMapper()
Method Detail

map

public void map(LongWritable key,
                Text value,
                OutputCollector<Text,IntWritable> output,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper<LongWritable,Text,Text,IntWritable>
Throws:
IOException