[ 
https://issues.apache.org/jira/browse/HBASE-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178930#comment-13178930
 ] 

Keith Turner commented on HBASE-5090:
-------------------------------------

One way to achieve this with the current API is to append a binary zero to the 
row.  This is the next possible row in sorted order.  Doing this will make the 
start row exclusive or the end row inclusive.  
                
> Allow the user to specify inclusiveness of start/end rows on Scan.
> ------------------------------------------------------------------
>
>                 Key: HBASE-5090
>                 URL: https://issues.apache.org/jira/browse/HBASE-5090
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ioannis Canellos
>
> Currently Scans handle start/end rows with the following manner:
> startRow - row to start scanner at or after (inclusive)
> stopRow - row to stop scanner before (exclusive)
> It would be great if the user could be able to specify the 
> inclussiveness/exclusiveness.
> For example 2 those two additional methods would be really needed:
> public Scan setStartRow(byte[] startRow, boolean inclussive);
> public Scan setEndRow(byte[] startRow, boolean inclussive);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to