Class QuarkusUniDataFetcher<K,T>
- java.lang.Object
-
- io.smallrye.graphql.execution.datafetcher.AbstractDataFetcher<K,T>
-
- io.quarkus.smallrye.graphql.runtime.spi.datafetcher.AbstractAsyncDataFetcher<K,T>
-
- io.quarkus.smallrye.graphql.runtime.spi.datafetcher.QuarkusUniDataFetcher<K,T>
-
- All Implemented Interfaces:
graphql.schema.DataFetcher<T>,io.smallrye.graphql.execution.datafetcher.PlugableDataFetcher<K,T>,org.dataloader.BatchLoaderWithContext<K,T>
public class QuarkusUniDataFetcher<K,T> extends AbstractAsyncDataFetcher<K,T>
-
-
Constructor Summary
Constructors Constructor Description QuarkusUniDataFetcher(io.smallrye.graphql.schema.model.Operation operation, io.smallrye.graphql.schema.model.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.smallrye.mutiny.Uni<List<T>>handleUserBatchLoad(graphql.schema.DataFetchingEnvironment dfe, Object[] arguments)protected io.smallrye.mutiny.Uni<List<T>>handleUserBatchLoadNonBlocking(Object[] arguments)protected io.smallrye.mutiny.Uni<?>handleUserMethodCall(graphql.schema.DataFetchingEnvironment dfe, Object[] transformedArguments)-
Methods inherited from class io.quarkus.smallrye.graphql.runtime.spi.datafetcher.AbstractAsyncDataFetcher
invokeAndTransform, invokeBatch, invokeFailure
-
-
-
-
Method Detail
-
handleUserMethodCall
protected io.smallrye.mutiny.Uni<?> handleUserMethodCall(graphql.schema.DataFetchingEnvironment dfe, Object[] transformedArguments) throws Exception- Specified by:
handleUserMethodCallin classAbstractAsyncDataFetcher<K,T>- Throws:
Exception
-
handleUserBatchLoad
protected io.smallrye.mutiny.Uni<List<T>> handleUserBatchLoad(graphql.schema.DataFetchingEnvironment dfe, Object[] arguments) throws Exception
- Specified by:
handleUserBatchLoadin classAbstractAsyncDataFetcher<K,T>- Throws:
Exception
-
-