edu.umd.hooka
Class PhraseExtractAndCount.ReduceSumScores

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

public static class PhraseExtractAndCount.ReduceSumScores
extends MapReduceBase
implements Reducer<PhrasePair,IndexedFloatArray,PhrasePair,IndexedFloatArray>


Constructor Summary
PhraseExtractAndCount.ReduceSumScores()
           
 
Method Summary
 void reduce(PhrasePair key, Iterator<IndexedFloatArray> values, OutputCollector<PhrasePair,IndexedFloatArray> 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.ReduceSumScores

public PhraseExtractAndCount.ReduceSumScores()
Method Detail

reduce

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