Package org.nuxeo.ecm.directory.scroll
Class DirectoryScroll
java.lang.Object
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected NuxeoLoginContextprotected longprotected OrderByExprstatic final Stringprotected Sessionprotected int -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
SCROLL_NAME
- See Also:
-
loginContext
-
session
-
offset
protected long offset -
size
protected int size -
hasNext
protected boolean hasNext -
orderBy
-
-
Constructor Details
-
DirectoryScroll
public DirectoryScroll()
-
-
Method Details
-
init
Description copied from interface:ScrollInitialization of the iterator. -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceScroll
-
hasNext
public boolean hasNext() -
next
-