Hi,

I have a PHP client accessing HBase through thrift. I posted this on
Thrift's user list and they told me to post it here. I'm a Java developer
by the way, I am doing the server side work, just letting you know so you
don't feel like you're dealing with someone who doesn't know these products.

Lars George's book "HBase the Definitive Guide" talks about Partial Key
Scans. I see many posts on how to use it but none through thrift, one guy
asked on this mail list and got replies until the person helping realised
he was using thrift and then gave up. That was Sept 2010, I'm hoping
something has changed (in thrift).

The Thrift interface has a method scannerOpenWithPrefix(table,
startAndPrefix, columns) which looks like it should do what I'm after but
it returns exactly the same thing as the scannerOpen(table, startRow,
columns).

This is a pretty key piece of functionality, if a user's in many groups
then I need to be able to use partial key matching to find them. Or is
there a better way for me to do this?

Cheers,
Greg

Reply via email to