Package org.nuxeo.ecm.core.search
Class SearchServiceScroll
java.lang.Object
org.nuxeo.ecm.core.scroll.RepositoryScroll
org.nuxeo.ecm.core.search.SearchServiceScroll
- All Implemented Interfaces:
AutoCloseable
,Iterator<List<String>>
,Scroll
- Since:
- 2025.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SearchResponse
static final String
protected SearchIndex
Fields inherited from class org.nuxeo.ecm.core.scroll.RepositoryScroll
hasNextResult, loginContext, repoScroller, request, session
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.nuxeo.ecm.core.scroll.RepositoryScroll
login, openSession, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
SEARCH_INDEX_PARAMETER_KEY
- See Also:
-
response
-
searchIndex
-
-
Constructor Details
-
SearchServiceScroll
public SearchServiceScroll()
-
-
Method Details
-
init
Description copied from interface:Scroll
Initialization of the iterator.- Specified by:
init
in interfaceScroll
- Overrides:
init
in classRepositoryScroll
-
hasNext
public boolean hasNext() -
fetch
protected boolean fetch()- Overrides:
fetch
in classRepositoryScroll
-
next
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceScroll
- Overrides:
close
in classRepositoryScroll
-