Offset

class Offset @InternalWowApi constructor(val offset: Long, val limit: Int, val withTotal: Boolean, val totalLimit: Int? = null) : PageWindow

Records offset until offset + limit in sort order; withTotal also asks for the number of matches. A totalLimit bounds that number: the backend may stop counting after totalLimit + 1 matches, as QueryBackend.count does; null asks for the exact number.

Constructors

Link copied to clipboard
constructor(offset: Long, limit: Int, withTotal: Boolean, totalLimit: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val limit: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String