Cassandra use PHP SimpleCassie get all keys
Posted
by
chnet
on Stack Overflow
See other posts from Stack Overflow
or by chnet
Published on 2011-03-01T05:20:21Z
Indexed on
2011/03/01
7:24 UTC
Read the original article
Hit count: 371
Is it possible to get all keys in a column family using SimpleCassie? I looked at SimpleCassie's google code, but do not figure out.
Another issue is that I used following code to access column value.
$price = $cassie->keyspace('ToyStore')->cf('Toys')->key('Transformer')->column('Price')->get();
echo $price;
It always complains "object of cassandra columnorsupercolumn cannot be converted to string". Is it possible to print out the column value?
© Stack Overflow or respective owner