I am writing a cpp client to cassandra 1.2 (IDL 19.35) and I am trying to figure out how to enable support to list, set and map columns type.
Normally, after a SELECT operation via thrift's execute_cql3_query(), I get the CqlResult obj, then loop through returned rows and columns and depending on the type of the column (org.apache.cassandra.db.marshal.LongType, ...Int32Type, ...UTF8Type, whatever), I cast the value properly.
My question is: how to cast a value of type List, Set, or Map?
Like: ListType(org.apache.cassandra.db.marshal.Int32Type), SetType(..), MapType(...).
And where can I find this kind of information?