cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Fortin <>
Subject best way to do a count
Date Wed, 12 Jan 2011 20:12:38 GMT
I was working on a schema that looks something like this:

HitFamily [UUID 1] ['user-agent'] = '…'
HitFamily [UUID 1] ['referer'] = '…'
HitFamily [UUID 1] ['client_id'] = Long

HitCountFamily [client_id as Long] [Current Date as Long] = UUID1

What I'd like to do is count the columns between a date rage without returning them.  Is it
possible to get a count of rows in a slice?  Looking at hector and thrift there doesn't seem
to be a way to do that.  How have other handled this?


View raw message