Class CassandraKeyValueServices
- java.lang.Object
-
- com.palantir.atlasdb.keyvalue.cassandra.CassandraKeyValueServices
-
public final class CassandraKeyValueServices extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]
METADATA_COL
static String
VERSION_UNREACHABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.palantir.util.Pair<byte[],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(ByteBuffer buffer)
static ByteBuffer
makeCompositeBuffer(byte[] colName, long positiveTimestamp)
-
-
-
Field Detail
-
VERSION_UNREACHABLE
public static final String VERSION_UNREACHABLE
- See Also:
- Constant Field Values
-
METADATA_COL
public static final byte[] METADATA_COL
-
-
Method Detail
-
makeCompositeBuffer
public static ByteBuffer makeCompositeBuffer(byte[] colName, long positiveTimestamp)
-
decomposeName
public static com.palantir.util.Pair<byte[],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(ByteBuffer buffer)
-
-