Hello,
Here is the code that i used to *get_slice* could any one correct me where I
went wrong. The code compiles right but gives me a Default TException
vector<ColumnOrSuperColumn> lcosc;
SlicePredicate sp;
sp.column_names.push_back("thread1");
sp.column_names.push_back("thread2");
sp.column_names.push_back("thread3");
ColumnOrSuperColumn cosc;
ColumnParent CP;
CP.column_family="Posts";
client.get_slice(lcosc,
"keyspace_forum",
"post_1" ,
CP,
sp,
ONE);
vector<ColumnOrSuperColumn> :: iterator vit;
for(vit = lcosc.begin(); vit!=lcosc.end(); vit++) {
std::cout<<(*vit).column.name.c_str()<<endl;
}
thank you
shirish