Re: SV: SV: SV: Help with getting Key range with some column limitations

2010-08-21 Thread thelastpickle.com
t them >> >> Från: Jone Lura [mailto:jone.l...@ecc.no] >> Skickat: den 20 augusti 2010 10:37 >> Till: user@cassandra.apache.org >> Ämne: Re: SV: SV: Help with getting Key range with some column limitations >> >> Thanks! Read your blog a few times, but

Re: SV: SV: Help with getting Key range with some column limitations

2010-08-20 Thread Mark
= new SliceRange(); sliceRange.setStart(new byte[] {}); sliceRange.setFinish(new byte[] {}); /J *Från:* Jone Lura [mailto:jone.l...@ecc.no] *Skickat:* den 20 augusti 2010 08:53 *Till:* user@cassandra.apache.org *Ämne:* Re: SV: Help with getting Key range with some column limitations Thanks f

Re: SV: SV: SV: Help with getting Key range with some column limitations

2010-08-20 Thread Jone Lura
ll:* user@cassandra.apache.org *Ämne:* Re: SV: SV: Help with getting Key range with some column limitations Thanks! Read your blog a few times, but it's hard to get rid of sql thinking. So if I create a new standard ColumnFamily with a rowId and geohash a lat/lon into a UTF8Type, I could geohash the bo

SV: SV: SV: Help with getting Key range with some column limitations

2010-08-20 Thread Thorvaldsson Justus
that you probably want to make several and test them Från: Jone Lura [mailto:jone.l...@ecc.no] Skickat: den 20 augusti 2010 10:37 Till: user@cassandra.apache.org Ämne: Re: SV: SV: Help with getting Key range with some column limitations Thanks! Read your blog a few times, but it's hard to

Re: SV: SV: Help with getting Key range with some column limitations

2010-08-20 Thread Jone Lura
e.org *Ämne:* Re: SV: Help with getting Key range with some column limitations Thanks for you suggestions. I tried to iterate them, however I could not get it to work (pretty sure its my code). Im still not to familiar with Cassandra, so could you provide a small example? The key count cou

SV: SV: Help with getting Key range with some column limitations

2010-08-20 Thread Thorvaldsson Justus
w byte[] {}); sliceRange.setFinish(new byte[] {}); /J Från: Jone Lura [mailto:jone.l...@ecc.no] Skickat: den 20 augusti 2010 08:53 Till: user@cassandra.apache.org Ämne: Re: SV: Help with getting Key range with some column limitations Thanks for you suggestions. I tried to iterate them, however I could not get it t

Re: SV: Help with getting Key range with some column limitations

2010-08-19 Thread Jone Lura
Thanks for you suggestions. I tried to iterate them, however I could not get it to work (pretty sure its my code). Im still not to familiar with Cassandra, so could you provide a small example? The key count could be up to atleast 20k and maybe more, and users should not wait for more than

SV: Help with getting Key range with some column limitations

2010-08-18 Thread Thorvaldsson Justus
You should iterate through them, get 200 then go get the next 200 and so on. Also if checking a bounding box to another.. perhaps try sorting them so you could start looking at both ends, perhaps make the iteration smaller until match somehow? Just my simple coins, also upgrading will probably be