Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> TimeSpan Iterator

Copy link to this message
RE: TimeSpan Iterator
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:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2012 11:02
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

On Tue, Aug 28, 2012 at 9:33 AM, John Armstrong <[EMAIL PROTECTED]> wrote:

On 08/28/2012 09:26 AM, [EMAIL PROTECTED] 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.