Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 12849 invoked from network); 20 Dec 2009 14:55:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Dec 2009 14:55:10 -0000 Received: (qmail 39931 invoked by uid 500); 20 Dec 2009 14:55:09 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 39871 invoked by uid 500); 20 Dec 2009 14:55:09 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 39862 invoked by uid 99); 20 Dec 2009 14:55:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Dec 2009 14:55:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.219.210 as permitted sender) Received: from [209.85.219.210] (HELO mail-ew0-f210.google.com) (209.85.219.210) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Dec 2009 14:55:01 +0000 Received: by ewy2 with SMTP id 2so5168416ewy.27 for ; Sun, 20 Dec 2009 06:54:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=flo79UhvcUwx4ki8mpPkyOwNgndA705mL4Rb4F+Wy6g=; b=TOxnJXCcp8EeO0a7fYMy24wBYSgesCPEKxWsGboVvcuvWH4vgrfBO7Hw032c4wn/eP rLgMlB48TzQTv1vqK0Fvp6vEV5i4pBeESVYKTvE/19wjBtlFRA8nLAO26l32/YNM0bgE fjH2nrBYkrkpZMSQqAtq+cS8G0CQom9Lte0OQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=hw84jq+sNIBf/4V5yTcbTDg8YMvloPFsdTwU/T/KEWUmEM1Rhuz+qSu75rV778igmG +DJyvB7PtjC266axkDUrjsVUAI+v05idGUjRKZiblOhgXiAEAWjemNekVw6vTInzWffd Wac0eupWf6FfR83LpLZeMFyiQlJizk9I8uXIw= MIME-Version: 1.0 Received: by 10.216.89.80 with SMTP id b58mr2191829wef.73.1261320880229; Sun, 20 Dec 2009 06:54:40 -0800 (PST) In-Reply-To: <20091220144646.34505e56@gmail.com> References: <20091219224551.15b57097@gmail.com> <20091220144646.34505e56@gmail.com> From: Jonathan Ellis Date: Sun, 20 Dec 2009 08:54:20 -0600 Message-ID: Subject: Re: How to obtain a row with column map To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Right, subcolumn order is important, and Thrift does not support deserializing to a SortedMap directly, so if that's the interface you want you will have to put them into one yourself. On Sun, Dec 20, 2009 at 7:46 AM, Jiri Jakes wrote: > On Sat, 19 Dec 2009 15:59:54 -0600 > Jonathan Ellis wrote: > >> Use get_slice with a columnfamily parent, and you will get back a list >> of supercolumns, including their subcolumns. >> > > Yes, the problem is that I cannot get a specified subcolumn of a > supercolumn at once. Calling the supercolumn's getColumns() returns a > _list_ of subcolumns so I have to iterate through them all and pick up > the one I am looking for. > > I wonder if I am missing something. > > Jiri >