incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: statistcs query on cassandra
Date Mon, 04 Apr 2011 22:46:11 GMT
No. 

You could  build a custom secondary index where "column=value" is the key and startKey and
endKey are column names. Then call get_count() with a SlicePredicate that specifies the startKey
and endKey as the start and finish column names. 

Aaron

On 5 Apr 2011, at 01:45, Donal Zang wrote:

> Can we do count like this?
> count <cf>[<startKey>:<endKey>] where <column> = <value>
> -- 
> Donal Zang
> Computing Center, IHEP 
> 19B YuquanLu, Shijingshan District,Beijing, 100049
> zangds@ihep.ac.cn
> 86 010 8823 6018 


Mime
View raw message