|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.dht.AbstractByteOrderedPartitioner
org.apache.cassandra.dht.ByteOrderedPartitioner
public class ByteOrderedPartitioner
Field Summary |
---|
Fields inherited from class org.apache.cassandra.dht.AbstractByteOrderedPartitioner |
---|
BYTE_MASK, MINIMUM |
Constructor Summary | |
---|---|
ByteOrderedPartitioner()
|
Method Summary | |
---|---|
java.util.Map<Token,java.lang.Float> |
describeOwnership(java.util.List<Token> sortedTokens)
Calculate the deltas between tokens in the ring in order to compare relative sizes. |
BytesToken |
getToken(java.nio.ByteBuffer key)
|
Methods inherited from class org.apache.cassandra.dht.AbstractByteOrderedPartitioner |
---|
convertFromDiskFormat, decorateKey, getMinimumToken, getRandomToken, getTokenFactory, midpoint, preservesOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteOrderedPartitioner()
Method Detail |
---|
public BytesToken getToken(java.nio.ByteBuffer key)
getToken
in interface IPartitioner<BytesToken>
getToken
in class AbstractByteOrderedPartitioner
public java.util.Map<Token,java.lang.Float> describeOwnership(java.util.List<Token> sortedTokens)
IPartitioner
sortedTokens
- a sorted List of Tokens
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |