net.sf.eos.hadoop.mapred.decompose
Class SentencerReducer

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by net.sf.eos.hadoop.mapred.EosDocumentSupportMapReduceBase
          extended by net.sf.eos.hadoop.mapred.decompose.SentencerReducer
All Implemented Interfaces:
Closeable, JobConfigurable, Reducer<Text,Text,Text,Text>

public class SentencerReducer
extends EosDocumentSupportMapReduceBase
implements Reducer<Text,Text,Text,Text>


Constructor Summary
SentencerReducer()
           
 
Method Summary
 void close()
           
 void configure(JobConf conf)
           
 void reduce(Text key, Iterator<Text> valuesIterator, OutputCollector<Text,Text> outputCollector, Reporter reporter)
           
 
Methods inherited from class net.sf.eos.hadoop.mapred.EosDocumentSupportMapReduceBase
eosDocumentToText, getSerializer, textToEosDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SentencerReducer

public SentencerReducer()
Method Detail

reduce

public void reduce(Text key,
                   Iterator<Text> valuesIterator,
                   OutputCollector<Text,Text> outputCollector,
                   Reporter reporter)
            throws IOException
Specified by:
reduce in interface Reducer<Text,Text,Text,Text>
Throws:
IOException

configure

public void configure(JobConf conf)
Specified by:
configure in interface JobConfigurable
Overrides:
configure in class EosDocumentSupportMapReduceBase

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class EosDocumentSupportMapReduceBase
Throws:
IOException


Copyright © 2008. All Rights Reserved.