accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Moreno <jwellington.mor...@gmail.com>
Subject Re: Can Sort Order Be Reversed?
Date Thu, 31 May 2012 14:52:33 GMT
While we are on the subject, is there a way to scan rows sorted by
timestamp, or a particular column?

---------------------------------
*Juan* Moreno
 On May 31, 2012 10:41 AM, "Jim Klucar" <klucar@gmail.com> wrote:

> If its an int or long you can subtract it from the maximum int/long
> before you write the row id.
>
> if it is a YYYYMMDD string, subtract each character from 9 before
> writing the rowid.
>
> Sent from my iPhone
>
> On May 31, 2012, at 10:34 AM, William Slacum <wslacum@gmail.com> wrote:
>
> > As of now, nope!
> >
> > On Thu, May 31, 2012 at 7:24 AM, David Medinets
> > <david.medinets@gmail.com> wrote:
> >> I don't know why it has taken me so long to ask this basic question.
> >> Rows are stored in Accumulo in sorted order - high to low. Is there a
> >> configuration option to flip the sort? My specific use case has dates
> >> as the record key and I want to see the oldest records first.
>

Mime
View raw message