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

stack commented on HBASE-13641:
-------------------------------

+1

Add 'for removal in 3.0.0' to these deprecations:

           * @deprecated Instead use {@link #filterRowKey(Cell)}

> Deperecate Filter#filterRowKey(byte[] buffer, int offset, int length) in 
> favor of filterRowKey(Cell firstRowCell)
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-13641
>                 URL: https://issues.apache.org/jira/browse/HBASE-13641
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Filters, regionserver, Scanners
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0
>
>         Attachments: HBASE-13641.patch, HBASE-13641.patch, 
> HBASE-13641_V2.patch
>
>
> This is in path towards HBASE-13387
> When the scan contains any filter, we have to call the 
> filterRowKey(byte[],int,int) API.  (Even if it is not interested in this 
> method)
> When the Cells coming in is offheap backed, we would need temp byte[] 
> creation and copy row bytes to that.  If we can make this Filter API to take 
> a cell (which is the first cell in any row), we can avoid this overhead.
> In 2.0.0 we will deprecate the old API with addition of new and FilterBase 
> will give BC for old style custom Filters.



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

Reply via email to