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, completeValueForObject, completeValueForScalar, createExecutionStepInfo, fetchField, getFieldDef, getFieldDef, handleNonNullException, mkNameForPath, mkNameForPath, resolveField, resolveFieldWithInfo, resolveType, resolveTypeForInterface, resolveTypeForUnion, toIterable, toIterable, unboxPossibleOptionalpublic SubscriptionExecutionStrategy()
public SubscriptionExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)
public java.util.concurrent.CompletableFuture<ExecutionResult> execute(ExecutionContext executionContext, ExecutionStrategyParameters parameters) throws NonNullableFieldWasNullException
ExecutionStrategyexecute in class ExecutionStrategyexecutionContext - contains the top level execution parametersparameters - contains the parameters holding the fields to be executed and source objectExecutionResultNonNullableFieldWasNullException - in the future if a non null field resolves to a null value