Class CassandraKeyValueServices


  • public final class CassandraKeyValueServices
    extends java.lang.Object
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)