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 E3CE5D8CE for ; Tue, 28 Aug 2012 16:53:03 +0000 (UTC) Received: (qmail 39681 invoked by uid 500); 28 Aug 2012 16:53:03 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 39597 invoked by uid 500); 28 Aug 2012 16:53:03 -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 39589 invoked by uid 99); 28 Aug 2012 16:53:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 16:53:03 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Bob.Thorman@l-3com.com designates 166.20.51.112 as permitted sender) Received: from [166.20.51.112] (HELO smtp2out.l-3com.com) (166.20.51.112) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 16:52:58 +0000 X-filenames: X-filesizes: None X-filetypes: X-IronPort-AV: E=Sophos;i="4.80,327,1344211200"; d="scan'208,217";a="132429986" From: Bob.Thorman@l-3com.com Received: from generichost.l-3com.com (HELO mx1.Comcept.L-3Com.com) ([128.170.184.25]) by smtp2out.l-3com.com with ESMTP; 28 Aug 2012 16:52:36 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CD853D.37AD3005" Subject: RE: TimeSpan Iterator Date: Tue, 28 Aug 2012 11:47:15 -0500 Message-ID: <97EB0FF1279CC5428640A3FB61B10BD602DC64F6@mx1.Comcept.L-3Com.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: TimeSpan Iterator Thread-Index: Ac2FOCKNtJT6ENaiTEa/3HvbdZwqJgAA7JxA References: <97EB0FF1279CC5428640A3FB61B10BD602DC640F@mx1.Comcept.L-3Com.com><503CC895.7020307@ccri.com> To: , X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01CD853D.37AD3005 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable You're right there is no relationship. But for every rowid I want only those within a particular timespan. So the columns below I would want to specify a timespan (e.g. 123456786-123456788) and get only those three rows back. =20 12345 CF1:CQ1 [public] 123456789 : Value1 12345 CF1:CQ1 [public] 123456788 : Value1 12345 CF1:CQ1 [public] 123456787 : Value1 12345 CF1:CQ1 [public] 123456786 : Value1 12345 CF1:CQ1 [public] 123456785 : Value1 =20 From: William Slacum [mailto:wilhelm.von.cloud@accumulo.net]=20 Sent: Tuesday, August 28, 2012 11:02 To: user@accumulo.apache.org; john.armstrong@ccri.com Subject: Re: TimeSpan Iterator =20 I think you'd probably just want to set a filter, because there may not be any relationship between an arbitrary key and the timestamp set on it. =20 On Tue, Aug 28, 2012 at 9:33 AM, John Armstrong wrote: On 08/28/2012 09:26 AM, Bob.Thorman@l-3com.com wrote: Does anyone know of a TimeSpan Iterator that will fetch rows based on the accumulo timestamp? =20 We actually wrote our own TimestampRangeIterator and TimestampSetIterator classes. I don't know if 1.4 has any in the core libraries. It's not very hard though. =20 ------_=_NextPart_001_01CD853D.37AD3005 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

You’re right there is no relationship.  But for every = rowid I want only those within a particular timespan.  So the = columns below I would want to specify a timespan (e.g. = 123456786-123456788) and get only those three rows = back.

 

12345 CF1:CQ1 [public] 123456789 : Value1

12345 CF1:CQ1 [public] 123456788 : Value1

12345 CF1:CQ1 [public] 123456787 : Value1

12345 CF1:CQ1 [public] 123456786 : Value1

12345 CF1:CQ1 [public] 123456785 : Value1

 

From:= = William Slacum [mailto:wilhelm.von.cloud@accumulo.net]
Sent: = Tuesday, August 28, 2012 11:02
To: user@accumulo.apache.org; = john.armstrong@ccri.com
Subject: Re: TimeSpan = Iterator

 

I think you'd probably just want to set a = filter, because there may not be any relationship between an arbitrary = key and the timestamp set on it. 

On Tue, Aug 28, 2012 at 9:33 AM, John Armstrong <jrja@ccri.com> = wrote:

On 08/28/2012 09:26 AM, = Bob.Thorman@l-3com.com wrote:

Does anyone know of a TimeSpan Iterator that will = fetch rows based on
the accumulo timestamp?

 

We = actually wrote our own TimestampRangeIterator and TimestampSetIterator = classes.  I don't know if 1.4 has any in the core libraries. =  It's not very hard though.

 

------_=_NextPart_001_01CD853D.37AD3005--