A page of results from a search or query, paired with the total number of matching rows across all pages. Returned by search builders and manager finder methods so that a caller can render one page of a list while still showing the overall total, for example for pagination controls. The count reflects the full result set, not just the size of the returned list. An attributes map is also provided for stashing extra values alongside the result, such as aggregate figures computed by the search.


Properties

PropertyReturnsDescription
attributesMap<String,Object>A scratch map for extra values associated with this result, such as aggregate figures computed alongside the search. Empty unless the caller populates it. Never null.
countlongThe total number of rows matching the search across all pages, not just the number returned in this page's list.
listList<T>This page's results. May be null when the instance was created with the no-argument constructor.

Methods

getCount()

Returns: long

The total number of rows matching the search across all pages, not just the number returned in this page's list.

getList()

Returns: List<T>

This page's results. May be null when the instance was created with the no-argument constructor.

getAttributes()

Returns: Map<String,Object>

A scratch map for extra values associated with this result, such as aggregate figures computed alongside the search. Empty unless the caller populates it. Never null.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.