Class ORecordIteratorClass<REC extends ORecord>

All Implemented Interfaces:
Iterable<REC>, Iterator<REC>
Direct Known Subclasses:
ORecordIteratorClassDescendentOrder

public class ORecordIteratorClass<REC extends ORecord> extends ORecordIteratorClusters<REC>
Iterator class to browse forward and backward the records of a cluster. Once browsed in a direction, the iterator cannot change it. This iterator with "live updates" set is able to catch updates to the cluster sizes while browsing. This is the case when concurrent clients/threads insert and remove item in any cluster the iterator is browsing. If the cluster are hot removed by from the database the iterator could be invalid and throw exception of cluster not found.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)