@groovy.transform.CompileStatic @groovy.util.logging.Slf4j abstract class DefaultGormDataFetcher
A generic class to assist with querying entities with GraphQL
- The domain returnType to queryModifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.String, Association> |
associations |
|
protected PersistentEntity |
entity |
|
protected EntityFetchOptions |
entityFetchOptions |
|
protected java.lang.String |
propertyName |
Constructor and description |
---|
DefaultGormDataFetcher
(PersistentEntity entity) |
DefaultGormDataFetcher
(PersistentEntity entity, java.lang.String projectionName) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected DetachedCriteria |
buildCriteria(DataFetchingEnvironment environment) |
|
T |
get(DataFetchingEnvironment environment) |
|
protected Datastore |
getDatastore() |
|
protected java.util.Map |
getFetchArguments(DataFetchingEnvironment environment, boolean skipCollections = false) |
|
protected java.util.Map<java.lang.String, java.lang.Object> |
getIdentifierValues(DataFetchingEnvironment environment) |
|
protected GormStaticApi |
getStaticApi() |
|
protected void |
initializeEntity(PersistentEntity entity) |
|
protected java.lang.Object |
loadEntity(PersistentEntity entity, java.lang.Object argument) |
|
protected GormEntity |
queryInstance(DataFetchingEnvironment environment) |
|
protected java.lang.Object |
withTransaction(boolean readOnly, groovy.lang.Closure closure) |
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() |