org.apache.nutch.indexer
Class DeleteDuplicates.HashPartitioner
java.lang.Object
org.apache.nutch.indexer.DeleteDuplicates.HashPartitioner
- All Implemented Interfaces:
- JobConfigurable, Partitioner<MD5Hash,Writable>
- Enclosing class:
- DeleteDuplicates
public static class DeleteDuplicates.HashPartitioner
- extends Object
- implements Partitioner<MD5Hash,Writable>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteDuplicates.HashPartitioner
public DeleteDuplicates.HashPartitioner()
configure
public void configure(JobConf job)
- Specified by:
configure
in interface JobConfigurable
close
public void close()
getPartition
public int getPartition(MD5Hash key,
Writable value,
int numReduceTasks)
- Specified by:
getPartition
in interface Partitioner<MD5Hash,Writable>
Copyright © 2006 The Apache Software Foundation