@InterfaceAudience.Public @InterfaceStability.Stable public class RehashPartitioner<K,V> extends Partitioner<K,V>
Object.hashCode()
  to get smoother distribution between partitions which may improve
  reduce reduce time in some cases and should harm things in no cases.
  This partitioner is suggested with Integer and Long keys with simple
  patterns in their distributions.| コンストラクタと説明 | 
|---|
| RehashPartitioner() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| int | getPartition(K key,
            V value,
            int numReduceTasks)Rehash  Object.hashCode()to partition. | 
public RehashPartitioner()
public int getPartition(K key, V value, int numReduceTasks)
Object.hashCode() to partition.getPartition クラス内 Partitioner<K,V>key - the key to be partioned.value - the entry value.numReduceTasks - the total number of partitions.key.Copyright © 2016 Apache Software Foundation. All rights reserved.