org.apache.nutch.crawl
Class WebTableReader.WebTableStatReducer

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Reducer<Text,LongWritable,Text,LongWritable>
      extended by org.apache.nutch.crawl.WebTableReader.WebTableStatReducer
Enclosing class:
WebTableReader

public static class WebTableReader.WebTableStatReducer
extends Reducer<Text,LongWritable,Text,LongWritable>


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

Constructor Detail

WebTableReader.WebTableStatReducer

public WebTableReader.WebTableStatReducer()
Method Detail

cleanup

public void cleanup(Reducer.Context context)
Overrides:
cleanup in class Reducer<Text,LongWritable,Text,LongWritable>

reduce

protected void reduce(Text key,
                      Iterable<LongWritable> values,
                      Reducer.Context context)
               throws IOException,
                      InterruptedException
Overrides:
reduce in class Reducer<Text,LongWritable,Text,LongWritable>
Throws:
IOException
InterruptedException


Copyright © 2012 The Apache Software Foundation