edu.umd.cloud9.example.memcached.demo
Class ComputeLogProb.MyMapper

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by 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>


Constructor Summary
ComputeLogProb.MyMapper()
           
 
Method Summary
 void configure(JobConf job)
           
 void map(Text term, IntWritable cnt, OutputCollector<Text,FloatWritable> output, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

ComputeLogProb.MyMapper

public ComputeLogProb.MyMapper()
Method Detail

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