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 D93969F90 for ; Wed, 21 Mar 2012 19:24:01 +0000 (UTC) Received: (qmail 71777 invoked by uid 500); 21 Mar 2012 19:24:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71723 invoked by uid 500); 21 Mar 2012 19:24:01 -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 71632 invoked by uid 99); 21 Mar 2012 19:24:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 19:24:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 19:24:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 88D401B6DC8 for ; Wed, 21 Mar 2012 19:23:40 +0000 (UTC) Date: Wed, 21 Mar 2012 19:23:40 +0000 (UTC) From: "Lars Hofhansl (Resolved) (JIRA)" To: issues@hbase.apache.org Message-ID: <1468795164.43725.1332357820579.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1560436616.6494.1318948210674.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-4612) Allow ColumnPrefixFilter to support multiple prefixes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl resolved HBASE-4612. ---------------------------------- Resolution: Won't Fix I am closing this, because we already have MultipleColumnPrefixFilter. Please reopen if I misunderstood. > Allow ColumnPrefixFilter to support multiple prefixes > ----------------------------------------------------- > > Key: HBASE-4612 > URL: https://issues.apache.org/jira/browse/HBASE-4612 > Project: HBase > Issue Type: Improvement > Components: filters > Affects Versions: 0.90.4 > Reporter: Eran Kutner > Assignee: Eran Kutner > Priority: Minor > Fix For: 0.94.0 > > Attachments: HBASE-4612-0.90.patch, HBASE-4612.patch > > > When having a lot of columns grouped by name I've found that it would be very useful to be able to scan them using multiple prefixes, allowing to fetch specific groups in one scan, without fetching the entire row. This is impossible to achieve using a FilterList, so I've added such support to the existing ColmnPrefixFilter while keeping backward compatibility. > The attached patch is based on 0.90.4, I noticed that the 0.92 branch has a new method to support instantiating filters using Thrift. I'm not sure how the serialization works there so I didn't implement that, but the rest of my code should work in 0.92 as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira