Re: cassandra client sample code for 0.7.3

2011-03-25 Thread Anurag Gujral
Hi Narendra, Thanks for your email Which thrift version are you using.I am using thrift-0.0.5 in which batch_mutate takes map> as argument in ur sample code ur map is of type map> Please Suggest Thanks Anurag On Fri, Mar 25, 2011 at 12:10 AM, Narendra Sharma wrote: > Hope you

Re: cassandra client sample code for 0.7.3

2011-03-25 Thread Narendra Sharma
Hope you find following useful. It uses raw thirft. In case you find difficulty in build and/or running the code, please reply back. private Cassandra.Client createClient(String host, int port) { TTransport framedTransport = new TFramedTransport(new TSocket(host, port)); TProtocol framedPr

cassandra client sample code for 0.7.3

2011-03-24 Thread Anurag Gujral
I am in need of sample code(basically cassandra client) in java using batch_mutate If someone has please reply back Thanks Anurag