Class QuarkusDataFetcherService

java.lang.Object
io.quarkus.smallrye.graphql.runtime.spi.datafetcher.QuarkusDataFetcherService
All Implemented Interfaces:
io.smallrye.graphql.spi.DataFetcherService

public class QuarkusDataFetcherService extends Object implements io.smallrye.graphql.spi.DataFetcherService
Some Quarkus specific datafetchers to execute reactive on the correct thread
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.graphql.execution.datafetcher.PlugableBatchableDataFetcher
    getCompletionStageDataFetcher(io.smallrye.graphql.schema.model.Operation operation, io.smallrye.graphql.schema.model.Type type)
     
    io.smallrye.graphql.execution.datafetcher.PlugableBatchableDataFetcher
    getDefaultDataFetcher(io.smallrye.graphql.schema.model.Operation operation, io.smallrye.graphql.schema.model.Type type)
     
     
    io.smallrye.graphql.execution.datafetcher.PlugableBatchableDataFetcher
    getUniDataFetcher(io.smallrye.graphql.schema.model.Operation operation, io.smallrye.graphql.schema.model.Type type)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.smallrye.graphql.spi.DataFetcherService

    getFieldDataFetcher, getMultiDataFetcher, getOtherFieldDataFetcher, getOtherWrappedDataFetcher, getPublisherDataFetcher
  • Constructor Details

    • QuarkusDataFetcherService

      public QuarkusDataFetcherService()
  • Method Details

    • getPriority

      public Integer getPriority()
      Specified by:
      getPriority in interface io.smallrye.graphql.spi.DataFetcherService
    • getUniDataFetcher

      public io.smallrye.graphql.execution.datafetcher.PlugableBatchableDataFetcher getUniDataFetcher(io.smallrye.graphql.schema.model.Operation operation, io.smallrye.graphql.schema.model.Type type)
      Specified by:
      getUniDataFetcher in interface io.smallrye.graphql.spi.DataFetcherService
    • getDefaultDataFetcher

      public io.smallrye.graphql.execution.datafetcher.PlugableBatchableDataFetcher getDefaultDataFetcher(io.smallrye.graphql.schema.model.Operation operation, io.smallrye.graphql.schema.model.Type type)
      Specified by:
      getDefaultDataFetcher in interface io.smallrye.graphql.spi.DataFetcherService
    • getCompletionStageDataFetcher

      public io.smallrye.graphql.execution.datafetcher.PlugableBatchableDataFetcher getCompletionStageDataFetcher(io.smallrye.graphql.schema.model.Operation operation, io.smallrye.graphql.schema.model.Type type)
      Specified by:
      getCompletionStageDataFetcher in interface io.smallrye.graphql.spi.DataFetcherService