Class LuceneResultSetRowIterator
- java.lang.Object
-
- org.alfresco.repo.search.AbstractResultSetRowIterator
-
- org.alfresco.repo.search.impl.lucene.LuceneResultSetRowIterator
-
- All Implemented Interfaces:
Iterator<ResultSetRow>,ListIterator<ResultSetRow>,ResultSetRowIterator
public class LuceneResultSetRowIterator extends AbstractResultSetRowIterator
Iterate over the rows in a LuceneResultSet- Author:
- andyh
-
-
Constructor Summary
Constructors Constructor Description LuceneResultSetRowIterator(LuceneResultSet resultSet)Create an iterator over the result set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultSetRownext()ResultSetRowprevious()-
Methods inherited from class org.alfresco.repo.search.AbstractResultSetRowIterator
add, allowsReverse, getResultSet, hasNext, hasPrevious, moveToNextPosition, moveToPreviousPosition, nextIndex, previousIndex, remove, set
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
LuceneResultSetRowIterator
public LuceneResultSetRowIterator(LuceneResultSet resultSet)
Create an iterator over the result set. Follows standard ListIterator conventions- Parameters:
resultSet- LuceneResultSet
-
-
Method Detail
-
next
public ResultSetRow next()
- Specified by:
nextin interfaceIterator<ResultSetRow>- Specified by:
nextin interfaceListIterator<ResultSetRow>- Specified by:
nextin classAbstractResultSetRowIterator
-
previous
public ResultSetRow previous()
- Specified by:
previousin interfaceListIterator<ResultSetRow>- Specified by:
previousin classAbstractResultSetRowIterator
-
-