Re: Working with libcql

2013-07-11 Thread Sorin Manolache
On 2013-07-09 11:46, Shubham Mittal wrote: yeah I tried that and below is the output I get LOG: resolving remote host localhost:9160 libcql is an implementation for the "new binary transport protocol": https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=doc/native_protocol

Re: Working with libcql

2013-07-10 Thread Faraaz Sareshwala
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 w

Re: Working with libcql

2013-07-10 Thread Baskar Duraikannu
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 m

Re: Working with libcql

2013-07-10 Thread Shubham Mittal
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 > Freelan

Re: Working with libcql

2013-07-10 Thread aaron morton
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 trie

Re: Working with libcql

2013-07-09 Thread Shubham Mittal
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: 0x0105 {version: 0x01, flags: 0x00, stream: 0x00, opcode: 0x05, length: 0} OPTIONS

Re: Working with libcql

2013-07-08 Thread aaron morton
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