Package org.nuxeo.ecm.core.scroll
Class RepositoryScroll
java.lang.Object
org.nuxeo.ecm.core.scroll.RepositoryScroll
- All Implemented Interfaces:
AutoCloseable
,Iterator<List<String>>
,Scroll
- Direct Known Subclasses:
ElasticSearchScroll
Scrolls document identifiers using the repository search.
- Since:
- 11.1
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected NuxeoLoginContext
protected ScrollResult<String>
protected DocumentScrollRequest
protected CoreSession
-
Constructor Summary
-
Method Summary
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
-
request
-
loginContext
-
session
-
repoScroller
-
hasNextResult
-
-
Constructor Details
-
RepositoryScroll
public RepositoryScroll()
-
-
Method Details
-
init
Description copied from interface:Scroll
Initialization of the iterator. -
login
protected void login() -
openSession
protected void openSession() -
hasNext
public boolean hasNext() -
fetch
protected boolean fetch() -
next
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceScroll
-
toString
-