Package io.sentry.spring.graphql
Class SentryBatchLoaderRegistry
java.lang.Object
io.sentry.spring.graphql.SentryBatchLoaderRegistry
- All Implemented Interfaces:
org.springframework.graphql.execution.BatchLoaderRegistry,org.springframework.graphql.execution.DataLoaderRegistrar
@Internal
public final class SentryBatchLoaderRegistry
extends Object
implements org.springframework.graphql.execution.BatchLoaderRegistry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescription<K,V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K, V> <K,V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K, V> forTypePair(Class<K> keyType, Class<V> valueType) voidregisterDataLoaders(org.dataloader.DataLoaderRegistry registry, graphql.GraphQLContext context)
-
Method Details
-
forTypePair
public <K,V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K,V> forTypePair(Class<K> keyType, Class<V> valueType) - Specified by:
forTypePairin interfaceorg.springframework.graphql.execution.BatchLoaderRegistry
-
forName
public <K,V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K,V> forName(String name) - Specified by:
forNamein interfaceorg.springframework.graphql.execution.BatchLoaderRegistry
-
registerDataLoaders
public void registerDataLoaders(org.dataloader.DataLoaderRegistry registry, graphql.GraphQLContext context) - Specified by:
registerDataLoadersin interfaceorg.springframework.graphql.execution.DataLoaderRegistrar
-