hi all , I am trying Cassandra 7(using latest build) got problem in getting the latest column in a row.
and my code is here SlicePredicate predicate = new SlicePredicate(); predicate.slice_range = new SliceRange(new byte[0], new byte[0], true,1); ColumnParent column_parent = new ColumnParent("myColumnFamily"); List<ColumnOrSuperColumn> listCoList = javaClient.client.get_slice("key1" .getBytes(), column_parent, predicate, ConsistencyLevel.ONE); String colName = null; for (ColumnOrSuperColumn csc : listCoList) { colName= new String(csc.column.getName()); } here colName is not coming as the latest one. the one which is before latest is coming always as the latest one any solution ? help me Thanks, Bujji