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 BCFDFD424 for ; Mon, 12 Nov 2012 13:51:58 +0000 (UTC) Received: (qmail 26438 invoked by uid 500); 12 Nov 2012 13:51:58 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 26142 invoked by uid 500); 12 Nov 2012 13:51:53 -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 26097 invoked by uid 99); 12 Nov 2012 13:51:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2012 13:51:51 +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 (athena.apache.org: domain of adfaccuser@gmail.com designates 209.85.220.41 as permitted sender) Received: from [209.85.220.41] (HELO mail-pa0-f41.google.com) (209.85.220.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2012 13:51:45 +0000 Received: by mail-pa0-f41.google.com with SMTP id fa10so4551992pad.0 for ; Mon, 12 Nov 2012 05:51:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=96GgnUIy7odZ68OY6fi99rrN9yymeM9Fcrf1BZG3pXw=; b=nNnrem4a7RKiIPYOd+yYryesR1xwxOBgimIE6UGgSvNn5ud+o1e2+mHknYaPTAtH4y GXAPFF/24ESRrZvplhObP400tAM44C8f0+asEDYfDtlwPr7jAHDddXDNBiNgNTrzMST1 qelyPc+Z3W6WJdeafqdIkY3F6/aB9XJbT77dfDOGZT1VUUeceEj/1rYIoQ//WzDSDS6Q pQQP6lJZFdt5Mh1zf88dqtmRK4IOPI/fZTk2oxg89XXu1IhqJ1uBoOhjPQkBCCjG6YwO WNu8B+gl7wHnDmL4dLyvISbWDJ8P9X0c62RlGcS5HKfwA7lW0ufAPTGhnaJ7/GOgbSPS 4gRA== MIME-Version: 1.0 Received: by 10.68.247.196 with SMTP id yg4mr58583434pbc.167.1352728284682; Mon, 12 Nov 2012 05:51:24 -0800 (PST) Received: by 10.66.165.102 with HTTP; Mon, 12 Nov 2012 05:51:24 -0800 (PST) Date: Mon, 12 Nov 2012 08:51:24 -0500 Message-ID: Subject: ranges and iterators that transform results From: Anthony Fox To: user@accumulo.apache.org Content-Type: multipart/alternative; boundary=047d7b2e0f07e2da7c04ce4c987a X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e0f07e2da7c04ce4c987a Content-Type: text/plain; charset=ISO-8859-1 I am trying to limit scans to a subset of stored rows by setting ranges. The scan has an iterator that does some aggregation and transformation of the result. Specifically, it changes the rowid to be more meaningful but at the same time outside of the specified range. By instrumenting the iterator with debug messages, I can verify that the expected rows are actually processed. But it appears that the range filter is applied to the result of the transformation that the iterator is making. Basically, I'm trying to get something like a sql projection: select myTransformation(id) from myTable where id between (start and end); Is it possible to set the precedence of the range filter and the iterator that I am using so that I can do this transformation without filtering all the results? Thanks, Anthony --047d7b2e0f07e2da7c04ce4c987a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am trying to limit scans to a subset of stored rows by setting ranges. = =A0The scan has an iterator that does some aggregation and transformation o= f the result. =A0Specifically, it changes the rowid to be more meaningful b= ut at the same time outside of the specified range. =A0By instrumenting the= iterator with debug messages, I can verify that the expected rows are actu= ally processed. =A0But it appears that the range filter is applied to the r= esult of the transformation that the iterator is making. =A0Basically, I= 9;m trying to get something like a sql projection:=A0

select myTransformation(id) from myTable where id between (s= tart and end);

Is it possible to set the precedenc= e of the range filter and the iterator that I am using so that I can do thi= s transformation without filtering all the results? =A0

Thanks,
Anthony
--047d7b2e0f07e2da7c04ce4c987a--