PagingSupport

data class PagingSupport(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.

Constructors

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

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.