Package org.nuxeo.drive.operations
Class NuxeoDriveScrollDescendants
java.lang.Object
org.nuxeo.drive.operations.NuxeoDriveScrollDescendants
Retrieves at most
batchSize
descendants of the FolderItem
with the given id
for the given
scrollId
.
When passing a null scrollId
the initial search request is executed and the first batch of results is
returned along with a scrollId
which should be passed to the next call in order to retrieve the next batch of
results.
Ideally, the search context made available by the initial search request is kept alive during keepAlive
milliseconds if keepAlive
is positive.
Results are not necessarily sorted.
- Since:
- 8.3
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrun()
protected Blob
writeJSONBlob
(ScrollFileSystemItemList scrollFSIList)
-
Field Details
-
ID
- See Also:
-
ctx
-
id
-
scrollId
-
batchSize
protected int batchSize -
keepAlive
protected long keepAlive
-
-
Constructor Details
-
NuxeoDriveScrollDescendants
public NuxeoDriveScrollDescendants()
-
-
Method Details
-
run
- Throws:
IOException
-
writeJSONBlob
- Throws:
IOException
-