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 TypeMethodDescriptionTheDataFetchersDelegatewhich 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()TheDataFetchersDelegatewhich contains the method that will retrieve the data. That is: theDataFetchersDelegatethat works on the sameTypethat this BatchLoader.- Returns:
-