org.apache.nutch.crawl

## Class UrlWithScore.UrlOnlyPartitioner

- java.lang.Object
- - org.apache.hadoop.mapreduce.Partitioner<UrlWithScore,NutchWritable>
  - - org.apache.nutch.crawl.UrlWithScore.UrlOnlyPartitioner

- Enclosing class:
    UrlWithScore

      public static final class UrlWithScore.UrlOnlyPartitioner
      extends Partitioner<UrlWithScore,NutchWritable>

  A partitioner by {url}.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UrlWithScore.UrlOnlyPartitioner()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getPartition(UrlWithScore key, NutchWritable val, int reduces)`

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

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

- - ### Constructor Detail

    - #### UrlWithScore.UrlOnlyPartitioner

          public UrlWithScore.UrlOnlyPartitioner()

  - ### Method Detail

    - #### getPartition

          public int getPartition(UrlWithScore key,
                         NutchWritable val,
                         int reduces)

      Specified by:
        `getPartition` in class `Partitioner<UrlWithScore,NutchWritable>`

Copyright © 2015 The Apache Software Foundation