public class Murmur3TokenRangeSplitter extends Object implements TokenRangeSplitter
| Constructor and Description |
|---|
Murmur3TokenRangeSplitter() |
| Modifier and Type | Method and Description |
|---|---|
List<BulkTokenRange> |
split(BulkTokenRange tokenRange,
int splitCount)
Splits the given token range uniformly into sub-ranges with the given desired split count.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsplit@NonNull public List<BulkTokenRange> split(@NonNull BulkTokenRange tokenRange, int splitCount)
TokenRangeSplitterNote that the algorithm is size-based and doesn't guarantee exact split count.
split in interface TokenRangeSplittertokenRange - The range to split.splitCount - The desired number of resulting chunks.splitCount chunks.Copyright © 2017–2020 DataStax. All rights reserved.