org.apache.nutch.indexer
Class DeleteDuplicates.UrlsReducer

java.lang.Object
  extended by org.apache.nutch.indexer.DeleteDuplicates.UrlsReducer
All Implemented Interfaces:
Closeable, JobConfigurable, Reducer<Text,DeleteDuplicates.IndexDoc,MD5Hash,DeleteDuplicates.IndexDoc>
Enclosing class:
DeleteDuplicates

public static class DeleteDuplicates.UrlsReducer
extends Object
implements Reducer<Text,DeleteDuplicates.IndexDoc,MD5Hash,DeleteDuplicates.IndexDoc>


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

Constructor Detail

DeleteDuplicates.UrlsReducer

public DeleteDuplicates.UrlsReducer()
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<DeleteDuplicates.IndexDoc> values,
                   OutputCollector<MD5Hash,DeleteDuplicates.IndexDoc> output,
                   Reporter reporter)
            throws IOException
Specified by:
reduce in interface Reducer<Text,DeleteDuplicates.IndexDoc,MD5Hash,DeleteDuplicates.IndexDoc>
Throws:
IOException


Copyright © 2006 The Apache Software Foundation