@groovy.transform.CompileStatic @groovy.transform.InheritConstructors class CountEntityDataFetcher extends DefaultGormDataFetcher<java.lang.Integer> implements ReadingGormDataFetcher
A class for retrieving how many entities exist in the datastore
Constructor and description |
---|
CountEntityDataFetcher
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Integer |
get(graphql.schema.DataFetchingEnvironment environment) |
|
protected java.lang.Integer |
queryCount() |
|
boolean |
supports(GraphQLDataFetcherType type) |