com.intel.hadoop.graphbuilder.partition.mapreduce.edge
Class EdgeIngressCombiner<KeyType extends IngressKeyType,ValType extends IngressValueType>

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by com.intel.hadoop.graphbuilder.partition.mapreduce.edge.EdgeIngressCombiner<KeyType,ValType>
Type Parameters:
KeyType -
ValType -
All Implemented Interfaces:
java.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Reducer<KeyType,ValType,KeyType,ValType>

public class EdgeIngressCombiner<KeyType extends IngressKeyType,ValType extends IngressValueType>
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Reducer<KeyType,ValType,KeyType,ValType>

Combines intermediate IngressValues.


Constructor Summary
EdgeIngressCombiner()
           
 
Method Summary
 void configure(org.apache.hadoop.mapred.JobConf job)
           
 void reduce(KeyType key, java.util.Iterator<ValType> iter, org.apache.hadoop.mapred.OutputCollector<KeyType,ValType> out, org.apache.hadoop.mapred.Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

EdgeIngressCombiner

public EdgeIngressCombiner()
Method Detail

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

reduce

public void reduce(KeyType key,
                   java.util.Iterator<ValType> iter,
                   org.apache.hadoop.mapred.OutputCollector<KeyType,ValType> out,
                   org.apache.hadoop.mapred.Reporter reporter)
            throws java.io.IOException
Specified by:
reduce in interface org.apache.hadoop.mapred.Reducer<KeyType extends IngressKeyType,ValType extends IngressValueType,KeyType extends IngressKeyType,ValType extends IngressValueType>
Throws:
java.io.IOException