Class OObjectLazyIterator<TYPE>

java.lang.Object
com.orientechnologies.orient.object.db.OObjectLazyIterator<TYPE>
All Implemented Interfaces:
Serializable, Iterator<TYPE>

public class OObjectLazyIterator<TYPE> extends Object implements Iterator<TYPE>, Serializable
Lazy implementation of Iterator that load the records only when accessed. It keep also track of changes to the source record avoiding to call setDirty() by hand.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)
See Also:
  • Constructor Details

    • OObjectLazyIterator

      public OObjectLazyIterator(OObjectDatabaseTx database, javassist.util.proxy.ProxyObject iSourceRecord, Iterator<? extends Object> iIterator, boolean iConvertToRecord, boolean iOrphanRemoval)
  • Method Details