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 19:51:00 UTC

[jira] [Resolved] (HBASE-26829) MultiRowRangeFilter does not appear in hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ParseFilter.java

     [ https://issues.apache.org/jira/browse/HBASE-26829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jannick Kappelmann resolved HBASE-26829.
----------------------------------------
    Resolution: Works for Me

> 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: 2.4.4, 3.0.0-alpha-2
>            Reporter: Jannick Kappelmann
>            Priority: Minor
>
> You can instantiate a Filter using the REST API. For Instance, the following is the body of the POST request against the REST APIĀ  that instantiates 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 (using the REST API). 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)