cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nate McCall <>
Subject Re: order of output in get_slice
Date Tue, 08 Nov 2011 04:40:17 GMT
The results still come back in comparator order (increasing).

2011/11/7 Roland Hänel <>:
> Does a call to
> list<ColumnOrSuperColumn> get_slice(binary key, ColumnParent column_parent, SlicePredicate predicate, ConsistencyLevel consistency_level)
> give us any guarantees on the order of the returned list? I understand that
> when the predicate actually contains a sliceRange, then the order _is_
> guaranteed to be increasing (decreasing if the reverse flag is set). But
> when the predicate contains a list of column names instead of a range, do we
> also have the guarantee that the order is increasing (no decreasing option
> because no reverse flag here)?
> Greetings,
> Roland

View raw message