public class SingleKeyResultSet<T> extends IndexResultSet<T>
Implements a BerkeleyDB Cursor
based result set that iterates over all duplicates of a given
key.
HGRandomAccessResult.GotoResult
converter, current, cursor, data, key, lookahead, next, prev
EMPTY
Constructor and Description |
---|
SingleKeyResultSet(BJETxCursor cursor,
DatabaseEntry key,
ByteArrayConverter<T> converter) |
Modifier and Type | Method and Description |
---|---|
protected T |
advance() |
protected T |
back() |
boolean |
isOrdered()
Return
true if the elements in this search result are in ordered
and false otherwise. |
assignData, checkCursor, close, closeNoException, count, current, finalize, goAfterLast, goBeforeFirst, goTo, hasNext, hasPrev, moveNext, movePrev, next, positionToCurrent, prev, remove, removeCurrent
public SingleKeyResultSet(BJETxCursor cursor, DatabaseEntry key, ByteArrayConverter<T> converter)
protected T advance()
advance
in class IndexResultSet<T>
protected T back()
back
in class IndexResultSet<T>
public boolean isOrdered()
HGSearchResult
Return true
if the elements in this search result are in ordered
and false
otherwise. It is assumed that when elements are ordered,
they are instances of java.lang.Comparable