Class ORecordIteratorClassDescendentOrder<REC extends ORecord>
java.lang.Object
com.orientechnologies.orient.core.iterator.OIdentifiableIterator<REC>
com.orientechnologies.orient.core.iterator.ORecordIteratorClusters<REC>
com.orientechnologies.orient.core.iterator.ORecordIteratorClass<REC>
com.orientechnologies.orient.core.iterator.ORecordIteratorClassDescendentOrder<REC>
public class ORecordIteratorClassDescendentOrder<REC extends ORecord>
extends ORecordIteratorClass<REC>
Record iterator to browse records in inverse order: from last to the first.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.iterator.ORecordIteratorClass
polymorphic, targetClassFields inherited from class com.orientechnologies.orient.core.iterator.ORecordIteratorClusters
beginRange, clusterIds, currentClusterIdx, currentRecord, endRangeFields inherited from class com.orientechnologies.orient.core.iterator.OIdentifiableIterator
brokenRIDs, browsedRecords, current, currentTxEntryPosition, database, firstClusterEntry, lastClusterEntry, limit, liveUpdated, lockingStrategy, totalAvailableRecords, txEntries -
Constructor Summary
ConstructorsConstructorDescriptionORecordIteratorClassDescendentOrder(ODatabaseDocumentInternal iDatabase, ODatabaseDocumentInternal iLowLevelDatabase, String iClassName, boolean iPolymorphic) ORecordIteratorClassDescendentOrder(ODatabaseDocumentInternal iDatabase, ODatabaseDocumentInternal iLowLevelDatabase, String iClassName, boolean iPolymorphic, OStorage.LOCKING_STRATEGY iLockingStrategy) Deprecated. -
Method Summary
Methods inherited from class com.orientechnologies.orient.core.iterator.ORecordIteratorClass
config, getTargetClass, include, isPolymorphic, previous, toStringMethods inherited from class com.orientechnologies.orient.core.iterator.ORecordIteratorClusters
getBeginRange, getClusterIds, getEndRange, hasPrevious, last, setLiveUpdated, setRange, updateClusterRangeMethods inherited from class com.orientechnologies.orient.core.iterator.OIdentifiableIterator
checkCurrentPosition, checkDirection, checkForSystemClusters, current, currentPosition, getBrokenRIDs, getCurrentEntry, getFetchPlan, getLimit, getRecord, getTransactionEntry, isLiveUpdated, isReuseSameRecord, iterator, nextPosition, prevPosition, readCurrentRecord, remove, resetCurrentPosition, setFetchPlan, setLimit, setReuseSameRecordMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ORecordIteratorClassDescendentOrder
public ORecordIteratorClassDescendentOrder(ODatabaseDocumentInternal iDatabase, ODatabaseDocumentInternal iLowLevelDatabase, String iClassName, boolean iPolymorphic) -
ORecordIteratorClassDescendentOrder
@Deprecated public ORecordIteratorClassDescendentOrder(ODatabaseDocumentInternal iDatabase, ODatabaseDocumentInternal iLowLevelDatabase, String iClassName, boolean iPolymorphic, OStorage.LOCKING_STRATEGY iLockingStrategy) Deprecated.
-
-
Method Details
-
begin
Description copied from class:ORecordIteratorClustersMove the iterator to the begin of the range. If no range was specified move to the first record of the cluster.- Overrides:
beginin classORecordIteratorClusters<REC extends ORecord>- Returns:
- The object itself
-
next
Description copied from class:ORecordIteratorClustersReturn the element at the current position and move forward the stream to the next position available. -
hasNext
public boolean hasNext()
-