Package org.ametys.cms.search.solr
Class SolrResponseIdIterable.DocListIdIterator
- java.lang.Object
-
- org.ametys.cms.search.solr.SolrResponseIdIterable.DocListIdIterator
-
- Enclosing class:
- SolrResponseIdIterable
protected class SolrResponseIdIterable.DocListIdIterator extends Object implements Iterator<String>
Iterator over the IDs of the objects in a SolrDocumentList.
-
-
Constructor Summary
Constructors Constructor Description DocListIdIterator(org.apache.solr.common.SolrDocumentList docList)
Build a DocListIdIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
String
next()
-
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, remove
-
-
-
-
Constructor Detail
-
DocListIdIterator
public DocListIdIterator(org.apache.solr.common.SolrDocumentList docList)
Build a DocListIdIterator.- Parameters:
docList
- the solr socument list.
-
-