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 boolean
protected NuxeoLoginContext
protected long
protected OrderByExpr
static final String
protected Session
protected int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:Scroll
Initialization of the iterator. -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceScroll
-
hasNext
public boolean hasNext() -
next
-