[prev in list] [next in list] [prev in thread] [next in thread]
List: cassandra-dev
Subject: Default Texception
From: shirish <shirishreddy89 () gmail ! com>
Date: 2010-03-17 10:28:57
Message-ID: eb7566181003170316h48cb8695xf2705222cff616bd () mail ! gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic