[ 
https://issues.apache.org/jira/browse/HBASE-13954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Singhi updated HBASE-13954:
----------------------------------
    Release Note: 
All the hbase server side related code for Table#getRowOrBefore and 
Region#getClosestRowBefore, Store#getRowKeyAtOrBefore api has been removed. 
Removed getRowOrBefore api from REST and Thrift.
User using this api can instead use reverse scan something like below,
{code}
 Scan scan = new Scan(row);
  scan.setSmall(true);
  scan.setCaching(1);
  scan.setReversed(true);
  scan.addFamily(family);
{code}
and pass this scan object to the scanner and retrieve the first Result from 
scanner output.

> Remove HTableInterface#getRowOrBefore related server side code
> --------------------------------------------------------------
>
>                 Key: HBASE-13954
>                 URL: https://issues.apache.org/jira/browse/HBASE-13954
>             Project: HBase
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Ashish Singhi
>            Assignee: Ashish Singhi
>             Fix For: 2.0.0
>
>         Attachments: HBASE-13954(1).patch, HBASE-13954-v1.patch, 
> HBASE-13954-v2.patch, HBASE-13954-v3.patch, HBASE-13954-v4.patch, 
> HBASE-13954-v5.patch, HBASE-13954-v6.patch, HBASE-13954.patch
>
>
> As part of HBASE-13214 review, [~anoop.hbase] had a review comment on the 
> review board to remove all the server side related code for getRowOrBefore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to