Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 5921 invoked from network); 16 Mar 2010 17:40:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Mar 2010 17:40:18 -0000 Received: (qmail 50446 invoked by uid 500); 16 Mar 2010 17:40:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 50429 invoked by uid 500); 16 Mar 2010 17:40:18 -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 50421 invoked by uid 99); 16 Mar 2010 17:40:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 17:40:18 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [72.14.220.155] (HELO fg-out-1718.google.com) (72.14.220.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 17:40:10 +0000 Received: by fg-out-1718.google.com with SMTP id 16so303605fgg.7 for ; Tue, 16 Mar 2010 10:39:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.183.147 with SMTP id u19mr618152hbg.106.1268761189752; Tue, 16 Mar 2010 10:39:49 -0700 (PDT) Date: Tue, 16 Mar 2010 14:39:49 -0300 Message-ID: Subject: C++ API - get SuperColumn Values From: Juan Manuel Garcia del Moral To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001485f5cef2051f140481ee7ceb X-Virus-Checked: Checked by ClamAV on apache.org --001485f5cef2051f140481ee7ceb Content-Type: text/plain; charset=ISO-8859-1 Hi there Any of you have a code as example of getting supercolumn values from a Cassandra Server, from a C++ code? I'm trying to do it like this: ColumnPath new_col; new_col.__isset.super_column = true; new_col.__isset.column = true; /* this is required! */ new_col.column_family.assign("Anonimos"); new_col.super_column.assign("Tag"); new_col.column.assign("300"); ColumnOrSuperColumn ret_val; client.get(ret_val, "SocialAds", "300", new_col, ONE); but it's not working (I'm getting the error: Default TException) Thanks in advance Juan --001485f5cef2051f140481ee7ceb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi there

Any of you have a code as example of getting supercolumn va= lues from a Cassandra Server, from a C++ code?

I'm trying to do = it like this:

=A0 ColumnPath new_col;
=A0=A0=A0 new_col.__isset.s= uper_column =3D true;
=A0=A0=A0 new_col.__isset.column=A0=A0=A0 =A0=3D true; /* this is required!= */
=A0=A0=A0 new_col.column_family.assign("Anonimos");
=A0= =A0=A0 new_col.super_column.assign("Tag");
=A0=A0=A0 new_col.c= olumn.assign("300");

=A0=A0=A0 ColumnOrSuperColumn ret_val;
=A0
=A0=A0=A0 client.get(r= et_val,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "SocialAds"= ,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "300",
=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 new_col,
=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 ONE);


but it's not working (I'm getti= ng=A0 the error: Default TException)

Thanks in advance

Juan

--001485f5cef2051f140481ee7ceb--