public class Murmur3Partitioner extends Object implements Partitioner<String>
MURMUR3| Constructor and Description |
|---|
Murmur3Partitioner() |
| Modifier and Type | Method and Description |
|---|---|
PartitionId |
partition(String key,
List<PartitionId> partitions)
Returns the partition ID to which the specified object maps.
|
public PartitionId partition(String key, List<PartitionId> partitions)
Partitionerpartition in interface Partitioner<String>key - the key to partitionpartitions - the list of partitionsCopyright © 2013–2018. All rights reserved.