hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13641) Deperecate Filter#filterRowKey(byte[] buffer, int offset, int length) in favor of filterRowKey(Cell firstRowCell)
Date Thu, 07 May 2015 15:35:01 GMT

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

Ted Yu commented on HBASE-13641:
--------------------------------

+1

> 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
>
>
> 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)

Mime
View raw message