Package org.ametys.cms.search.solr
Class SolrResponseAmetysObjectIterator<AO extends AmetysObject>
- java.lang.Object
-
- org.ametys.cms.search.solr.AbstractResponseIterator<AO>
-
- org.ametys.cms.search.solr.SolrResponseAmetysObjectIterator<AO>
-
- All Implemented Interfaces:
Iterator<AO>
,SearchResultsIterator<AO>
,AmetysObjectIterator<AO>
class SolrResponseAmetysObjectIterator<AO extends AmetysObject> extends AbstractResponseIterator<AO> implements AmetysObjectIterator<AO>
-
-
Field Summary
-
Fields inherited from class org.ametys.cms.search.solr.AbstractResponseIterator
_ametysObjectResolver
-
-
Constructor Summary
Constructors Constructor Description SolrResponseAmetysObjectIterator(Iterator<org.apache.solr.common.SolrDocument> it, long size, AmetysObjectResolver resolver, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 org.ametys.plugins.repository.AmetysObjectIterator
getPosition, getSize, skip
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Constructor Detail
-
SolrResponseAmetysObjectIterator
public SolrResponseAmetysObjectIterator(Iterator<org.apache.solr.common.SolrDocument> it, long size, AmetysObjectResolver resolver, org.slf4j.Logger logger)
-
-
Method Detail
-
_setNextObject
protected AO _setNextObject(org.apache.solr.common.SolrDocument document, String id)
- Specified by:
_setNextObject
in classAbstractResponseIterator<AO extends AmetysObject>
-
-