Class CassandraKeyValueServices
- java.lang.Object
-
- com.palantir.atlasdb.keyvalue.cassandra.CassandraKeyValueServices
-
public final class CassandraKeyValueServices extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]
METADATA_COL
static java.lang.String
VERSION_UNREACHABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.palantir.util.Pair<byte[],java.lang.Long>
decomposeName(org.apache.cassandra.thrift.Column column)
Convenience method to get the name buffer for the specified column and decompose it into the name and timestamp.static byte[]
getBytesFromByteBuffer(java.nio.ByteBuffer buffer)
static java.nio.ByteBuffer
makeCompositeBuffer(byte[] colName, long positiveTimestamp)
-
-
-
Field Detail
-
VERSION_UNREACHABLE
public static final java.lang.String VERSION_UNREACHABLE
- See Also:
- Constant Field Values
-
METADATA_COL
public static final byte[] METADATA_COL
-
-
Method Detail
-
makeCompositeBuffer
public static java.nio.ByteBuffer makeCompositeBuffer(byte[] colName, long positiveTimestamp)
-
decomposeName
public static com.palantir.util.Pair<byte[],java.lang.Long> decomposeName(org.apache.cassandra.thrift.Column column)
Convenience method to get the name buffer for the specified column and decompose it into the name and timestamp.
-
getBytesFromByteBuffer
public static byte[] getBytesFromByteBuffer(java.nio.ByteBuffer buffer)
-
-