K - The type of the key to be partitioned.@Public public interface Partitioner<K> extends Serializable
int partition(K key, int numPartitions)
key - The key.numPartitions - The number of partitions to partition into.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.