Reputation: 340
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
)
Upvotes: 3
Views: 554
Reputation: 29195
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.
Upvotes: 1