Re: C++ client for Cassandra

2011-02-21 Thread Padraig O'Sullivan
Hi, I had some spare time this weekend so I updated libcassandra to work with the latest stable release of cassandra (0.7.2). Creating/dropping column familes and keyspaces is now supported through libcassandra. I updated the API a fair bit based on the new changes in 0.7. -Padraig On Wed, Dec

Re: SuperColumns in C++ API

2010-03-15 Thread Padraig O'Sullivan
You need to manually set the __isset fields when using the thift API in C++. Since you are trying to insert a super column, you need to set the super_column __isset field. So this: new_col.__isset.column = true; should become: new_col.__isset.super_column = true; -Padraig On Mon, Mar 15, 2010

Re: C++ Thrift API Examples

2010-03-15 Thread Padraig O'Sullivan
On Mon, Mar 15, 2010 at 9:10 AM, Juan Manuel Garcia del Moral wrote: > Dear sirs > > I'm wondering if any of you had the chance to implement Cassandra client > funtions in a program, using the c++ thrift api... > > I really appreciate any example, or code snippet, or something. There is a C++ wra