Return-Path: X-Original-To: apmail-incubator-accumulo-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-accumulo-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F55D9257 for ; Tue, 14 Feb 2012 15:19:26 +0000 (UTC) Received: (qmail 51658 invoked by uid 500); 14 Feb 2012 15:19:26 -0000 Delivered-To: apmail-incubator-accumulo-user-archive@incubator.apache.org Received: (qmail 51621 invoked by uid 500); 14 Feb 2012 15:19:26 -0000 Mailing-List: contact accumulo-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: accumulo-user@incubator.apache.org Delivered-To: mailing list accumulo-user@incubator.apache.org Received: (qmail 51613 invoked by uid 99); 14 Feb 2012 15:19:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 15:19:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.112.75.238] (HELO iron-d-outbound.osis.gov) (206.112.75.238) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 15:19:20 +0000 X-IronPort-AV: E=Sophos;i="4.73,417,1325480400"; d="scan'208";a="95300187" Received: from netmgmt.ext.intelink.gov (HELO ww4.ugov.gov) ([172.16.11.235]) by iron-d-outbound.osis.gov with ESMTP; 14 Feb 2012 10:18:29 -0500 Date: Tue, 14 Feb 2012 15:18:53 +0000 (GMT+00:00) From: Billie J Rinaldi To: accumulo-user@incubator.apache.org Message-ID: <1252708047.65112.1329232733208.JavaMail.root@linzimmb04o.imo.intelink.gov> In-Reply-To: Subject: Re: Finding my way through the forest of iterators MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.2.188.66] X-Mailer: Zimbra 6.0.7_GA_2476.RHEL4 (ZimbraWebClient - FF3.0 (Mac)/6.0.7_GA_2473.RHEL5_64) On Tuesday, February 14, 2012 9:54:31 AM, "Benson Margulies" wrote: > I'm working with 1.3.5, and there's not a ton of javadoc in > org.apache.accumulo.core.iterators. > > > If I want to just filter to the rows that have a particular CF/CQ > value, does one of the existing iterator classes do the job, or do I > need to write one? The Scanner has built-in column filtering with the fetchColumn(Text colFam, Text colQual) and fetchColumnFamily(Text col) methods. This is implemented as an iterator behind the scenes, but you don't have to configure it as such. There is also a separate Java regex capability if you aren't matching a specific column. Billie