@groovy.transform.CompileStatic class ClosureDataFetcher extends java.lang.Object implements graphql.schema.DataFetcher<java.lang.Object>
A class to retrieve data from the environment source with a closure.
Constructor and description |
---|
ClosureDataFetcher
(groovy.lang.Closure closure, java.lang.Class domainType) |
Type Params | Return Type | Name and description |
---|---|---|
|
EntityFetchOptions |
buildFetchOptions() |
|
java.lang.Object |
get(graphql.schema.DataFetchingEnvironment environment) |
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() |