Package graphql.execution
Class AbstractAsyncExecutionStrategy
java.lang.Object
graphql.execution.ExecutionStrategy
graphql.execution.AbstractAsyncExecutionStrategy
- Direct Known Subclasses:
AsyncExecutionStrategy
,AsyncSerialExecutionStrategy
-
Field Summary
Fields inherited from class graphql.execution.ExecutionStrategy
dataFetcherExceptionHandler, executionStepInfoFactory, fieldCollector
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractAsyncExecutionStrategy
(DataFetcherExceptionHandler dataFetcherExceptionHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected BiConsumer
<List<Object>, Throwable> handleResults
(ExecutionContext executionContext, List<String> fieldNames, 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 Details
-
AbstractAsyncExecutionStrategy
public AbstractAsyncExecutionStrategy() -
AbstractAsyncExecutionStrategy
-
-
Method Details
-
handleResults
protected BiConsumer<List<Object>,Throwable> handleResults(ExecutionContext executionContext, List<String> fieldNames, CompletableFuture<ExecutionResult> overallResult)
-