Interface | Description |
---|---|
BatchLoader<K,V> |
A function that is invoked for batch loading a list of data values indicated by the provided list of keys.
|
BatchLoaderContextProvider |
A BatchLoaderContextProvider is used by the
DataLoader code to
provide overall calling context to the BatchLoader call. |
BatchLoaderEnvironmentProvider |
A BatchLoaderEnvironmentProvider is used by the
DataLoader code to
provide BatchLoaderEnvironment calling context to
the BatchLoader call. |
BatchLoaderWithContext<K,V> |
This form of
BatchLoader is given a BatchLoaderEnvironment object
that encapsulates the calling context. |
CacheKey<K> |
Function that is invoked on input keys of type
K to derive keys that are required by the CacheMap
implementation. |
CacheMap<U,V> |
Cache map interface for data loaders that use caching.
|
MappedBatchLoader<K,V> |
A function that is invoked for batch loading a map of of data values indicated by the provided set of keys.
|
MappedBatchLoaderWithContext<K,V> |
This form of
MappedBatchLoader is given a BatchLoaderEnvironment object
that encapsulates the calling context. |
Class | Description |
---|---|
BatchLoaderEnvironment |
This object is passed to a batch loader as calling context.
|
BatchLoaderEnvironment.Builder | |
DataLoader<K,V> |
Data loader is a utility class that allows batch loading of data that is identified by a set of unique keys.
|
DataLoaderOptions |
Configuration options for
DataLoader instances. |
DataLoaderRegistry |
This allows data loaders to be registered together into a single place so
they can be dispatched as one.
|
DispatchResult<T> |
When a DataLoader is dispatched this object holds the promised results and also the count of key asked for
via methods like
DataLoader.load(Object) or DataLoader.loadMany(java.util.List) |
Try<V> |
Try is class that allows you to hold the result of computation or the throwable it produced.
|
Annotation Type | Description |
---|---|
Internal |
This represents code that the java-dataloader project considers internal code that MAY not be stable within
major releases.
|
PublicApi |
This represents code that the java-dataloader project considers public API and has an imperative to be stable within
major releases.
|
PublicSpi |
This represents code that the java-dataloader project considers public SPI and has an imperative to be stable within
major releases.
|