On Fri, Jan 11, 2013 at 5:24 PM, John Vines <[email protected]> wrote: > The WholeRowIterator takes the entire row and encapsulates it in the same > order it was scanned. Because everything is sorted, the columns in teh > WholeRowIterator are maintained in the same order, and the PeekingIterator > does not change this behavior. So you should be fine.
I do not think the WholeRowIterator is not used. I think AccumuloRowInputFormat uses o.a.a.c.client.RowIterator wrapping a scanner. The peeking iterator should give keys in sorted order. > > John > > > On Fri, Jan 11, 2013 at 5:20 PM, Mike Hugo <[email protected]> wrote: >> >> I'm writing a map reduce job that utilizes the AccumuloRowInputFormat so I >> can do some processing on an entire row. When working with things in this >> way, will PeekingIterator always give me the columns of the row in sorted >> order? >> >> Thanks, >> >> Mike > >
