Example usage for org.apache.cassandra.dht Murmur3Partitioner instance

List of usage examples for org.apache.cassandra.dht Murmur3Partitioner instance

Introduction

In this page you can find the example usage for org.apache.cassandra.dht Murmur3Partitioner instance.

Prototype

Murmur3Partitioner instance

To view the source code for org.apache.cassandra.dht Murmur3Partitioner instance.

Click Source Link

Usage

From source file:com.stratio.cassandra.lucene.key.KeyEntry.java

License:Apache License

/**
 * Returns the partitioning token.
 *
 * @return the token
 */
public Token getToken() {
    return Murmur3Partitioner.instance.getTokenFactory().fromByteArray(components[0]);
}