com.netflix.astyanax.partitioner
Class LongBOPPartitioner

java.lang.Object
  extended by com.netflix.astyanax.partitioner.BigInteger127Partitioner
      extended by com.netflix.astyanax.partitioner.LongBOPPartitioner
All Implemented Interfaces:
com.netflix.astyanax.partitioner.Partitioner

public class LongBOPPartitioner
extends BigInteger127Partitioner

This partitioner is used mostly for tests


Field Summary
 
Fields inherited from class com.netflix.astyanax.partitioner.BigInteger127Partitioner
MAXIMUM, MINIMUM, ONE
 
Constructor Summary
protected LongBOPPartitioner()
           
 
Method Summary
static com.netflix.astyanax.partitioner.Partitioner get()
           
 java.lang.String getTokenForKey(java.nio.ByteBuffer key)
           
 
Methods inherited from class com.netflix.astyanax.partitioner.BigInteger127Partitioner
getMaxToken, getMinToken, getTokenForKey, getTokenMinusOne, splitRange, splitTokenRange, splitTokenRange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongBOPPartitioner

protected LongBOPPartitioner()
Method Detail

get

public static com.netflix.astyanax.partitioner.Partitioner get()

getTokenForKey

public java.lang.String getTokenForKey(java.nio.ByteBuffer key)
Specified by:
getTokenForKey in interface com.netflix.astyanax.partitioner.Partitioner
Overrides:
getTokenForKey in class BigInteger127Partitioner