com.senseidb.indexing.hadoop.reduce
Class SenseiReducer
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
com.senseidb.indexing.hadoop.reduce.SenseiReducer
- All Implemented Interfaces:
- Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Reducer<Shard,IntermediateForm,Shard,org.apache.hadoop.io.Text>
public class SenseiReducer
- extends org.apache.hadoop.mapred.MapReduceBase
- implements org.apache.hadoop.mapred.Reducer<Shard,IntermediateForm,Shard,org.apache.hadoop.io.Text>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SenseiReducer
public SenseiReducer()
reduce
public void reduce(Shard key,
Iterator<IntermediateForm> values,
org.apache.hadoop.mapred.OutputCollector<Shard,org.apache.hadoop.io.Text> output,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
- Specified by:
reduce
in interface org.apache.hadoop.mapred.Reducer<Shard,IntermediateForm,Shard,org.apache.hadoop.io.Text>
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class org.apache.hadoop.mapred.MapReduceBase
- Throws:
IOException
configure
public void configure(org.apache.hadoop.mapred.JobConf job)
- Specified by:
configure
in interface org.apache.hadoop.mapred.JobConfigurable
- Overrides:
configure
in class org.apache.hadoop.mapred.MapReduceBase
Copyright © 2010-2012. All Rights Reserved.