Package org.nuxeo.ecm.core.query.scroll
Class AbstractQueryBuilderScroll.Scroll
java.lang.Object
org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll
org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll.Scroll
- All Implemented Interfaces:
AutoCloseable,Iterator<List<String>>,Scroll
- Direct Known Subclasses:
AuditScroll
- Enclosing class:
AbstractQueryBuilderScroll
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll
AbstractQueryBuilderScroll.Query, AbstractQueryBuilderScroll.Scroll -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected ScrollResult<String> protected StringFields inherited from class org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll
queryBuilder, size, timeout -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidclearScroll(String scrollId) voidclose()protected voidbooleanhasNext()next()protected abstract ScrollResult<String> protected abstract ScrollResult<String> scrollIds(QueryBuilder queryBuilder, int batchSize, Duration keepAlive) Methods inherited from class org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll
initMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
entries
-
scrollId
-
end
protected boolean end
-
-
Constructor Details
-
Scroll
public Scroll()
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
fetchNextScrollIfNeeded
protected void fetchNextScrollIfNeeded() -
close
public void close() -
scrollIds
protected abstract ScrollResult<String> scrollIds(QueryBuilder queryBuilder, int batchSize, Duration keepAlive) -
scrollIds
-
clearScroll
-