public class UnbatchedDataFetcher extends java.lang.Object implements BatchedDataFetcher
| Constructor and Description |
|---|
UnbatchedDataFetcher(DataFetcher delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<java.util.List<java.lang.Object>> |
get(DataFetchingEnvironment environment)
This is called by the graphql engine to fetch the value.
|
public UnbatchedDataFetcher(DataFetcher delegate)
public java.util.concurrent.CompletableFuture<java.util.List<java.lang.Object>> get(DataFetchingEnvironment environment)
DataFetcherDataFetchingEnvironment is a composite
context object that tells you all you need to know about who to fetch a data value in graphql type terms.get in interface DataFetcherenvironment - this is the data fetching environment which contains all the context you need to fetch a value