Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5133101E8 for ; Thu, 7 May 2015 04:51:00 +0000 (UTC) Received: (qmail 86365 invoked by uid 500); 7 May 2015 04:51:00 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 86278 invoked by uid 500); 7 May 2015 04:50:59 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 85938 invoked by uid 99); 7 May 2015 04:50:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2015 04:50:59 +0000 Date: Thu, 7 May 2015 04:50:59 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-13641) Deperecate 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 Anoop Sam John created HBASE-13641: -------------------------------------- Summary: Deperecate 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 Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0 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)