Hipase client-side client filters - support for filters and coprocessors

Unfortunately, my hbase client language is Python, at the moment I am using happybase, which is based on the frugality of AFAIK. I know that saving still does not support filters, coprocessors (correct me if I am wrong here). Can someone point me to some items from Jira, can I track the plan / progress, if any? The only ones I can find are "Hbase in Action":

The first does not seem to close the filters, and the second has not been updated for a long time.

+4
source share
2 answers

Filters are supported through Thrift. Here is an HappyBase example:

table = connection.table("mytable") g = table.scan(filter="SingleColumnValueFilter ('f', 'column1', =, 'substring:text')") for key, data in g: print data 

Also check out the Thrift book for information on the various filters and their configuration.

+5
source

Family filter

Description: This filter accepts a comparison operator and comparator. This compares each classifier name with a comparator using a comparison operator, and if the comparison returns true, it returns all the key values ​​in this column

Syntax: QualifierFilter (, ')

Example: "QualifierFilter (=, 'Column1)"

I think this is a mistake in it

+1
source

All Articles