PagedQuery

interface PagedQuery<R>

Used to build a Query that supports limit and offset.

Parameters

<R>

The type of the results.

Inheritors

Types

Link copied to clipboard
interface ResultSet<R>
A result set containing the results of calling execute.

Functions

Link copied to clipboard
@Suspendable
@NotNull
abstract fun execute(): PagedQuery.ResultSet<R>
Executes the PagedQuery.
Link copied to clipboard
@NotNull
abstract fun setLimit(limit: Int): PagedQuery<R>
Sets the maximum number of results to return.
Link copied to clipboard
@NotNull
abstract fun setOffset(offset: Int): PagedQuery<R>
Sets the index of the first result in the query to return.