Interface BatchLoader
- All Known Implementing Classes:
BatchLoaderImpl
public interface BatchLoader
A BatchLoader represents a
BatchLoader
, and contains all the information to generate the code
to use it. A BatchLoader is actually created for each type in the GraphQL schema that has an ID.- Author:
- etienne-sf
-
Method Summary
Modifier and TypeMethodDescriptionTheDataFetchersDelegate
which contains the method that will retrieve the data.getType()
The type that this BatchLoader will return.
-
Method Details
-
getType
Type getType()The type that this BatchLoader will return.- Returns:
-
getDataFetchersDelegate
DataFetchersDelegate getDataFetchersDelegate()TheDataFetchersDelegate
which contains the method that will retrieve the data. That is: theDataFetchersDelegate
that works on the sameType
that this BatchLoader.- Returns:
-