edu.umd.cloud9.example.memcached.demo
Class WordCount.MyMapper
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
edu.umd.cloud9.example.memcached.demo.WordCount.MyMapper
- All Implemented Interfaces:
- Closeable, JobConfigurable, Mapper<LongWritable,Text,Text,IntWritable>
- Enclosing class:
- WordCount
public static class WordCount.MyMapper
- extends MapReduceBase
- implements Mapper<LongWritable,Text,Text,IntWritable>
WordCount.MyMapper
public WordCount.MyMapper()
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