## Uses of Class
org.apache.hadoop.mapreduce.Partitioner

- Packages that use Partitioner
  Package | Description
  --- | ---
  org.apache.hadoop.mapreduce |
  org.apache.hadoop.mapreduce.lib.map |
  org.apache.hadoop.mapreduce.lib.output |
  org.apache.hadoop.mapreduce.lib.partition |
  org.apache.hadoop.mapreduce.lib.reduce |
  org.apache.hadoop.mapreduce.task |

- - ### Uses of Partitioner in org.apache.hadoop.mapreduce

    Methods in org.apache.hadoop.mapreduce that return types with arguments of type Partitioner
    Modifier and Type | Method and Description
    --- | ---
    `Class<? extends Partitioner<?,?>>` | JobContext.`getPartitionerClass()` Get the `Partitioner` class for the job.

    Method parameters in org.apache.hadoop.mapreduce with type arguments of type Partitioner
    Modifier and Type | Method and Description
    --- | ---
    `void` | Job.`setPartitionerClass(Class<? extends Partitioner> cls)` Set the `Partitioner` for the job.

  - ### Uses of Partitioner in org.apache.hadoop.mapreduce.lib.map

    Methods in org.apache.hadoop.mapreduce.lib.map that return types with arguments of type Partitioner
    Modifier and Type | Method and Description
    --- | ---
    `Class<? extends Partitioner<?,?>>` | WrappedMapper.Context.`getPartitionerClass()`

  - ### Uses of Partitioner in org.apache.hadoop.mapreduce.lib.output

    Methods in org.apache.hadoop.mapreduce.lib.output with parameters of type Partitioner
    Modifier and Type | Method and Description
    --- | ---
    `static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> org.apache.hadoop.io.Writable` | MapFileOutputFormat.`getEntry(org.apache.hadoop.io.MapFile.Reader[] readers, Partitioner<K,V> partitioner, K key, V value)` Get an entry from output generated by this class.

  - ### Uses of Partitioner in org.apache.hadoop.mapreduce.lib.partition

    Subclasses of Partitioner in org.apache.hadoop.mapreduce.lib.partition
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BinaryPartitioner<V>` Partition `BinaryComparable` keys using a configurable part of the bytes array returned by `BinaryComparable.getBytes()`.
    `class` | `HashPartitioner<K,V>` Partition keys by their `Object.hashCode()`.
    `class` | `KeyFieldBasedPartitioner<K2,V2>` Defines a way to partition keys based on certain key fields (also see `KeyFieldBasedComparator`.
    `class` | `RehashPartitioner<K,V>` This partitioner rehashes values returned by `Object.hashCode()` to get smoother distribution between partitions which may improve reduce reduce time in some cases and should harm things in no cases.
    `class` | `TotalOrderPartitioner<K,V>` Partitioner effecting a total order by reading split points from an externally generated source.

  - ### Uses of Partitioner in org.apache.hadoop.mapreduce.lib.reduce

    Methods in org.apache.hadoop.mapreduce.lib.reduce that return types with arguments of type Partitioner
    Modifier and Type | Method and Description
    --- | ---
    `Class<? extends Partitioner<?,?>>` | WrappedReducer.Context.`getPartitionerClass()`

  - ### Uses of Partitioner in org.apache.hadoop.mapreduce.task

    Methods in org.apache.hadoop.mapreduce.task that return types with arguments of type Partitioner
    Modifier and Type | Method and Description
    --- | ---
    `Class<? extends Partitioner<?,?>>` | JobContextImpl.`getPartitionerClass()` Get the `Partitioner` class for the job.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.