Uses of Class
org.apache.sling.graphql.helpers.GenericConnection.Builder
Packages that use GenericConnection.Builder
Package
Description
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.BuilderModifier and TypeMethodDescriptionGenericConnection.Builder.withLimit(int limit) Set a limit on the number of items returned by the connection.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 itGenericConnection.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.withStartAfter(@Nullable Cursor c) If set, the connection will skip to the first item after thecCursor.