incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Two things about get_count API
Date Tue, 31 Aug 2010 15:03:09 GMT
On Tue, Aug 31, 2010 at 9:12 AM, Dop Sun <sunht@dopsun.com> wrote:
> But as per the Thrift Client API, it looks like the valid version is:
>
> i32 get_count(string keyspace, string key, ColumnParent column_parent, SlicePredicate predicate,
> ConsistencyLevel consistency_level)
>
>
>
> And this is valid both 0.6.x and 0.7.beta1. Is this a documentation issue?

This is not valid in 0.6.

> Also, looks like in Cassandra 0.7 beta 1, the SlicePredicate changed a
> little bit:
>
> In 0.6.x, it seems that count accepts  -1  in Cassandra 0.6.x (which in
> practices, return all columns), but in 0.7 beta 1, negative not allowed.  Is
> this a newly introduced changes in 0.7.x?

If it worked in 0.6 it was entirely accidental.

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message