public class Murmur3BulkTokenFactory extends com.datastax.oss.driver.internal.core.metadata.token.Murmur3TokenFactory implements BulkTokenFactory
BulkTokenFactory for the Murmur3 Partitioner.| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
TOTAL_TOKEN_COUNT |
MAX_TOKEN, MIN_TOKEN, PARTITIONER_NAME| Constructor and Description |
|---|
Murmur3BulkTokenFactory() |
| Modifier and Type | Method and Description |
|---|---|
TokenRangeClusterer |
clusterer()
Returns a
TokenRangeClusterer for the type of tokens managed by this token factory. |
BulkTokenRange |
range(Token start,
Token end,
Set<EndPoint> replicas)
Creates a
BulkTokenRange for the given start and end tokens. |
TokenRangeSplitter |
splitter()
Returns a
TokenRangeSplitter for the type of tokens managed by this token factory. |
BigInteger |
totalTokenCount() |
format, getPartitionerName, hash, minToken, parse, rangeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforPartitionerformat, getPartitionerName, hash, minToken, parse, rangepublic static final BigInteger TOTAL_TOKEN_COUNT
@NonNull public BigInteger totalTokenCount()
totalTokenCount in interface BulkTokenFactory@NonNull public BulkTokenRange range(@NonNull Token start, @NonNull Token end, @NonNull Set<EndPoint> replicas)
BulkTokenFactoryBulkTokenRange for the given start and end tokens.range in interface BulkTokenFactory@NonNull public TokenRangeSplitter splitter()
BulkTokenFactoryTokenRangeSplitter for the type of tokens managed by this token factory.splitter in interface BulkTokenFactory@NonNull public TokenRangeClusterer clusterer()
BulkTokenFactoryTokenRangeClusterer for the type of tokens managed by this token factory.clusterer in interface BulkTokenFactoryCopyright © 2017–2021 DataStax. All rights reserved.