public class ScrollableQuery extends Object
| Constructor and Description |
|---|
ScrollableQuery(long step,
long maxIteration,
javax.jcr.query.Query query)
create a ScrollableQuery instance, with an iteration limit.
|
ScrollableQuery(long step,
javax.jcr.query.Query query)
create a ScrollableQuery instance
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
execute(ScrollableQueryCallback<T> callback)
The callback
|
public ScrollableQuery(long step,
javax.jcr.query.Query query)
step - the step sizequery - the query to scroll onpublic ScrollableQuery(long step,
long maxIteration,
javax.jcr.query.Query query)
step - the step sizemaxIteration - the maximum number of iterationquery - the query to scroll onpublic <T> T execute(ScrollableQueryCallback<T> callback) throws javax.jcr.RepositoryException
callback - the callback that will be used on each iterationjavax.jcr.RepositoryException - in case of JCR-related errorsCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.