cassandra-client-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Partogi <>
Subject Re: Does Ruby library returns the RowKey?
Date Fri, 11 Feb 2011 09:58:26 GMT
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.


On Fri, Feb 11, 2011 at 3:35 AM, Ryan King <> wrote:
> On Thu, Feb 10, 2011 at 2:17 AM, Joshua Partogi <> 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


View raw message