Re: Use Cassnadra thrift API with collection type

2014-06-24 Thread Huiliang Zhang
-- *From:* Huiliang Zhang zhl...@gmail.com *Sent:* Friday, June 20, 2014 10:10 PM *To:* user@cassandra.apache.org *Subject:* Use Cassnadra thrift API with collection type Hi, I have a problem when insert data of the map type into a cassandra table. I tried all kinds

RE: Use Cassnadra thrift API with collection type

2014-06-23 Thread James Campbell
thrift API with collection type Hi, I have a problem when insert data of the map type into a cassandra table. I tried all kinds of MapSerializer to serialize the Map data and did not succeed. My code is like this: Column column = new Column(); column.namehttp://column.name

Re: Use Cassnadra thrift API with collection type

2014-06-23 Thread Sylvain Lebresne
strongly advise you to stick to CQL if you want to use CQL collections. -- Sylvain -- *From:* Huiliang Zhang zhl...@gmail.com *Sent:* Friday, June 20, 2014 10:10 PM *To:* user@cassandra.apache.org *Subject:* Use Cassnadra thrift API with collection type Hi

Use Cassnadra thrift API with collection type

2014-06-20 Thread Huiliang Zhang
Hi, I have a problem when insert data of the map type into a cassandra table. I tried all kinds of MapSerializer to serialize the Map data and did not succeed. My code is like this: Column column = new Column(); column.name=columnSerializer.toByteBuffer(colname); // the