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

Zhihong Yu commented on HBASE-5090:
-----------------------------------

I think providing this convenience would make scanning more user friendly.
Keith has outlined the implementation.
I would also suggest adding enum for the existing ctor:
{code}
  public Scan(byte [] startRow, byte [] stopRow) {
{code}
so that inclusiveness can be expressed succinctly.
                
> 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