@Test public void createColumnWithGivenValueCreatesItWithAssociatedCassandraTimestamp() { assertThat(CassandraKeyValueServices.createColumn(CELL, Value.create(DATA, 1000)).getTimestamp()) .isEqualTo(1000); assertThat(CassandraKeyValueServices.createColumn(CELL, Value.create(DATA, 5000)).getTimestamp()) .isEqualTo(5000); }
static Column createColumn(Cell cell, Value value) { return createColumnAtSpecificCassandraTimestamp(cell, value, value.getTimestamp()); }
CassandraKeyValueServices { static Column createColumn(Cell cell, Value value) { return createColumnAtSpecificCassandraTimestamp(cell, value, value.getTimestamp()); } }
CassandraKeyValueServices { static Column createColumn(Cell cell, Value value) { return createColumnAtSpecificCassandraTimestamp(cell, value, value.getTimestamp()); } private  CassandraKeyValueServices(); }
CassandraKeyValueServices { static Column createColumn(Cell cell, Value value) { return createColumnAtSpecificCassandraTimestamp(cell, value, value.getTimestamp()); } private  CassandraKeyValueServices(); static ByteBuffer makeCompositeBuffer(byte[] colName, long positiveTimestamp); static Pair<byte[], Long> decomposeName(Column column); static byte[] getBytesFromByteBuffer(ByteBuffer buffer); }
CassandraKeyValueServices { static Column createColumn(Cell cell, Value value) { return createColumnAtSpecificCassandraTimestamp(cell, value, value.getTimestamp()); } private  CassandraKeyValueServices(); static ByteBuffer makeCompositeBuffer(byte[] colName, long positiveTimestamp); static Pair<byte[], Long> decomposeName(Column column); static byte[] getBytesFromByteBuffer(ByteBuffer buffer); static final String VERSION_UNREACHABLE; static final byte[] METADATA_COL; }