You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jannick Kappelmann (Jira)" <ji...@apache.org> on 2022/03/13 13:26:00 UTC
[jira] [Created] (HBASE-26829) MultiRowRangeFilter does not appear in hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ParseFilter.java
Jannick Kappelmann created HBASE-26829:
------------------------------------------
Summary: MultiRowRangeFilter does not appear in hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ParseFilter.java
Key: HBASE-26829
URL: https://issues.apache.org/jira/browse/HBASE-26829
Project: HBase
Issue Type: Bug
Components: API
Affects Versions: 3.0.0-alpha-2, 2.4.4
Reporter: Jannick Kappelmann
You can instantiate a Filter using the REST API. For Instance, this is the synta for a filter list comprised of a RowFilter and a ColumnRangeFilter:
<Scanner><filter>\{"type": "FilterList", "op": "MUST_PASS_ALL", "filters": [{"type": "RowFilter", "op": "EQUAL", "comparator": {"type": "BinaryComparator", "value": "Rm1vYy1BbGFuaW5lLU5lZ2F0aXZlLUNFLVJhbXAtRm1vYy1BbGFuaW5lIFtNLUhdLS0wMDAwMDAwMDA5NDk5"}}, \{"type": "ColumnRangeFilter", "minColumn": "MDAwNTAuMDI2OTA=", "minColumnInclusive": true, "maxColumn": "MDA1MDAuMDI2OTA=", "maxColumnInclusive": true}]}</filter></Scanner>
However, it seems impossible to do that with a MultiRowRangeFilter. Upon closer look, this class does not seem to appear in the ParseFilter class (hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ParseFilter.java). It is completely missing.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)