Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 82007 invoked from network); 16 May 2010 09:37:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 May 2010 09:37:58 -0000 Received: (qmail 57770 invoked by uid 500); 16 May 2010 09:37:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 57709 invoked by uid 500); 16 May 2010 09:37:57 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 57701 invoked by uid 99); 16 May 2010 09:37:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 09:37:56 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 09:37:49 +0000 Received: by fxm16 with SMTP id 16so2565516fxm.31 for ; Sun, 16 May 2010 02:37:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.102.13.11 with SMTP id 11mr2345586mum.74.1274002645503; Sun, 16 May 2010 02:37:25 -0700 (PDT) Received: by 10.102.228.18 with HTTP; Sun, 16 May 2010 02:37:25 -0700 (PDT) X-Originating-IP: [80.179.102.198] In-Reply-To: <4BEC89D5.4040507@dehora.net> References: <4BEBC3CE.1090105@dehora.net> <4BEC1071.80308@dehora.net> <4BEC89D5.4040507@dehora.net> Date: Sun, 16 May 2010 12:37:25 +0300 Message-ID: Subject: Re: list of columns From: David Boxenhorn To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636499e5320cd8f0486b2db0e X-Virus-Checked: Checked by ClamAV on apache.org --001636499e5320cd8f0486b2db0e Content-Type: text/plain; charset=ISO-8859-1 Bill, I am a new user of Cassandra, so I've been following this discussion with interest. I think the answer is "no", except for the brute force method of looping through all your data. It's like asking for a list of all the files on your C: drive. The term "column" is very misleading, since "columns" are really leaves of a tree structure, not columns of a tabular structure. Anybody want to tell me I'm wrong? BTW, Bill, I think we've corresponded before, here: http://www.dehora.net/journal/2004/04/whats_in_a_name.html On Fri, May 14, 2010 at 2:23 AM, Bill de hOra wrote: > A SlicePredicate/SliceRange can't exclude column values afaik. > > Bill > > > Jonathan Shook wrote: > >> get_slice >> >> see: http://wiki.apache.org/cassandra/API under get_slice and >> SlicePredicate >> >> On Thu, May 13, 2010 at 9:45 AM, Bill de hOra wrote: >> >>> get_count returns the number of columns, not the names of those columns? >>> I >>> should have been specific, by "list the columns", I meant "list the >>> column >>> names". >>> >>> Bill >>> >>> Gary Dusbabek wrote: >>> >>>> We have get_count at the thrift level. You supply a predicate and it >>>> returns the number of columns that match. There is also >>>> multi_get_count, which is the same operation against multiple keys. >>>> >>>> Gary. >>>> >>>> >>>> On Thu, May 13, 2010 at 04:18, Bill de hOra wrote: >>>> >>>>> Admin question - is there a way to list the columns for a particular >>>>> key? >>>>> >>>>> Bill >>>>> >>>>> >>> > --001636499e5320cd8f0486b2db0e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Bill, I am a new user of Cassandra, so I've been follo= wing this discussion with interest. I think the answer is "no", e= xcept for the brute force method of looping through all your data. It's= like asking for a list of all the files on your C: drive. The term "c= olumn" is very misleading, since "columns" are really leaves= of a tree structure, not columns of a tabular structure.

Anybody want to tell me I'm wrong?

BTW, Bill, I think we'= ;ve corresponded before, here: http://www.dehora.net/journal/2004/04/whats_in_a= _name.html

On Fri, May 14, 2010 at 2:23 AM, Bill de hOr= a <bill@dehora.net<= /a>> wrote:
A SlicePredicate/SliceRange can't exclude column values afaik.

Bill


Jonathan Shook wrote:
get_slice

see:
htt= p://wiki.apache.org/cassandra/API under get_slice and SlicePredicate
On Thu, May 13, 2010 at 9:45 AM, Bill de hOra <bill@dehora.net> wrote:
get_count returns the number of columns, not the names of those columns? I<= br> should have been specific, by "list the columns", I meant "l= ist the column
names".

Bill

Gary Dusbabek wrote:
We have get_count at the thrift level. =A0You supply a predicate and it
returns the number of columns that match. =A0There is also
multi_get_count, which is the same operation against multiple keys.

Gary.


On Thu, May 13, 2010 at 04:18, Bill de hOra <bill@dehora.net> wrote:
Admin question - is there a way to list the columns for a particular key?
Bill




--001636499e5320cd8f0486b2db0e--