incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lisek <m.lisow...@powerprice.pl>
Subject how to retrieve data from supercolumns by phpcassa ?
Date Thu, 12 Aug 2010 13:49:26 GMT

Hi all,

I've got cassandra superlcolumn looking like that:

<ColumnFamily Name="users" CompareWith="TimeUUIDType"
ColumnType="Super" CompareSubcolumnsWith="BytesType" />

now in this columnfamily I've inserted something like that:

["client"] => array(1) {
  ["2a3909c0-a612-11df-b27e-346336336631"]=>
    array(3) {
      ["add_date"]=>
      string(10) "1281618279"
      ["lastname"]=>
      string(8) "blablabla"
      ["name"]=>
      string(6) "myname"
  }

}

my question is, how to get from "client" this one "2a3909c0-a612-11df-
b27e-346336336631" column? I was tryin to get->('client', '2a3909c0-
a612-11df-b27e-346336336631') - but with no results... maybe I should
convert this "2a3909c0-a612-11df-b27e-346336336631" somehow before I
put it to get() ?

or maybe I'm thinking wrong way...

regards 
-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/how-to-retrieve-data-from-supercolumns-by-phpcassa-tp5416141p5416141.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message