edu.umd.hooka
Class PhraseExtractAndCount.Reduce

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by edu.umd.hooka.PhraseExtractAndCount.Reduce
All Implemented Interfaces:
Closeable, JobConfigurable, Reducer<PhrasePair,IntWritable,PhrasePair,IntWritable>
Enclosing class:
PhraseExtractAndCount

public static class PhraseExtractAndCount.Reduce
extends MapReduceBase
implements Reducer<PhrasePair,IntWritable,PhrasePair,IntWritable>


Constructor Summary
PhraseExtractAndCount.Reduce()
           
 
Method Summary
 void reduce(PhrasePair key, Iterator<IntWritable> values, OutputCollector<PhrasePair,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 java.io.Closeable
close
 

Constructor Detail

PhraseExtractAndCount.Reduce

public PhraseExtractAndCount.Reduce()
Method Detail

reduce

public void reduce(PhrasePair key,
                   Iterator<IntWritable> values,
                   OutputCollector<PhrasePair,IntWritable> output,
                   Reporter reporter)
            throws IOException
Specified by:
reduce in interface Reducer<PhrasePair,IntWritable,PhrasePair,IntWritable>
Throws:
IOException