Pagination

data class Pagination(val page: Int = DEFAULT_PAGE, val size: Int = DEFAULT_SIZE)(source)

Pagination class for building and parsing pagination strings for JPA or SQL queries. The pagination string format is "$page:pageValue$size:sizeValue where pageValue and sizeValue are positive integers. Pagination starts at 1.

Constructors

Link copied to clipboard
constructor(page: Int = DEFAULT_PAGE, size: Int = DEFAULT_SIZE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val offset: Int
Link copied to clipboard
val page: Int
Link copied to clipboard
val size: Int
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard