[ 
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)

Reply via email to