Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62AE910B50 for ; Thu, 11 Jul 2013 01:08:31 +0000 (UTC) Received: (qmail 79110 invoked by uid 500); 11 Jul 2013 01:08:29 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 79090 invoked by uid 500); 11 Jul 2013 01:08:29 -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 79082 invoked by uid 99); 11 Jul 2013 01:08:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 01:08:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fsareshwala@quantcast.com designates 64.78.22.18 as permitted sender) Received: from [64.78.22.18] (HELO EXHUB017-3.exch017.msoutlookonline.net) (64.78.22.18) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 01:08:23 +0000 Received: from quantcast.com (24.4.13.62) by smtpx17.msoutlookonline.net (64.78.22.38) with Microsoft SMTP Server (TLS) id 8.3.264.0; Wed, 10 Jul 2013 18:08:01 -0700 Date: Wed, 10 Jul 2013 18:07:49 -0700 From: Faraaz Sareshwala To: "user@cassandra.apache.org" Subject: Re: Working with libcql Message-ID: <20130711010749.GC12533@quantcast.com> References: <3ydpjhv9b1vmtu25km8xkjh9.1373504155729@email.android.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3ydpjhv9b1vmtu25km8xkjh9.1373504155729@email.android.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org On that note, is anyone using this library in production? Can anyone speak to its stability and readiness for use? I only noticed it on the list of cassandra clients a few days ago and haven't heard much talk about it elsewhere. Faraaz On Wed, Jul 10, 2013 at 05:55:55PM -0700, Baskar Duraikannu wrote: > You can replace "USE" statement with create statement and then change > use_callback with whatever you want to do next. > > -- > Thanks, > Baskar Duraikannu > > Shubham Mittal wrote: > > So, if I want to create a keyspace, what do I need to change in that file? > > > On Thu, Jul 11, 2013 at 5:04 AM, aaron morton wrote: > > The highlighted line will read all the rows from the system table that > lists the keyspaces in the cluster.� > > Cheers > > ----------------- > Aaron Morton > Freelance Cassandra Consultant > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 9/07/2013, at 9:46 PM, Shubham Mittal wrote: > > > yeah I tried that and below is the output I get� > > LOG: resolving remote host localhost:9160 > LOG: resolved remote host, attempting to connect > LOG: connection successful to remote host > LOG: sending message: 0x0100000500000000 {version: 0x01, flags: 0x00, > stream: 0x00, opcode: 0x05, length: 0} OPTIONS > LOG: wrote to socket 8 bytes > LOG: error reading header End of file > > and I checked all the keyspaces in my cluster, it changes nothing in > the cluster. > > I couldn't understand the code much. What is this code supposed to do > anyways? > > > On Tue, Jul 9, 2013 at 4:20 AM, aaron morton > wrote: > > Did you see the demo app ?� > Seems to have a few examples of reading data.� > > https://github.com/mstump/libcql/blob/master/demo/main.cpp#L85 > > Cheers > > ----------------- > Aaron Morton > Freelance Cassandra Consultant > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 9/07/2013, at 1:14 AM, Shubham Mittal > wrote: > > > Hi, > > I found out that there exist a C++ client libcql for cassandra > but its github repository just provides the example on how to > connect to cassandra. Is there anyone who has written some code > using�libcql to read and write data to a cassandra DB, kindly > share it. > > Thanks > > > > > > > >