@InterfaceAudience.Public @InterfaceStability.Stable public class HashPartitioner<K,V> extends Partitioner<K,V>
Object.hashCode().| コンストラクタと説明 | 
|---|
| HashPartitioner() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| int | getPartition(K key,
            V value,
            int numReduceTasks)Use  Object.hashCode()to partition. | 
public HashPartitioner()
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.