Class CassandraKeyValueServices


  • public final class CassandraKeyValueServices
    extends Object
    • Field Detail

      • 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)