Class SentryBatchLoaderRegistry

java.lang.Object
io.sentry.spring.jakarta.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 Classes
    Modifier and Type
    Class
    Description
    static final class 
     

    Nested classes/interfaces inherited from interface org.springframework.graphql.execution.BatchLoaderRegistry

    org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K extends Object,V extends Object>
  • Method Summary

    Modifier and Type
    Method
    Description
    <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)
     
    void
    registerDataLoaders(org.dataloader.DataLoaderRegistry registry, graphql.GraphQLContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • forTypePair

      public <K, V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K,V> forTypePair(Class<K> keyType, Class<V> valueType)
      Specified by:
      forTypePair in interface org.springframework.graphql.execution.BatchLoaderRegistry
    • forName

      public <K, V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K,V> forName(String name)
      Specified by:
      forName in interface org.springframework.graphql.execution.BatchLoaderRegistry
    • registerDataLoaders

      public void registerDataLoaders(org.dataloader.DataLoaderRegistry registry, graphql.GraphQLContext context)
      Specified by:
      registerDataLoaders in interface org.springframework.graphql.execution.DataLoaderRegistrar