@Internal public class IdPartitioner extends Object implements Partitioner<Integer>
| Constructor and Description |
|---|
IdPartitioner() |
public int partition(Integer key, int numPartitions)
partition in interface Partitioner<Integer>Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.