You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Adam Fisk <a...@littleshoot.org> on 2009/12/22 02:55:00 UTC

SliceRange inclusive?

It looks like the "start" value in SliceRange is exclusive, is that
correct? What about "end"?

Thanks very much.

-Adam

-- 
Adam Fisk
http://www.littleshoot.org | http://adamfisk.wordpress.com |
http://twitter.com/adamfisk

Re: SliceRange inclusive?

Posted by Jonathan Ellis <jb...@gmail.com>.
All of those should be inclusive.

On Mon, Dec 21, 2009 at 8:47 PM, Adam Fisk <a...@littleshoot.org> wrote:
> Apologies for the back and forth, but it appears that get_range_slice
> is inclusive for both "start" and "finish" but SliceRange is exclusive
> at least for "start."
>
> Can anyone verify that behavior? I'll add a patch comment to
> cassandra.thrift if so. I'm still quite new to Cassandra and don't
> entirely trust what I'm seeing.
>
> Thanks.
>
> -Adam
>
>
> On Mon, Dec 21, 2009 at 6:00 PM, Adam Fisk <a...@littleshoot.org> wrote:
>> Ignore me -- just gave a closer read to the get_range_slice documentation.
>>
>> Thanks.
>>
>> -Adam
>>
>>
>> On Mon, Dec 21, 2009 at 5:55 PM, Adam Fisk <a...@littleshoot.org> wrote:
>>> It looks like the "start" value in SliceRange is exclusive, is that
>>> correct? What about "end"?
>>>
>>> Thanks very much.
>>>
>>> -Adam
>>>
>>> --
>>> Adam Fisk
>>> http://www.littleshoot.org | http://adamfisk.wordpress.com |
>>> http://twitter.com/adamfisk
>>>
>>
>>
>>
>> --
>> Adam Fisk
>> http://www.littleshoot.org | http://adamfisk.wordpress.com |
>> http://twitter.com/adamfisk
>>
>
>
>
> --
> Adam Fisk
> http://www.littleshoot.org | http://adamfisk.wordpress.com |
> http://twitter.com/adamfisk
>

Re: SliceRange inclusive?

Posted by Adam Fisk <a...@littleshoot.org>.
Apologies for the back and forth, but it appears that get_range_slice
is inclusive for both "start" and "finish" but SliceRange is exclusive
at least for "start."

Can anyone verify that behavior? I'll add a patch comment to
cassandra.thrift if so. I'm still quite new to Cassandra and don't
entirely trust what I'm seeing.

Thanks.

-Adam


On Mon, Dec 21, 2009 at 6:00 PM, Adam Fisk <a...@littleshoot.org> wrote:
> Ignore me -- just gave a closer read to the get_range_slice documentation.
>
> Thanks.
>
> -Adam
>
>
> On Mon, Dec 21, 2009 at 5:55 PM, Adam Fisk <a...@littleshoot.org> wrote:
>> It looks like the "start" value in SliceRange is exclusive, is that
>> correct? What about "end"?
>>
>> Thanks very much.
>>
>> -Adam
>>
>> --
>> Adam Fisk
>> http://www.littleshoot.org | http://adamfisk.wordpress.com |
>> http://twitter.com/adamfisk
>>
>
>
>
> --
> Adam Fisk
> http://www.littleshoot.org | http://adamfisk.wordpress.com |
> http://twitter.com/adamfisk
>



-- 
Adam Fisk
http://www.littleshoot.org | http://adamfisk.wordpress.com |
http://twitter.com/adamfisk

Re: SliceRange inclusive?

Posted by Adam Fisk <a...@littleshoot.org>.
Ignore me -- just gave a closer read to the get_range_slice documentation.

Thanks.

-Adam


On Mon, Dec 21, 2009 at 5:55 PM, Adam Fisk <a...@littleshoot.org> wrote:
> It looks like the "start" value in SliceRange is exclusive, is that
> correct? What about "end"?
>
> Thanks very much.
>
> -Adam
>
> --
> Adam Fisk
> http://www.littleshoot.org | http://adamfisk.wordpress.com |
> http://twitter.com/adamfisk
>



-- 
Adam Fisk
http://www.littleshoot.org | http://adamfisk.wordpress.com |
http://twitter.com/adamfisk