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
Fields inherited from class org.nuxeo.ecm.core.scroll.RepositoryScroll
hasNextResult, loginContext, repoScroller, request, session
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.ecm.core.scroll.RepositoryScroll
init, 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
-
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:
fetch
in classRepositoryScroll
-
getKeepAlive
protected long getKeepAlive() -
next
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceScroll
- Overrides:
close
in classRepositoryScroll
-