Package | Description |
---|---|
org.springframework.graphql.execution |
Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL . |
Modifier and Type | Method and Description |
---|---|
<K,V> BatchLoaderRegistry.RegistrationSpec<K,V> |
BatchLoaderRegistry.forName(String name)
Begin the registration of a new batch load function by specifying the
name for the
DataLoader . |
<K,V> BatchLoaderRegistry.RegistrationSpec<K,V> |
DefaultBatchLoaderRegistry.forName(String name) |
<K,V> BatchLoaderRegistry.RegistrationSpec<K,V> |
BatchLoaderRegistry.forTypePair(Class<K> keyType,
Class<V> valueType)
Begin the registration of a new batch load function by specifying the
types of the keys and values that will be used as input and output.
|
<K,V> BatchLoaderRegistry.RegistrationSpec<K,V> |
DefaultBatchLoaderRegistry.forTypePair(Class<K> keyType,
Class<V> valueType) |
BatchLoaderRegistry.RegistrationSpec<K,V> |
BatchLoaderRegistry.RegistrationSpec.withName(String name)
Customize the name under which the
DataLoader
is registered and can be accessed in the data layer. |
BatchLoaderRegistry.RegistrationSpec<K,V> |
BatchLoaderRegistry.RegistrationSpec.withOptions(Consumer<org.dataloader.DataLoaderOptions> optionsConsumer)
Customize the
DataLoaderOptions to use to create the
DataLoader via DataLoaderFactory . |
BatchLoaderRegistry.RegistrationSpec<K,V> |
BatchLoaderRegistry.RegistrationSpec.withOptions(org.dataloader.DataLoaderOptions options)
Set the
DataLoaderOptions to use to create the
DataLoader via DataLoaderFactory . |