org.apache.nutch.crawl
Class URLPartitioner.FetchEntryPartitioner

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.IntWritable,FetchEntry>
      extended by org.apache.nutch.crawl.URLPartitioner.FetchEntryPartitioner
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
Enclosing class:
URLPartitioner

public static class URLPartitioner.FetchEntryPartitioner
extends org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.IntWritable,FetchEntry>
implements org.apache.hadoop.conf.Configurable


Constructor Summary
URLPartitioner.FetchEntryPartitioner()
           
 
Method Summary
 org.apache.hadoop.conf.Configuration getConf()
           
 int getPartition(org.apache.hadoop.io.IntWritable intWritable, FetchEntry fetchEntry, int numReduces)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLPartitioner.FetchEntryPartitioner

public URLPartitioner.FetchEntryPartitioner()
Method Detail

getPartition

public int getPartition(org.apache.hadoop.io.IntWritable intWritable,
                        FetchEntry fetchEntry,
                        int numReduces)
Specified by:
getPartition in class org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.IntWritable,FetchEntry>

getConf

public org.apache.hadoop.conf.Configuration getConf()
Specified by:
getConf in interface org.apache.hadoop.conf.Configurable

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)
Specified by:
setConf in interface org.apache.hadoop.conf.Configurable


Copyright © 2013 The Apache Software Foundation