de.kumpe.hadooptimizer.examples.tutorial
Class WordCount.Reduce

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
      extended by de.kumpe.hadooptimizer.examples.tutorial.WordCount.Reduce
Enclosing class:
WordCount

public static class WordCount.Reduce
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
org.apache.hadoop.mapreduce.Reducer.Context
 
Constructor Summary
WordCount.Reduce()
           
 
Method Summary
protected  void reduce(org.apache.hadoop.io.Text key, Iterable<org.apache.hadoop.io.IntWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Reducer
cleanup, run, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordCount.Reduce

public WordCount.Reduce()
Method Detail

reduce

protected void reduce(org.apache.hadoop.io.Text key,
                      Iterable<org.apache.hadoop.io.IntWritable> values,
                      org.apache.hadoop.mapreduce.Reducer.Context context)
               throws IOException,
                      InterruptedException
Overrides:
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
Throws:
IOException
InterruptedException


Copyright © 2011 Christian Kumpe. All Rights Reserved.