public class ORecordIteratorCluster<REC extends ORecord> extends OIdentifiableIterator<REC>
brokenRIDs, browsedRecords, current, currentTxEntryPosition, database, firstClusterEntry, lastClusterEntry, limit, liveUpdated, lockingStrategy, totalAvailableRecords, txEntries
Modifier | Constructor and Description |
---|---|
protected |
ORecordIteratorCluster(ODatabaseDocumentInternal database) |
|
ORecordIteratorCluster(ODatabaseDocumentInternal iDatabase,
int iClusterId) |
|
ORecordIteratorCluster(ODatabaseDocumentInternal iDatabase,
int iClusterId,
long firstClusterEntry,
long lastClusterEntry) |
|
ORecordIteratorCluster(ODatabaseDocumentInternal iDatabase,
int iClusterId,
long firstClusterEntry,
long lastClusterEntry,
OStorage.LOCKING_STRATEGY iLockingStrategy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ORecordIteratorCluster<REC> |
begin()
Move the iterator to the begin of the range.
|
boolean |
hasNext() |
boolean |
hasPrevious() |
ORecordIteratorCluster<REC> |
last()
Move the iterator to the end of the range.
|
REC |
next()
Return the element at the current position and move forward the stream to the next position
available.
|
REC |
previous()
Return the element at the current position and move backward the stream to the previous
position available.
|
ORecordIteratorCluster<REC> |
setLiveUpdated(boolean iLiveUpdated)
Tell to the iterator that the upper limit must be checked at every cycle.
|
checkCurrentPosition, checkDirection, checkForSystemClusters, current, currentPosition, getBrokenRIDs, getCurrentEntry, getFetchPlan, getLimit, getRecord, getTransactionEntry, isLiveUpdated, isReuseSameRecord, iterator, nextPosition, prevPosition, readCurrentRecord, remove, resetCurrentPosition, setFetchPlan, setLimit, setReuseSameRecord
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public ORecordIteratorCluster(ODatabaseDocumentInternal iDatabase, int iClusterId)
public ORecordIteratorCluster(ODatabaseDocumentInternal iDatabase, int iClusterId, long firstClusterEntry, long lastClusterEntry)
protected ORecordIteratorCluster(ODatabaseDocumentInternal database)
@Deprecated public ORecordIteratorCluster(ODatabaseDocumentInternal iDatabase, int iClusterId, long firstClusterEntry, long lastClusterEntry, OStorage.LOCKING_STRATEGY iLockingStrategy)
public boolean hasPrevious()
hasPrevious
in class OIdentifiableIterator<REC extends ORecord>
public boolean hasNext()
public REC previous()
previous
in class OIdentifiableIterator<REC extends ORecord>
public REC next()
public ORecordIteratorCluster<REC> begin()
begin
in class OIdentifiableIterator<REC extends ORecord>
public ORecordIteratorCluster<REC> last()
last
in class OIdentifiableIterator<REC extends ORecord>
public ORecordIteratorCluster<REC> setLiveUpdated(boolean iLiveUpdated)
setLiveUpdated
in class OIdentifiableIterator<REC extends ORecord>
iLiveUpdated
- True to activate it, otherwise false (default)OIdentifiableIterator.isLiveUpdated()
Copyright © 2009–2020 OrientDB. All rights reserved.