ForwardConnectionArguments

Arguments for forward pagination through a connection.

Java equivalent of Kotlin's viaduct.api.types.ForwardConnectionArguments. The math and validation are delegated to the language-neutral ConnectionArgumentsSupport shared with the Kotlin Tenant API.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun getAfter(): String
Cursor to start fetching items after (exclusive); null to start from the beginning.
Link copied to clipboard
abstract fun getFirst(): Integer
Maximum number of items to return from the beginning; null for the default page size.
Link copied to clipboard
open fun toOffsetLimit(defaultPageSize: Int): OffsetLimit
Converts forward pagination arguments to offset/limit.
Link copied to clipboard
open fun validate()
Validates forward pagination arguments.