I have just released the initial commit for a PHP CQL binary protocol
client. It is not completed yet, I'm currently working on
implementing compression, collections, and prepared queries. There is
an example of how to connect to a Cassandra server and issue a query,
in the examples folder
The spec for the protocol is here
https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=doc/native_protocol.spec;hb=refs/heads/cassandra-1.2
Cheers
-
Aaron Morton
Freelance Cassandra Developer
New Zealand
@aaronmorton
http://www.thelastpickle.com
On 1/02/2013,
Hi,
You may take a look to java-driver
https://github.com/datastax/java-driver project. It has an
implementation for connection pool.
Cheers,
Gabi
On 1/31/13 6:48 PM, Vivek Mishra wrote:
Hi,
Any connection pool API available for cassandra transport
https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=doc/native_protocol.spec
On Fri, Jan 25, 2013 at 10:15 AM, Vivek Mishra mishra.v...@gmail.comwrote:
Hi,
I am looking for some sort documentation around usage for CQL binary
protocol. Basically i need some documentation
, 2013 at 10:15 AM, Vivek Mishra mishra.v...@gmail.comwrote:
Hi,
I am looking for some sort documentation around usage for CQL binary
protocol. Basically i need some documentation about usage of cassandra
native transport and it's usage.
-Vivek
:
https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=doc/native_protocol.spec
On Fri, Jan 25, 2013 at 10:15 AM, Vivek Mishra mishra.v...@gmail.comwrote:
Hi,
I am looking for some sort documentation around usage for CQL binary
protocol. Basically i need some documentation about
am looking for some sort documentation around usage for CQL binary
protocol. Basically i need some documentation about usage of cassandra
native transport and it's usage.
-Vivek
Is this a valid assumption that cassandra-cli will not work, if Cassandra
server is getting started by enabling CQL binary protocol?
-Vivek
On Fri, Jan 25, 2013 at 11:24 AM, Vivek Mishra mishra.v...@gmail.comwrote:
Any documentation for this?
For what? For the code? Everyone knows the code is it's own documentation!
--
Sylvain
OK.I guess that's why there is a need of class/method level java comments.
-Vivek
On Fri, Jan 25, 2013 at 4:28 PM, Sylvain Lebresne sylv...@datastax.comwrote:
On Fri, Jan 25, 2013 at 11:24 AM, Vivek Mishra mishra.v...@gmail.comwrote:
Any documentation for this?
For what? For the code?
cqlsh does not use the native protocol (It may and hopefully will someday
but it's not the case right now).
--
Sylvain
On Fri, Jan 25, 2013 at 11:49 AM, Vivek Mishra mishra.v...@gmail.comwrote:
I have enabled *start_native_transport: true* in cassandra.yaml and then
tried to connect from
Then only possible way is via creating own java program to connect/execute?
And then restart again in Thrift mode to connect via cqlsh/cassandra-cli ?
-Vivek
On Fri, Jan 25, 2013 at 4:30 PM, Sylvain Lebresne sylv...@datastax.comwrote:
cqlsh does not use the native protocol (It may and
point cassandra-cli to the port used by the binary
protocol, that won't work either.
--
Sylvain
On Fri, Jan 25, 2013 at 11:53 AM, Vivek Mishra mishra.v...@gmail.comwrote:
Is this a valid assumption that cassandra-cli will not work, if Cassandra
server is getting started by enabling CQL binary
by enabling CQL binary protocol?
-Vivek
For Beginners on any new open source, it is always good to have atleast
some sort of comments!
-Vivek
On Fri, Jan 25, 2013 at 4:30 PM, Vivek Mishra mishra.v...@gmail.com wrote:
OK.I guess that's why there is a need of class/method level java comments.
-Vivek
On Fri, Jan 25, 2013 at 4:28
cassandra-cli to the port used by the binary
protocol, that won't work either.
--
Sylvain
On Fri, Jan 25, 2013 at 11:53 AM, Vivek Mishra mishra.v...@gmail.comwrote:
Is this a valid assumption that cassandra-cli will not work, if
Cassandra server is getting started by enabling CQL binary protocol
Hello,
Executing a query using an invalid CL with binary protocol leads to an
invalid response streamId (always 0).
I've created following issue then:
https://issues.apache.org/jira/browse/CASSANDRA-5164
Thanks,
- Pierre
17 matches
Mail list logo