Sorry Ryan, you are right. If I use multi_get, it will also return the rowkey.

Thanks heaps.

On Fri, Feb 11, 2011 at 8:58 PM, Joshua Partogi <joshua.j...@gmail.com> wrote:
> Hi Ryan,
>
> Thanks for the prompt response.
>
> I am talking about the get method in cassandra.rb
>
> get will call multi_get, which also returns OrderedHash. So how come
> calling multi_get will also include the row key? Why doesn't it make
> sense to return a row key on a get? I don't understand.
>
> Thanks
>
> On Fri, Feb 11, 2011 at 3:35 AM, Ryan King <r...@twitter.com> wrote:
>> On Thu, Feb 10, 2011 at 2:17 AM, Joshua Partogi <joshua.j...@gmail.com> 
>> wrote:
>>> Hi,
>>>
>>> Does the Ruby library currently returns the RowKey during a row get?
>>> From what I am seeing it seems like it is only returning an
>>> OrderedHash of the columns. Would it be possible to return the RowKey,
>>> or it doesn't make sense to do so?
>>
>> Which method are you talking about? It doesn't make sense to return
>> the row key on a get or get_slice, but does for multiget and company
>> (which it should already).
>>
>> -ryan
>>
>
>
>
> --
> http://twitter.com/jpartogi
>



-- 
http://twitter.com/jpartogi

Reply via email to