Class MapEntries.PagedQueryIterator
java.lang.Object
org.apache.sling.resourceresolver.impl.mapping.MapEntries.PagedQueryIterator
- Enclosing class:
- MapEntries
Utility class for running paged queries.
-
Constructor Summary
ConstructorDescriptionPagedQueryIterator
(String subject, String propertyName, ResourceResolver resolver, String query, int pageSize) -
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
-
Constructor Details
-
PagedQueryIterator
public PagedQueryIterator(String subject, String propertyName, ResourceResolver resolver, String query, int pageSize) - Parameters:
subject
- name of the query, will be used only for loggingpropertyName
- name of multivalued string property to query on (used for diagnostics)resolver
- resource resolverquery
- query string in SQL2 syntaxpageSize
- page size (start a new query after page size is exceeded)
-
-
Method Details