public class SubscriptionExecutionStrategy extends ExecutionStrategy
dataFetcherExceptionHandler, fieldCollector, valuesResolver
Constructor and Description |
---|
SubscriptionExecutionStrategy() |
SubscriptionExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<ExecutionResult> |
execute(ExecutionContext executionContext,
ExecutionStrategyParameters parameters)
This is the entry point to an execution strategy.
|
assertNonNullFieldPrecondition, assertNonNullFieldPrecondition, completeField, completeValue, completeValueForEnum, completeValueForList, completeValueForList, completeValueForScalar, fetchField, fieldTypeInfo, getFieldDef, getFieldDef, handleNonNullException, resolveField, resolveType, resolveTypeForInterface, resolveTypeForUnion, toIterable, toIterable, unboxPossibleOptional
public SubscriptionExecutionStrategy()
public SubscriptionExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)
public java.util.concurrent.CompletableFuture<ExecutionResult> execute(ExecutionContext executionContext, ExecutionStrategyParameters parameters) throws NonNullableFieldWasNullException
ExecutionStrategy
execute
in class ExecutionStrategy
executionContext
- contains the top level execution parametersparameters
- contains the parameters holding the fields to be executed and source objectExecutionResult
NonNullableFieldWasNullException
- if a non null field resolves to a null value