accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Armstrong <j...@ccri.com>
Subject Re: TimeSpan Iterator
Date Tue, 28 Aug 2012 16:55:27 GMT
On 08/28/2012 12:47 PM, Bob.Thorman@l-3com.com wrote:
> 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.
>
> *From:*William Slacum [mailto:wilhelm.von.cloud@accumulo.net]
>
>> 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.

I think the point is that subclassing org.apache.accumulo.core.iterators.Filter will get most
of the 
behavior you want in your Iterator; you just need to fill in what "accept(Key k, Value v)"
means to 
your Filter.

Mime
View raw message