Package graphql.execution
Class AbstractAsyncExecutionStrategy
- java.lang.Object
-
- graphql.execution.ExecutionStrategy
-
- graphql.execution.AbstractAsyncExecutionStrategy
-
- Direct Known Subclasses:
AsyncExecutionStrategy
,AsyncSerialExecutionStrategy
@PublicSpi public abstract class AbstractAsyncExecutionStrategy extends ExecutionStrategy
-
-
Field Summary
-
Fields inherited from class graphql.execution.ExecutionStrategy
dataFetcherExceptionHandler, executionStepInfoFactory, fieldCollector
-
-
Constructor Summary
Constructors Constructor Description AbstractAsyncExecutionStrategy()
AbstractAsyncExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.function.BiConsumer<java.util.List<java.lang.Object>,java.lang.Throwable>
handleResults(ExecutionContext executionContext, java.util.List<java.lang.String> fieldNames, java.util.concurrent.CompletableFuture<ExecutionResult> overallResult)
-
Methods inherited from class graphql.execution.ExecutionStrategy
assertNonNullFieldPrecondition, assertNonNullFieldPrecondition, completeField, completeValue, completeValueForEnum, completeValueForList, completeValueForList, completeValueForNull, completeValueForObject, completeValueForScalar, createExecutionStepInfo, execute, executeObject, fetchField, getFieldDef, getFieldDef, getNormalizedField, handleFetchingException, handleNonNullException, handleValueException, mkNameForPath, mkNameForPath, mkNameForPath, resolveFieldWithInfo, resolveType, toIterable, unboxPossibleDataFetcherResult
-
-
-
-
Constructor Detail
-
AbstractAsyncExecutionStrategy
public AbstractAsyncExecutionStrategy()
-
AbstractAsyncExecutionStrategy
public AbstractAsyncExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)
-
-
Method Detail
-
handleResults
protected java.util.function.BiConsumer<java.util.List<java.lang.Object>,java.lang.Throwable> handleResults(ExecutionContext executionContext, java.util.List<java.lang.String> fieldNames, java.util.concurrent.CompletableFuture<ExecutionResult> overallResult)
-
-