incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Manuel Garcia del Moral <j...@southcode.com.ar>
Subject C++ API - get SuperColumn Values
Date Tue, 16 Mar 2010 17:39:49 GMT
Hi there

Any of you have a code as example of getting supercolumn values from a
Cassandra Server, from a C++ code?

I'm trying to do it like this:

  ColumnPath new_col;
    new_col.__isset.super_column = true;
    new_col.__isset.column     = true; /* this is required! */
    new_col.column_family.assign("Anonimos");
    new_col.super_column.assign("Tag");
    new_col.column.assign("300");

    ColumnOrSuperColumn ret_val;

    client.get(ret_val,
               "SocialAds",
               "300",
               new_col,
               ONE);


but it's not working (I'm getting  the error: Default TException)

Thanks in advance

Juan

Mime
View raw message