edu.umd.cloud9.example.memcached.demo
Class ComputeLogProb.MyMapper
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
edu.umd.cloud9.example.memcached.demo.ComputeLogProb.MyMapper
- All Implemented Interfaces:
- Closeable, JobConfigurable, Mapper<Text,IntWritable,Text,FloatWritable>
- Enclosing class:
- ComputeLogProb
public static class ComputeLogProb.MyMapper
- extends MapReduceBase
- implements Mapper<Text,IntWritable,Text,FloatWritable>
ComputeLogProb.MyMapper
public ComputeLogProb.MyMapper()
configure
public void configure(JobConf job)
- Specified by:
configure in interface JobConfigurable- Overrides:
configure in class MapReduceBase
map
public void map(Text term,
IntWritable cnt,
OutputCollector<Text,FloatWritable> output,
Reporter reporter)
throws IOException
- Specified by:
map in interface Mapper<Text,IntWritable,Text,FloatWritable>
- Throws:
IOException