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

[hbase] Support inclusive scans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The existing scanner interface excludes the end key from the result range. If you actually want to do an inclusive scan for some reason, you would currently have to guess at the key immediately after the end key, which is a shoddy solution.

      A new stoprow filter could be created that stops at the end key but also returns it. Then, you could supply an extra parameter to getScanner to say you want an inclusive scan.

      Attachments

        1. inclusive-stop-row-v2.patch
          6 kB
          Bryan Duxbury
        2. inclusive-stop-row.patch
          5 kB
          Bryan Duxbury

        Activity

          People

            Unassigned Unassigned
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: