public class BatchedDataFetcherFactory
extends java.lang.Object
Produces a BatchedDataFetcher for a given DataFetcher.
If that fetcher is already a BatchedDataFetcher we return it.
If that fetcher's get method is annotated @Batched then we delegate to it directly.
Otherwise we wrap the fetcher in a BatchedDataFetcher that iterates over the sources and invokes the delegate
on each source. Note that this forgoes any performance benefits of batching,
so regular DataFetchers should normally only be used if they are in-memory.