public class ORecordIteratorClusters<REC extends ORecord> extends OIdentifiableIterator<REC>
| Modifier and Type | Field and Description |
|---|---|
protected ORID |
beginRange |
protected int[] |
clusterIds |
protected int |
currentClusterIdx |
protected ORecord |
currentRecord |
protected ORID |
endRange |
brokenRIDs, browsedRecords, current, currentTxEntryPosition, database, firstClusterEntry, lastClusterEntry, limit, liveUpdated, lockingStrategy, totalAvailableRecords, txEntries| Modifier | Constructor and Description |
|---|---|
|
ORecordIteratorClusters(ODatabaseDocumentInternal iDatabase,
int[] iClusterIds) |
|
ORecordIteratorClusters(ODatabaseDocumentInternal iDatabase,
int[] iClusterIds,
OStorage.LOCKING_STRATEGY iLockingStrategy)
Deprecated.
|
protected |
ORecordIteratorClusters(ODatabaseDocumentInternal iDatabase,
OStorage.LOCKING_STRATEGY iLockingStrategy)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ORecordIteratorClusters<REC> |
begin()
Move the iterator to the begin of the range.
|
protected void |
config() |
ORID |
getBeginRange() |
int[] |
getClusterIds() |
ORID |
getEndRange() |
boolean |
hasNext() |
boolean |
hasPrevious() |
protected boolean |
include(ORecord iRecord) |
ORecordIteratorClusters<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.
|
ORecordIteratorClusters<REC> |
setLiveUpdated(boolean iLiveUpdated)
Tell to the iterator that the upper limit must be checked at every cycle.
|
ORecordIteratorClusters<REC> |
setRange(ORID iBegin,
ORID iEnd) |
String |
toString() |
protected void |
updateClusterRange() |
checkCurrentPosition, checkDirection, checkForSystemClusters, current, currentPosition, getBrokenRIDs, getCurrentEntry, getFetchPlan, getLimit, getRecord, getTransactionEntry, isLiveUpdated, isReuseSameRecord, iterator, nextPosition, prevPosition, readCurrentRecord, remove, resetCurrentPosition, setFetchPlan, setLimit, setReuseSameRecordclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingforEach, spliteratorprotected int[] clusterIds
protected int currentClusterIdx
protected ORecord currentRecord
protected ORID beginRange
protected ORID endRange
public ORecordIteratorClusters(ODatabaseDocumentInternal iDatabase, int[] iClusterIds)
@Deprecated public ORecordIteratorClusters(ODatabaseDocumentInternal iDatabase, int[] iClusterIds, OStorage.LOCKING_STRATEGY iLockingStrategy)
@Deprecated protected ORecordIteratorClusters(ODatabaseDocumentInternal iDatabase, OStorage.LOCKING_STRATEGY iLockingStrategy)
public ORecordIteratorClusters<REC> setRange(ORID iBegin, ORID iEnd)
public boolean hasPrevious()
hasPrevious in class OIdentifiableIterator<REC extends ORecord>public boolean hasNext()
public REC next()
public REC previous()
previous in class OIdentifiableIterator<REC extends ORecord>public ORecordIteratorClusters<REC> begin()
begin in class OIdentifiableIterator<REC extends ORecord>public ORecordIteratorClusters<REC> last()
last in class OIdentifiableIterator<REC extends ORecord>public ORecordIteratorClusters<REC> setLiveUpdated(boolean iLiveUpdated)
setLiveUpdated in class OIdentifiableIterator<REC extends ORecord>iLiveUpdated - True to activate it, otherwise false (default)OIdentifiableIterator.isLiveUpdated()public ORID getBeginRange()
public ORID getEndRange()
public int[] getClusterIds()
protected boolean include(ORecord iRecord)
protected void updateClusterRange()
protected void config()
Copyright © 2009–2025 OrientDB. All rights reserved.