Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7104217DFA for ; Fri, 8 May 2015 04:45:00 +0000 (UTC) Received: (qmail 39536 invoked by uid 500); 8 May 2015 04:45:00 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 39478 invoked by uid 500); 8 May 2015 04:45:00 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 39460 invoked by uid 99); 8 May 2015 04:45:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2015 04:45:00 +0000 Date: Fri, 8 May 2015 04:45:00 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-13641) Deperecate Filter#filterRowKey(byte[] buffer, int offset, int length) in favor of filterRowKey(Cell firstRowCell) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-13641: ----------------------------------- Attachment: HBASE-13641_V2.patch > 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)