Re: Querying CQL3 collections from Java

2013-03-25 Thread Szárnyas Gábor
Thanks, this client library is really great! It should be included in the Apache Cassandra Wiki's "High level clients" page ( http://wiki.apache.org/cassandra/ClientOptions). Anyway, here is the code I created (using the cassandra-driver-core Maven artifact). Cluster cluster = Cluster.builder().ad

Re: Querying CQL3 collections from Java

2013-03-25 Thread Sylvain Lebresne
I would advise you not to use raw thrift. It's just a low-level transport as far as CQL3 is concerned, and what you will get is binary encoded data that you will have to decode manually. Use a client library (like https://github.com/datastax/java-driver) that will do that for you. Though to answer

Querying CQL3 collections from Java

2013-03-25 Thread Szárnyas Gábor
Hello! I got stuck when trying to query CQL3 collections from Java. I'm using Cassandra 1.2.3 with CQL3. I created a column family to store a property graph's edges with the following command: CREATE TABLE vertices ( id text PRIMARY KEY, properties map ) I can access the data from the cqlsh,