Package org.dataloader
Class DataLoaderFactory.Builder<K,V>
java.lang.Object
org.dataloader.DataLoaderFactory.Builder<K,V>
- Type Parameters:
K- the key typeV- the value type
- Enclosing class:
- DataLoaderFactory
A builder of
DataLoaders-
Method Summary
Modifier and TypeMethodDescriptionbatchLoader(BatchLoader<K, V> batchLoadFunction) batchLoader(BatchLoaderWithContext<K, V> batchLoadFunction) batchLoadFunction(Object batchLoadFunction) DataLoader<K,V> build()mappedBatchLoader(MappedBatchLoader<K, V> batchLoadFunction) mappedBatchLoader(MappedBatchLoaderWithContext<K, V> batchLoadFunction) mappedPublisherBatchLoader(MappedBatchPublisher<K, V> batchLoadFunction) mappedPublisherBatchLoader(MappedBatchPublisherWithContext<K, V> batchLoadFunction) options(DataLoaderOptions options) publisherBatchLoader(BatchPublisher<K, V> batchLoadFunction) publisherBatchLoader(BatchPublisherWithContext<K, V> batchLoadFunction)
-
Method Details
-
name
-
options
-
batchLoadFunction
-
batchLoader
-
batchLoader
-
mappedBatchLoader
-
mappedBatchLoader
public DataLoaderFactory.Builder<K,V> mappedBatchLoader(MappedBatchLoaderWithContext<K, V> batchLoadFunction) -
publisherBatchLoader
-
publisherBatchLoader
public DataLoaderFactory.Builder<K,V> publisherBatchLoader(BatchPublisherWithContext<K, V> batchLoadFunction) -
mappedPublisherBatchLoader
public DataLoaderFactory.Builder<K,V> mappedPublisherBatchLoader(MappedBatchPublisher<K, V> batchLoadFunction) -
mappedPublisherBatchLoader
public DataLoaderFactory.Builder<K,V> mappedPublisherBatchLoader(MappedBatchPublisherWithContext<K, V> batchLoadFunction) -
build
-