Hi,

 

Two things about get_count API:

 

1)

In the http://wiki.apache.org/cassandra/API, there is only one get_count
method there:

 

i32 get_count(string keyspace, string key, ColumnParent column_parent,
ConsistencyLevel consistency_level)

 

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?

 

2)

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?

 

Thanks,

Regard,

Dop

Reply via email to