@groovy.transform.CompileStatic class DefaultGraphQLPaginationResponseHandler extends java.lang.Object implements GraphQLPaginationResponseHandler
Controls how a page of results are returned
Modifiers | Name | Description |
---|---|---|
protected java.lang.String |
resultsField |
|
protected java.lang.String |
totalField |
Constructor and description |
---|
DefaultGraphQLPaginationResponseHandler
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
createResponse(graphql.schema.DataFetchingEnvironment environment, PaginationResult result) |
|
int |
getDefaultMax() |
|
int |
getDefaultOffset() |
|
java.lang.String |
getDescription(org.grails.datastore.mapping.model.PersistentEntity entity) |
|
java.util.List<graphql.schema.GraphQLFieldDefinition> |
getFields(graphql.schema.GraphQLOutputType resultsType, GraphQLTypeManager typeManager) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |