Package org.nuxeo.ecm.directory.scroll
Class DirectoryScroll
java.lang.Object
org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll
org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll.Query
org.nuxeo.ecm.directory.scroll.DirectoryScroll
- All Implemented Interfaces:
AutoCloseable,Iterator<List<String>>,Scroll
Scrolls directory entry ids.
The scroll query is expressed in NXQL e.g "SELECT * FROM continent". Where clauses are ignored and results are ordered by directory id field ascendant.
- Since:
- 2025.1
-
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 NuxeoLoginContextstatic final Stringprotected SessionFields inherited from class org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll.Query
hasNextFields inherited from class org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll
queryBuilder, size, timeout -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit(ScrollRequest request, Map<String, String> options) Initialization of the iterator.queryIds(QueryBuilder queryBuilder) Methods inherited from class org.nuxeo.ecm.core.query.scroll.AbstractQueryBuilderScroll.Query
hasNext, nextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Field Details
-
SCROLL_NAME
- See Also:
-
loginContext
-
session
-
-
Constructor Details
-
DirectoryScroll
public DirectoryScroll()
-
-
Method Details
-
init
Description copied from interface:ScrollInitialization of the iterator.- Specified by:
initin interfaceScroll- Overrides:
initin classAbstractQueryBuilderScroll.Query
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceScroll
-
queryIds
- Specified by:
queryIdsin classAbstractQueryBuilderScroll.Query
-