Class UUIDIterator<T extends DSpaceObject>

  • Type Parameters:
    T - class type
    All Implemented Interfaces:
    Iterator<T>

    public class UUIDIterator<T extends DSpaceObject>
    extends com.google.common.collect.AbstractIterator<T>
    Iterator implementation which allows to iterate over items and commit while iterating. Using an iterator over previous retrieved UUIDs the iterator doesn't get invalidated after a commit that would instead close the database ResultSet
    Author:
    Andrea Bollini (andrea.bollini at 4science.com)