I want to build compound filter. I can do something like this
(filter1 and filter2) or filter3
Now I want to build the same filter, but with negative function
(**NOT** (filter1 and filter2)) or filter3
And I want to do it with java client api (org.apache.hadoop.hbase.client)
You have to use FilterList to do this kind of condition.
AFAIK negation as shown above is not possible directly with FilterList. I'd suggest to use SOLR(May be Elastic search also) to do this. If you are using Cloudera Solr(Cloudera Search) is useful for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With