Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26829

MultiRowRangeFilter does not appear in hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ParseFilter.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Works for Me
    • 2.4.4, 3.0.0-alpha-2
    • None
    • API
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Jannick Kappelmann Jannick Kappelmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: