Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7749FF043 for ; Wed, 17 Apr 2013 02:46:54 +0000 (UTC) Received: (qmail 77951 invoked by uid 500); 17 Apr 2013 02:46:54 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 77913 invoked by uid 500); 17 Apr 2013 02:46:54 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 77904 invoked by uid 99); 17 Apr 2013 02:46:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 02:46:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rkreddy@gmail.com designates 209.85.217.174 as permitted sender) Received: from [209.85.217.174] (HELO mail-lb0-f174.google.com) (209.85.217.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 02:46:47 +0000 Received: by mail-lb0-f174.google.com with SMTP id s10so1169603lbi.33 for ; Tue, 16 Apr 2013 19:46:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=ePyRe2dY4BRe7ZpseRnmO1tZjcZOQiudDCvuDThF2aQ=; b=hwVMwTrR1R3K63uPE++DB/Okudg4F/Mb/4ed1wpv3QRP0hTLm9eUQm91PMU+QAfscC BNHPqzYiFF0e3tdStJj5STQqG5JMoxB9WUf+yRHRDZmalb1CYIdAWvgeqEpJ500b4z0E G1znIQ7F7r9Px94mv3WWAlx59iUweSmL15oPRtc1HslyVNF7+0ezSGPlEo06eiVBbU5v uIR2dxS/zPc58igaw1rWunK/8Riz7ZmB7Zg88trB+ekybGjSfJnFsNn/JzEBsA9KuQz6 nsNvRxFNbNyznPP2QJhQ979UQMVanB4cKyLqFwpmawCVmpaz68AraAr6foVfG3vcGVqj ATAA== MIME-Version: 1.0 X-Received: by 10.112.125.134 with SMTP id mq6mr2636816lbb.33.1366166787053; Tue, 16 Apr 2013 19:46:27 -0700 (PDT) Received: by 10.112.42.130 with HTTP; Tue, 16 Apr 2013 19:46:26 -0700 (PDT) In-Reply-To: <516E004D.8090903@gmail.com> References: <516E004D.8090903@gmail.com> Date: Tue, 16 Apr 2013 22:46:26 -0400 Message-ID: Subject: Re: row count From: Venkat To: user@accumulo.apache.org Content-Type: multipart/alternative; boundary=089e0115ef060bdf5204da857eed X-Virus-Checked: Checked by ClamAV on apache.org --089e0115ef060bdf5204da857eed Content-Type: text/plain; charset=ISO-8859-1 Josh, its the former. I was trying WrappingIterator, RowIterator, PeekingIterator , no success yet. Venkat. On Tue, Apr 16, 2013 at 9:52 PM, Josh Elser wrote: > Venkat, > > Can you be more specific? > > Are you looking for the number of rows matching a Value (value as in > Key-Value) or are you looking for the number of rows matching a given value > in the row-portion of a key? > > e.g. > > Trying to match foo: > > The former would match - row cf:cq ts [vis] foobar > The latter would match - foobar cf:cq ts [vis] value > > > On 04/16/2013 09:33 PM, Venkat wrote: > >> I am sure this question has been asked several times but I could not get >> to the answer using usual searches - which iterator is the right one to >> count the number of rows for a given value or a pattern of value ? >> >> Venkat. >> > > --089e0115ef060bdf5204da857eed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Josh, its the former. =A0I was trying WrappingIterator, Ro= wIterator, PeekingIterator , no success yet.

Venkat.


On Tu= e, Apr 16, 2013 at 9:52 PM, Josh Elser <josh.elser@gmail.com> wrote:
Venkat,

Can you be more specific?

Are you looking for the number of rows matching a Value (value as in Key-Va= lue) or are you looking for the number of rows matching a given value in th= e row-portion of a key?

e.g.

Trying to match foo:

The former would match - row cf:cq ts [vis] foobar
The latter would match - foobar cf:cq ts [vis] value
<= div class=3D"h5">

On 04/16/2013 09:33 PM, Venkat wrote:
I am sure this question has been asked several times but I could not get to= the answer using usual searches - which iterator is the right one to count= the number of rows for a given value or a pattern of value ?

Venkat.


--089e0115ef060bdf5204da857eed--