We will need to tackle this for 0.21 for the C/C++ API. When it is ready any integration that uses that library, including possibly a reimplemented Thrift access method, will have full use of filters, somehow.
- Andy ________________________________ From: Jonathan Gray <[email protected]> To: [email protected] Sent: Wednesday, July 1, 2009 8:25:17 AM Subject: Re: Hbase with ColumnValueFilter via thrift/php Juergen, I'm not a big user of the thrift interface, but to my knowledge there is no integration with user-defined filters like the ColumnValueFilter. I don't see a reason that this would be impossible, just has not been implemented. JG On Wed, July 1, 2009 6:14 am, Jürgen Kaatz wrote: > Hi, > > > I'm very new to Hbase and try to read the Thrift Hbase implementation and > the Java API. On the Java API there is a filter for dedicated column > values. Is there also an implementation via Thrift/PHP or what else can > I do to grep dedicated columns values from a list of rows? > > > Example: > > > hbase(main):206:0> scan 'cc_attributes' > ROW COLUMN+CELL > 12345 column=attributes:keyword, > timestamp=1246451867154, value=etracker 12345 > column=attributes:referer, timestamp=1246451854424, value=www.google.de > 12345 column=attributes:typ, > timestamp=1246451843751, value=SEM 67890 > column=attributes:keyword, timestamp=1246453948765, value=etracker > 67890 column=attributes:referer, > timestamp=1246453938366, value=www.yahoo.de 67890 > column=attributes:typ, timestamp=1246453926492, value=SEM > 6 row(s) in 0.0092 seconds > > > hbase(main):207:0> scan 'cc_attributes', {COLUMNS => > ['attributes:referer', 'attributes:typ']} > ROW COLUMN+CELL > 12345 column=attributes:referer, > timestamp=1246451854424, value=www.google.de 12345 > column=attributes:typ, timestamp=1246451843751, value=SEM > 67890 column=attributes:referer, > timestamp=1246453938366, value=www.yahoo.de 67890 > column=attributes:typ, timestamp=1246453926492, value=SEM > 4 row(s) in 0.0164 seconds > > > => is there a possibility to 'select' only the rows with 'www.google.de'? > I assume this must be work with the Java 'ColumnValueFilter' > > > Juergen > > > >
