public class DBIteratorAdapter extends Object implements DBIterator
| Modifier and Type | Class and Description |
|---|---|
static class |
DBIteratorAdapter.DbEntry |
| Constructor and Description |
|---|
DBIteratorAdapter(SnapshotSeekingIterator seekingIterator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
boolean |
hasPrev() |
DBIteratorAdapter.DbEntry |
next() |
DBIteratorAdapter.DbEntry |
peekNext() |
DBIteratorAdapter.DbEntry |
peekPrev() |
DBIteratorAdapter.DbEntry |
prev() |
void |
remove() |
void |
seek(byte[] targetKey) |
void |
seekToFirst() |
void |
seekToLast() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic DBIteratorAdapter(SnapshotSeekingIterator seekingIterator)
public void seekToFirst()
seekToFirst in interface DBIteratorpublic void seek(byte[] targetKey)
seek in interface DBIteratorpublic boolean hasNext()
public DBIteratorAdapter.DbEntry next()
public DBIteratorAdapter.DbEntry peekNext()
peekNext in interface DBIteratorpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface DBIteratorpublic void seekToLast()
seekToLast in interface DBIteratorpublic boolean hasPrev()
hasPrev in interface DBIteratorpublic DBIteratorAdapter.DbEntry prev()
prev in interface DBIteratorpublic DBIteratorAdapter.DbEntry peekPrev()
peekPrev in interface DBIteratorCopyright © 2011–2020. All rights reserved.