Uses of Interface
org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec
Package
Description
Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL
.-
Uses of BatchLoaderRegistry.RegistrationSpec in org.springframework.graphql.execution
Modifier and TypeMethodDescription<K,
V> BatchLoaderRegistry.RegistrationSpec<K, V> Begin the registration of a new batch load function by specifying the name for theDataLoader
.<K,
V> BatchLoaderRegistry.RegistrationSpec<K, V> <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) Customize the name under which theDataLoader
is registered and can be accessed in the data layer.BatchLoaderRegistry.RegistrationSpec.withOptions
(Consumer<org.dataloader.DataLoaderOptions> optionsConsumer) Customize theDataLoaderOptions
to use to create theDataLoader
viaDataLoaderFactory
.BatchLoaderRegistry.RegistrationSpec.withOptions
(org.dataloader.DataLoaderOptions options) Set theDataLoaderOptions
to use to create theDataLoader
viaDataLoaderFactory
.