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
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
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
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
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
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
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
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