hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Pearson" <sa...@pearsonwholesale.com>
Subject Thrift ScanEntry Object Question
Date Sat, 07 Jun 2008 02:54:24 GMT
when I pull some results the come back in array that are thrift object

$hbase = thrift connection
$data = $hbase->scannerGet($id);
[php ouput]
thrift_code_ScanEntry Object
    [row] => rownamehere
    [columns] => Array
            [x:self] =>data

[/php output]

The problem I am haveing is working with the data I can not extract the 
column->x:self->data out I get error now matter what I try


I get this error
PHP Fatal error:  Cannot use object of type thrift_code_ScanEntry as array

so its not returning a php array for php to work with so I have tryed to do
$x = new thrift_code_ScanEntry();
$output = $x->write($data1);
echo $output;
PHP Fatal error:  Call to undefined method 

so I am lost in the massive code base of thrift trying to track down how to 
read the data out of a ScanEntry Object. any help or examples would be nice!


View raw message