edu.umd.cloud9.demo
Class DemoWordCount.MyMapper
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
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>
DemoWordCount.MyMapper
public DemoWordCount.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