Package org.nuxeo.elasticsearch.scroll
Class ElasticSearchScroll
java.lang.Object
org.nuxeo.ecm.core.scroll.RepositoryScroll
org.nuxeo.elasticsearch.scroll.ElasticSearchScroll
- All Implemented Interfaces:
AutoCloseable,Iterator<List<String>>,Scroll
- Since:
- 11.1
-
Field Summary
FieldsFields 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
init, login, openSession, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
MAX_ES_KEEP_ALIVE_SECONDS
protected static final long MAX_ES_KEEP_ALIVE_SECONDS- See Also:
-
esScroll
-
-
Constructor Details
-
ElasticSearchScroll
public ElasticSearchScroll()
-
-
Method Details
-
hasNext
public boolean hasNext() -
fetch
protected boolean fetch()- Overrides:
fetchin classRepositoryScroll
-
getKeepAlive
protected long getKeepAlive() -
next
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceScroll- Overrides:
closein classRepositoryScroll
-