cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: date range queries
Date Thu, 19 Nov 2009 04:23:07 GMT
The easiest is to store the messages in a row with timeuuid column
names.  Then you can just use get_slice in either forward or reverse
order.

On Wed, Nov 18, 2009 at 6:07 PM, Adam Fisk <a@littleshoot.org> wrote:
> First off, very impressive project -- thanks for everyone's hard work!
> I'm wondering how I would do date range queries in Cassandra, say for
> all messages for a given user in the last week.
>
> Can someone provide an example?
>
> Thanks so much.
>
> -Adam
>
> --
> Adam Fisk
> http://www.littleshoot.org | http://adamfisk.wordpress.com |
> http://twitter.com/adamfisk
>

Mime
View raw message