| Package | Description |
|---|---|
| org.apache.sling.graphql.helpers |
This package contains APIs which are independent of
a specific implementation of the underlying graphQL engine.
|
| Modifier and Type | Method and 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. |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.