Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17143 Scan improvement
  3. HBASE-17583

Add inclusive/exclusive support for startRow and endRow of scan for sync client

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0, 2.0.0
    • 1.4.0, 2.0.0
    • Client, Scanners
    • None
    • Reviewed
    • Hide
      Now you can include/exlude the startRow and stopRow for a scan. And the new methods to specify startRow and stopRow are withStartRow and withStopRow. The old methods to specify startRow and Row(include constructors) are marked as deprecated as in the old time if startRow and stopRow are equal then we will consider it as a get scan and include the stopRow implicitly. This is strange after we can set inclusiveness explicitly so we add new methods and depredate the old methods. The deprecated methods will be removed in the future.
      Show
      Now you can include/exlude the startRow and stopRow for a scan. And the new methods to specify startRow and stopRow are withStartRow and withStopRow. The old methods to specify startRow and Row(include constructors) are marked as deprecated as in the old time if startRow and stopRow are equal then we will consider it as a get scan and include the stopRow implicitly. This is strange after we can set inclusiveness explicitly so we add new methods and depredate the old methods. The deprecated methods will be removed in the future.

    Description

      Implement the same feature of HBASE-17320 for sync client.

      Attachments

        1. HBASE-17583.patch
          48 kB
          Duo Zhang
        2. HBASE-17583-branch-1.patch
          92 kB
          Duo Zhang
        3. HBASE-17583-branch-1-v1.patch
          93 kB
          Duo Zhang
        4. HBASE-17583-v1.patch
          52 kB
          Duo Zhang
        5. HBASE-17583-v2.patch
          54 kB
          Duo Zhang
        6. HBASE-17583-v3.patch
          54 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: