org.apache.nutch.indexer
Class DeleteDuplicates.HashReducer
java.lang.Object
org.apache.nutch.indexer.DeleteDuplicates.HashReducer
- All Implemented Interfaces:
- Closeable, JobConfigurable, Reducer<MD5Hash,DeleteDuplicates.IndexDoc,Text,DeleteDuplicates.IndexDoc>
- Enclosing class:
- DeleteDuplicates
public static class DeleteDuplicates.HashReducer
- extends Object
- implements Reducer<MD5Hash,DeleteDuplicates.IndexDoc,Text,DeleteDuplicates.IndexDoc>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteDuplicates.HashReducer
public DeleteDuplicates.HashReducer()
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(MD5Hash key,
Iterator<DeleteDuplicates.IndexDoc> values,
OutputCollector<Text,DeleteDuplicates.IndexDoc> output,
Reporter reporter)
throws IOException
- Specified by:
reduce
in interface Reducer<MD5Hash,DeleteDuplicates.IndexDoc,Text,DeleteDuplicates.IndexDoc>
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation