Package org.ametys.cms.search.solr
Class SolrResponseIterable.SolrResponseIterator<AO extends AmetysObject>
- java.lang.Object
-
- org.ametys.cms.search.solr.AbstractResponseIterator<SearchResult<AO>>
-
- org.ametys.cms.search.solr.SolrResponseIterable.SolrResponseIterator<AO>
-
- All Implemented Interfaces:
Iterator<SearchResult<AO>>
,SearchResultsIterator<SearchResult<AO>>
- Enclosing class:
- SolrResponseIterable<A extends AmetysObject>
class SolrResponseIterable.SolrResponseIterator<AO extends AmetysObject> extends AbstractResponseIterator<SearchResult<AO>>
-
-
Field Summary
-
Fields inherited from class org.ametys.cms.search.solr.AbstractResponseIterator
_ametysObjectResolver
-
-
Constructor Summary
Constructors Constructor Description SolrResponseIterator(Iterator<org.apache.solr.common.SolrDocument> it, long size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SearchResult<AO>
_setNextObject(org.apache.solr.common.SolrDocument document, String id)
-
Methods inherited from class org.ametys.cms.search.solr.AbstractResponseIterator
getPosition, getSize, hasNext, next, skip
-
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
-
SolrResponseIterator
public SolrResponseIterator(Iterator<org.apache.solr.common.SolrDocument> it, long size)
-
-
Method Detail
-
_setNextObject
protected SearchResult<AO> _setNextObject(org.apache.solr.common.SolrDocument document, String id)
- Specified by:
_setNextObject
in classAbstractResponseIterator<SearchResult<AO extends AmetysObject>>
-
-