com.senseidb.indexing.hadoop.reduce
Class SenseiReducer

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by 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>


Constructor Summary
SenseiReducer()
           
 
Method Summary
 void close()
           
 void configure(org.apache.hadoop.mapred.JobConf job)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenseiReducer

public SenseiReducer()
Method Detail

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.