What do you mean by "multiple entries"? Are you doing something similar to the WholeRowIterator, which encodes all the entries for a given row into a single key value?
Are you using any other iterators? In general, calls to `hasTop()`, `getTopKey()` and `getTopValue()` should not change the state of the iterator, so it should be safe to call them repeatedly in between calls to `next()` and `seek()`. On Fri, Jun 12, 2015 at 7:47 AM, shweta.agrawal <[email protected]> wrote: > Hi, > > I am making a custom iterator which returns multiple entries. For some > entries getTopValue function is called, sometimes skipped. Due to this > behaviour i am not getting all the entries at scan time which are to be > returned. > > I had written functions calling hierarchy in a text file which is: > hasTop > getTopKey > hasTop > getTopKey > getTopValue > next > hasTop > > Thanks > Shweta > > >
