Return-Path: Delivered-To: apmail-cassandra-client-dev-archive@minotaur.apache.org Received: (qmail 10113 invoked from network); 11 Feb 2011 09:58:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2011 09:58:57 -0000 Received: (qmail 7846 invoked by uid 500); 11 Feb 2011 09:58:57 -0000 Delivered-To: apmail-cassandra-client-dev-archive@cassandra.apache.org Received: (qmail 7707 invoked by uid 500); 11 Feb 2011 09:58:54 -0000 Mailing-List: contact client-dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: client-dev@cassandra.apache.org Delivered-To: mailing list client-dev@cassandra.apache.org Received: (qmail 7693 invoked by uid 99); 11 Feb 2011 09:58:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 09:58:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of joshua.java@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 09:58:48 +0000 Received: by fxm9 with SMTP id 9so2909912fxm.31 for ; Fri, 11 Feb 2011 01:58:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=GixZ9FKSyobkp0zNcvflMX5Chh+daCX500u/p2dXw+w=; b=gJsy7iBl/cUX0ar74+pAO8nXNzyFzfTS6WZyHaofb87mWofrR5S4AllKX0U4fvVE3m tzyrPiL76+G+/LpQKXBM2MolXGRd/cIWzcYmFJQEdnwx3SQKhtBHXSkOoyj1S2ctesHY /U4KS9S2CW7/gq6cEexyKxaYp25soxa21DQro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wNl6x8ENIgyhpmWCwvM12pDNx+GRLEBq5Me7+8jhwXfCiBkyjI5+3OaANnnR2Uuvge cRW+XOKY6wC8++5J7MI924tN2wahm+7W6TIkfeH/3Sll6ci0VVedpfh+tqNq8o0R3Hjd /+nZOFGul1dCgl7LpdmxYVhWOerPAZ+Be3sg0= MIME-Version: 1.0 Received: by 10.223.78.135 with SMTP id l7mr306574fak.116.1297418306822; Fri, 11 Feb 2011 01:58:26 -0800 (PST) Received: by 10.223.124.197 with HTTP; Fri, 11 Feb 2011 01:58:26 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Feb 2011 20:58:26 +1100 Message-ID: Subject: Re: Does Ruby library returns the RowKey? From: Joshua Partogi To: client-dev@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 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 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 > -- http://twitter.com/jpartogi