net.sf.eos.hadoop.mapred.index
Class IndexReducer<K extends WritableComparable>
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
net.sf.eos.hadoop.mapred.EosDocumentSupportMapReduceBase
net.sf.eos.hadoop.mapred.index.IndexReducer<K>
- All Implemented Interfaces:
- Closeable, JobConfigurable, Reducer<K,Text,K,ObjectWritable>
public class IndexReducer<K extends WritableComparable>
- extends EosDocumentSupportMapReduceBase
- implements Reducer<K,Text,K,ObjectWritable>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexReducer
public IndexReducer()
reduce
public void reduce(K key,
Iterator<Text> lineIterator,
OutputCollector<K,ObjectWritable> output,
Reporter reporter)
throws IOException
- Specified by:
reduce
in interface Reducer<K extends WritableComparable,Text,K extends WritableComparable,ObjectWritable>
- Throws:
IOException
configure
public void configure(JobConf conf)
- Specified by:
configure
in interface JobConfigurable
- Overrides:
configure
in class EosDocumentSupportMapReduceBase
- Parameters:
conf
- the configuration
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class EosDocumentSupportMapReduceBase
- Throws:
IOException
Copyright © 2008. All Rights Reserved.