@groovy.transform.InheritConstructors @groovy.util.logging.Slf4j @groovy.transform.CompileStatic class EntityDataFetcher<T> extends DefaultGormDataFetcher<T> implements ReadingGormDataFetcher
A class for retrieving a list of entities with GraphQL
T
- The collection return typeConstructor and description |
---|
EntityDataFetcher
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected grails.gorm.DetachedCriteria |
buildCriteria(graphql.schema.DataFetchingEnvironment environment) |
|
protected T |
executeQuery(graphql.schema.DataFetchingEnvironment environment, java.util.Map queryArgs) |
|
T |
get(graphql.schema.DataFetchingEnvironment environment) |
|
protected java.util.Map<java.lang.String, java.lang.Object> |
getArguments(graphql.schema.DataFetchingEnvironment environment) |
|
boolean |
supports(GraphQLDataFetcherType type) |
Groovy Documentation