# Uses of Class
org.apache.sling.graphql.helpers.GenericConnection.Builder

Packages that use GenericConnection.Builder
Package
Description
org.apache.sling.graphql.helpers
This package contains APIs which are independent of a specific implementation of the underlying graphQL engine.

## Uses of GenericConnection.Builder in org.apache.sling.graphql.helpers

Methods in org.apache.sling.graphql.helpers that return GenericConnection.Builder
Modifier and Type
Method
Description
`GenericConnection.Builder<T>`
GenericConnection.Builder.`withLimit(int limit)`
Set a limit on the number of items returned by the connection.
`GenericConnection.Builder<T>`
GenericConnection.Builder.`withNextPage(boolean b)`
Force the "has next page" value, in case the supplied data doesn't expose that but a new query would find it
`GenericConnection.Builder<T>`
GenericConnection.Builder.`withPreviousPage(boolean b)`
Force the "has previous page" value, in case the supplied data doesn't expose that but a new query would find it.
`GenericConnection.Builder<T>`
GenericConnection.Builder.`withStartAfter(@Nullable Cursor c)`
If set, the connection will skip to the first item after the `c` `Cursor`.