accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob.Thor...@l-3com.com
Subject RE: TimeSpan Iterator
Date Tue, 28 Aug 2012 16:47:15 GMT
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.

 


Mime
View raw message