You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Patricio Echagüe <pa...@gmail.com> on 2010/05/01 08:06:34 UTC

Re: Basic Architecture Question

Roger, if you include the last read key as the start key for the next API
call, will that retrieve the same key/row twice?

The documentation says that both keys (start, finish) are included.
Thanks

On Thu, Apr 29, 2010 at 1:31 PM, Brandon Williams <dr...@gmail.com> wrote:

> On Thu, Apr 29, 2010 at 10:19 AM, David Boxenhorn <da...@lookin2.com>wrote:
>
>> So now we can do any kind of range queries, not just "for getting all
>> keys" as Jesse said?
>>
>
> With RP, the key ranges are based on the MD5 sum of the key, so it's really
> only useful for getting all keys, or obtaining a semi-random row.
>
> -Brandon
>



-- 
Patricio.-

Re: Basic Architecture Question

Posted by Jonathan Ellis <jb...@gmail.com>.
It will.

2010/5/1 Patricio Echagüe <pa...@gmail.com>:
> Roger, if you include the last read key as the start key for the next API
> call, will that retrieve the same key/row twice?
> The documentation says that both keys (start, finish) are included.
> Thanks
>
> On Thu, Apr 29, 2010 at 1:31 PM, Brandon Williams <dr...@gmail.com> wrote:
>>
>> On Thu, Apr 29, 2010 at 10:19 AM, David Boxenhorn <da...@lookin2.com>
>> wrote:
>>>
>>> So now we can do any kind of range queries, not just "for getting all
>>> keys" as Jesse said?
>>
>> With RP, the key ranges are based on the MD5 sum of the key, so it's
>> really only useful for getting all keys, or obtaining a semi-random row.
>> -Brandon
>
>
> --
> Patricio.-
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com