public class ORecordIteratorClass<REC extends ORecord> extends ORecordIteratorClusters<REC>
Modifier and Type | Field and Description |
---|---|
protected boolean |
polymorphic |
protected OClass |
targetClass |
beginRange, clusterIds, currentClusterIdx, currentRecord, endRange
brokenRIDs, browsedRecords, current, currentTxEntryPosition, database, firstClusterEntry, lastClusterEntry, limit, liveUpdated, lockingStrategy, totalAvailableRecords, txEntries
Modifier | Constructor and Description |
---|---|
protected |
ORecordIteratorClass(ODatabaseDocumentInternal database,
OClass targetClass,
boolean polymorphic) |
|
ORecordIteratorClass(ODatabaseDocumentInternal iDatabase,
String iClassName,
boolean iPolymorphic) |
|
ORecordIteratorClass(ODatabaseDocumentInternal iDatabase,
String iClassName,
boolean iPolymorphic,
boolean begin) |
|
ORecordIteratorClass(ODatabaseDocumentInternal iDatabase,
String iClassName,
boolean iPolymorphic,
OStorage.LOCKING_STRATEGY iLockingStrategy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
config() |
OClass |
getTargetClass() |
protected boolean |
include(ORecord record) |
boolean |
isPolymorphic() |
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.
|
String |
toString() |
begin, getBeginRange, getClusterIds, getEndRange, hasNext, hasPrevious, last, setLiveUpdated, setRange, updateClusterRange
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, wait, wait, wait
forEachRemaining
forEach, spliterator
protected final OClass targetClass
protected boolean polymorphic
public ORecordIteratorClass(ODatabaseDocumentInternal iDatabase, String iClassName, boolean iPolymorphic)
public ORecordIteratorClass(ODatabaseDocumentInternal iDatabase, String iClassName, boolean iPolymorphic, boolean begin)
@Deprecated public ORecordIteratorClass(ODatabaseDocumentInternal iDatabase, String iClassName, boolean iPolymorphic, OStorage.LOCKING_STRATEGY iLockingStrategy)
protected ORecordIteratorClass(ODatabaseDocumentInternal database, OClass targetClass, boolean polymorphic)
public REC next()
ORecordIteratorClusters
public REC previous()
ORecordIteratorClusters
previous
in class ORecordIteratorClusters<REC extends ORecord>
public boolean isPolymorphic()
public String toString()
toString
in class ORecordIteratorClusters<REC extends ORecord>
protected boolean include(ORecord record)
include
in class ORecordIteratorClusters<REC extends ORecord>
public OClass getTargetClass()
protected void config()
config
in class ORecordIteratorClusters<REC extends ORecord>
Copyright © 2009–2020 OrientDB. All rights reserved.