Class LightweightOppToken
- java.lang.Object
-
- com.palantir.atlasdb.keyvalue.cassandra.LightweightOppToken
-
- All Implemented Interfaces:
Comparable<LightweightOppToken>
public class LightweightOppToken extends Object implements Comparable<LightweightOppToken>
-
-
Constructor Summary
Constructors Constructor Description LightweightOppToken(byte[] bytes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LightweightOppToken other)
ByteBuffer
deserialize()
boolean
equals(Object obj)
static LightweightOppToken
fromHex(String token)
static LightweightOppToken
getUpperInclusive(com.google.common.collect.Range<LightweightOppToken> range)
int
hashCode()
boolean
isEmpty()
static LightweightOppToken
of(com.palantir.atlasdb.keyvalue.api.Cell cell)
static LightweightOppToken
serialize(com.datastax.driver.core.Token token)
String
toString()
-
-
-
Method Detail
-
fromHex
public static LightweightOppToken fromHex(String token)
-
of
public static LightweightOppToken of(com.palantir.atlasdb.keyvalue.api.Cell cell)
-
serialize
public static LightweightOppToken serialize(com.datastax.driver.core.Token token)
-
getUpperInclusive
public static LightweightOppToken getUpperInclusive(com.google.common.collect.Range<LightweightOppToken> range)
-
deserialize
public ByteBuffer deserialize()
-
isEmpty
public boolean isEmpty()
-
compareTo
public int compareTo(LightweightOppToken other)
- Specified by:
compareTo
in interfaceComparable<LightweightOppToken>
-
-