PagingSupport

class PagingSupport @InternalWowApi constructor(val keyset: SupportMode = SupportMode.NATIVE, val unboundedStream: SupportMode = SupportMode.NATIVE, val maxOffsetWindow: Int? = null)

How a storage pages. Neither mode has a residual implementation, so each is NATIVE or NONE. A storage declares it with of.

Constructors

Link copied to clipboard
constructor(keyset: SupportMode = SupportMode.NATIVE, unboundedStream: SupportMode = SupportMode.NATIVE, maxOffsetWindow: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Keyset pages ordered by the cursor sort (cursor queries).

Link copied to clipboard

The furthest record an offset page may reach (offset + limit), such as Elasticsearch's index.max_result_window; null is unlimited. Admission rejects a paged query whose window ends beyond it.

Link copied to clipboard

A list without a limit, streamed to the end.

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