Re: any better way to retrieve data than using get_range_slices

2010-07-29 Thread Ken Matsumoto
to play with it soon. Aaron On 29 Jul, 2010,at 01:51 PM, Ken Matsumoto wrote: Hi all, Are there any better way to retrieve data from Cassandra than using get_range_slices? Now I'm going to port some programs using MySQL to Cassandra. The program query is like below: "select * from T

Re: any better way to retrieve data than using get_range_slices

2010-07-28 Thread Aaron Morton
o retrieve data from Cassandra than using get_range_slices? Now I'm going to port some programs using MySQL to Cassandra. The program query is like below: "select * from Table_A where date > 1/1/2008 and date < 12/31/2009 and locationID = 1" The result of the query will have

any better way to retrieve data than using get_range_slices

2010-07-28 Thread Ken Matsumoto
Hi all, Are there any better way to retrieve data from Cassandra than using get_range_slices? Now I'm going to port some programs using MySQL to Cassandra. The program query is like below: "select * from Table_A where date > 1/1/2008 and date < 12/31/2009 and locationID = 1

Re: Problem using get_range_slices

2010-04-21 Thread Jonathan Ellis
On Wed, Apr 21, 2010 at 2:19 PM, Guilherme Kaster wrote: > I've encountered a problem on cassandra 0.6 while using get_ranged_slices. > I use RP and when I use get_range_slices the keys are not returned in an > "ordered" maner, that means the last key on the list not always the > "greater" key in

Problem using get_range_slices

2010-04-21 Thread Guilherme Kaster
I've encountered a problem on cassandra 0.6 while using get_ranged_slices. I use RP and when I use get_range_slices the keys are not returned in an "ordered" maner, that means the last key on the list not always the "greater" key in the list, so I started getting repetitions and ONCE entered in an

Re: Using get_range_slices

2010-04-20 Thread Jonathan Ellis
you should use keys, not tokens. start with empty string. On Tue, Apr 20, 2010 at 5:12 PM, Chris Dean wrote: > I'd like to use get_range_slices to pull all the keys from a small CF > with 10,000 keys.  I'd also like to get them in chunks of 100 at a time. > Is there a way to do that? > > I thoug

Using get_range_slices

2010-04-20 Thread Chris Dean
I'd like to use get_range_slices to pull all the keys from a small CF with 10,000 keys. I'd also like to get them in chunks of 100 at a time. Is there a way to do that? I thought I could set start_token and end_token in KeyRange, but I can't figure out what the intial start_token should be. Chee