PagedQuery
class PagedQuery @InternalWowApi constructor(val filter: FilterExpression = MatchAllFilter, val projection: Projection = Projection.ALL, sort: List<Sort> = emptyList(), val pagination: Pagination = Pagination.DEFAULT, val total: TotalMode = TotalMode.BOUNDED) : Queryable<PagedQuery>
A paged query: one page of the records its filter matches, in its order, with its projection.
It supports all standard query operations (Queryable) and retrieves one page of the results.
Parameters
sort
The order of the results; the query keeps a copy.
Constructors
Link copied to clipboard
constructor(filter: FilterExpression = MatchAllFilter, projection: Projection = Projection.ALL, sort: List<Sort> = emptyList(), pagination: Pagination = Pagination.DEFAULT, total: TotalMode = TotalMode.BOUNDED)
Properties
Link copied to clipboard
The filter expression to apply to the query; MatchAllFilter, every record, by default.
Link copied to clipboard
The pagination settings to control which page and how many items to return.
Link copied to clipboard
The field projection to control which fields are included in the results.
Link copied to clipboard
How the total is counted; TotalMode.BOUNDED, the default, stops at the budget's count limit.