public class BerkeleySearchingRecordIterator extends Object implements SearchingRecordIterator
| Constructor and Description |
|---|
BerkeleySearchingRecordIterator(com.sleepycat.je.Cursor cursor,
BerkeleyKeyValueStore berkeleyKeyValueStore,
long cursorId,
byte[] mustStartWith,
byte[] startSearchingAt,
boolean onlyKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getCursorId() |
Record |
last() |
Record |
next() |
Record |
next(byte[] startSearchingAt) |
public BerkeleySearchingRecordIterator(com.sleepycat.je.Cursor cursor,
BerkeleyKeyValueStore berkeleyKeyValueStore,
long cursorId,
byte[] mustStartWith,
byte[] startSearchingAt,
boolean onlyKeys)
throws BimserverLockConflictException
BimserverLockConflictExceptionpublic long getCursorId()
public Record next() throws BimserverLockConflictException
next in interface RecordIteratorBimserverLockConflictExceptionpublic void close()
close in interface AutoCloseableclose in interface RecordIteratorpublic Record next(byte[] startSearchingAt) throws BimserverLockConflictException
next in interface SearchingRecordIteratorBimserverLockConflictExceptionpublic Record last() throws BimserverLockConflictException
last in interface RecordIteratorBimserverLockConflictExceptionCopyright © 2019 OpenSource BIM. All rights reserved.