org.apache.nutch.crawl
Class CrawlDbReader.CrawlDbStatReducer

java.lang.Object
  extended by org.apache.nutch.crawl.CrawlDbReader.CrawlDbStatReducer
All Implemented Interfaces:
Closeable, JobConfigurable, Reducer<Text,LongWritable,Text,LongWritable>
Enclosing class:
CrawlDbReader

public static class CrawlDbReader.CrawlDbStatReducer
extends Object
implements Reducer<Text,LongWritable,Text,LongWritable>


Constructor Summary
CrawlDbReader.CrawlDbStatReducer()
           
 
Method Summary
 void close()
           
 void configure(JobConf job)
           
 void reduce(Text key, Iterator<LongWritable> values, OutputCollector<Text,LongWritable> output, Reporter reporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlDbReader.CrawlDbStatReducer

public CrawlDbReader.CrawlDbStatReducer()
Method Detail

configure

public void configure(JobConf job)
Specified by:
configure in interface JobConfigurable

close

public void close()
Specified by:
close in interface Closeable

reduce

public void reduce(Text key,
                   Iterator<LongWritable> values,
                   OutputCollector<Text,LongWritable> output,
                   Reporter reporter)
            throws IOException
Specified by:
reduce in interface Reducer<Text,LongWritable,Text,LongWritable>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation