org.apache.nutch.crawl

## Class URLPartitioner.FetchEntryPartitioner

- java.lang.Object
- - org.apache.hadoop.mapreduce.Partitioner<IntWritable,FetchEntry>
  - - org.apache.nutch.crawl.URLPartitioner.FetchEntryPartitioner

- All Implemented Interfaces:
    Configurable
  Enclosing class:
    URLPartitioner

      public static class URLPartitioner.FetchEntryPartitioner
      extends Partitioner<IntWritable,FetchEntry>
      implements Configurable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FetchEntryPartitioner()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Configuration` | `getConf()`
    `int` | `getPartition(IntWritable intWritable, FetchEntry fetchEntry, int numReduces)`
    `void` | `setConf(Configuration conf)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FetchEntryPartitioner

          public FetchEntryPartitioner()

  - ### Method Detail

    - #### getPartition

          public int getPartition(IntWritable intWritable,
                                  FetchEntry fetchEntry,
                                  int numReduces)

      Specified by:
        `getPartition` in class `Partitioner<IntWritable,FetchEntry>`

    - #### getConf

          public Configuration getConf()

      Specified by:
        `getConf` in interface `Configurable`

    - #### setConf

          public void setConf(Configuration conf)

      Specified by:
        `setConf` in interface `Configurable`

Copyright © 2019 The Apache Software Foundation