AutoCloseable, Closeable, Iterable<DocumentRecord>,
Page<DocumentRecord>DocumentRecord
instances.
long start = 1;
DocumentPage page = documentManager.search(query, start);
try {
for (DocumentRecord record : page) {
String uri = record.getUri();
// ... do something ...
}
} finally {
page.close();
}
NOTICE! When you finish with this instance you must call
close() to free the underlying resources.voidclose()<T extends AbstractReadHandle>
TnextContent (T contentHandle)forEach, spliteratorgetPageNumber,
getPageSize, getStart, getTotalPages, getTotalSize, hasContent, hasNext, hasNextPage, hasPreviousPage, isFirstPage, isLastPage, iterator, next, sizeT - the type of AbstractReadHandle to returncontentHandle - the handle top populate with the
contents from the next documentclose in
interface AutoCloseableclose in
interface CloseableCopyright (c) 2010-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.