Package | Description |
---|---|
graphql | |
graphql.cachecontrol | |
graphql.execution | |
graphql.execution.batched | |
graphql.execution.defer | |
graphql.execution.instrumentation | |
graphql.execution.instrumentation.dataloader | |
graphql.execution.instrumentation.fieldvalidation | |
graphql.execution.instrumentation.nextgen |
WARNING: All code in this package is a work in progress for a new execution engine.
|
graphql.execution.instrumentation.tracing | |
graphql.execution.nextgen |
WARNING: All code in this package is a work in progress for a new execution engine.
|
graphql.execution.nextgen.result | |
graphql.introspection | |
graphql.nextgen |
WARNING: All code in this package is a work in progress for a new execution engine.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionResultImpl |
Modifier and Type | Method and Description |
---|---|
ExecutionResult |
GraphQL.execute(ExecutionInput.Builder executionInputBuilder)
Executes the graphql query using the provided input object builder
|
ExecutionResult |
GraphQL.execute(ExecutionInput executionInput)
Executes the graphql query using the provided input object
|
ExecutionResult |
GraphQL.execute(String query)
Executes the specified graphql query/mutation/subscription
|
ExecutionResult |
GraphQL.execute(String query,
Object context)
Deprecated.
|
ExecutionResult |
GraphQL.execute(String query,
Object context,
Map<String,Object> variables)
Deprecated.
|
ExecutionResult |
GraphQL.execute(String query,
String operationName,
Object context)
Deprecated.
|
ExecutionResult |
GraphQL.execute(String query,
String operationName,
Object context,
Map<String,Object> variables)
Deprecated.
|
ExecutionResult |
GraphQL.execute(UnaryOperator<ExecutionInput.Builder> builderFunction)
Executes the graphql query using calling the builder function and giving it a new builder.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionResult> |
GraphQL.executeAsync(ExecutionInput.Builder executionInputBuilder)
Executes the graphql query using the provided input object builder
|
CompletableFuture<ExecutionResult> |
GraphQL.executeAsync(ExecutionInput executionInput)
Executes the graphql query using the provided input object
|
CompletableFuture<ExecutionResult> |
GraphQL.executeAsync(UnaryOperator<ExecutionInput.Builder> builderFunction)
Executes the graphql query using the provided input object builder
|
Modifier and Type | Method and Description |
---|---|
ExecutionResult |
CacheControl.addTo(ExecutionResult executionResult)
This will record the values in the cache control object into the provided execution result object which creates a new
ExecutionResult
object back out |
Modifier and Type | Method and Description |
---|---|
ExecutionResult |
CacheControl.addTo(ExecutionResult executionResult)
This will record the values in the cache control object into the provided execution result object which creates a new
ExecutionResult
object back out |
Modifier and Type | Method and Description |
---|---|
protected ExecutionResult |
ExecutionStrategy.handleNonNullException(ExecutionContext executionContext,
CompletableFuture<ExecutionResult> result,
Throwable e) |
ExecutionResult |
AbortExecutionException.toExecutionResult()
This is useful for turning this abort signal into an execution result which
is an error state with the underlying errors in it.
|
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<ExecutionResult> |
ExecutionStrategy.completeValueForEnum(ExecutionContext executionContext,
ExecutionStrategyParameters parameters,
GraphQLEnumType enumType,
Object result)
Called to turn an object into a enum value according to the
GraphQLEnumType by asking that enum type to coerce the object into a valid value |
protected CompletableFuture<ExecutionResult> |
ExecutionStrategy.completeValueForObject(ExecutionContext executionContext,
ExecutionStrategyParameters parameters,
GraphQLObjectType resolvedObjectType,
Object result)
Called to turn an java object value into an graphql object value
|
protected CompletableFuture<ExecutionResult> |
ExecutionStrategy.completeValueForScalar(ExecutionContext executionContext,
ExecutionStrategyParameters parameters,
GraphQLScalarType scalarType,
Object result)
Called to turn an object into a scalar value according to the
GraphQLScalarType by asking that scalar type to coerce the object
into a valid value |
CompletableFuture<ExecutionResult> |
Execution.execute(Document document,
GraphQLSchema graphQLSchema,
ExecutionId executionId,
ExecutionInput executionInput,
InstrumentationState instrumentationState) |
CompletableFuture<ExecutionResult> |
SubscriptionExecutionStrategy.execute(ExecutionContext executionContext,
ExecutionStrategyParameters parameters) |
CompletableFuture<ExecutionResult> |
ExecutorServiceExecutionStrategy.execute(ExecutionContext executionContext,
ExecutionStrategyParameters parameters)
Deprecated.
|
abstract CompletableFuture<ExecutionResult> |
ExecutionStrategy.execute(ExecutionContext executionContext,
ExecutionStrategyParameters parameters)
This is the entry point to an execution strategy.
|
CompletableFuture<ExecutionResult> |
AsyncSerialExecutionStrategy.execute(ExecutionContext executionContext,
ExecutionStrategyParameters parameters) |
CompletableFuture<ExecutionResult> |
AsyncExecutionStrategy.execute(ExecutionContext executionContext,
ExecutionStrategyParameters parameters) |
CompletableFuture<ExecutionResult> |
FieldValueInfo.getFieldValue() |
protected BiConsumer<List<ExecutionResult>,Throwable> |
AbstractAsyncExecutionStrategy.handleResults(ExecutionContext executionContext,
List<String> fieldNames,
CompletableFuture<ExecutionResult> overallResult) |
protected CompletableFuture<ExecutionResult> |
ExecutionStrategy.resolveField(ExecutionContext executionContext,
ExecutionStrategyParameters parameters)
Called to fetch a value for a field and resolve it further in terms of the graphql query.
|
Modifier and Type | Method and Description |
---|---|
FieldValueInfo.Builder |
FieldValueInfo.Builder.fieldValue(CompletableFuture<ExecutionResult> executionResultFuture) |
protected ExecutionResult |
ExecutionStrategy.handleNonNullException(ExecutionContext executionContext,
CompletableFuture<ExecutionResult> result,
Throwable e) |
protected BiConsumer<List<ExecutionResult>,Throwable> |
AbstractAsyncExecutionStrategy.handleResults(ExecutionContext executionContext,
List<String> fieldNames,
CompletableFuture<ExecutionResult> overallResult) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionResult> |
BatchedExecutionStrategy.execute(ExecutionContext executionContext,
ExecutionStrategyParameters parameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<ExecutionResult> |
DeferSupport.startDeferredCalls()
When this is called the deferred execution will begin
|
Constructor and Description |
---|
DeferredCall(Supplier<CompletableFuture<ExecutionResult>> call,
DeferredErrorSupport deferredErrorSupport) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionResult> |
SimpleInstrumentation.instrumentExecutionResult(ExecutionResult executionResult,
InstrumentationExecutionParameters parameters) |
default CompletableFuture<ExecutionResult> |
Instrumentation.instrumentExecutionResult(ExecutionResult executionResult,
InstrumentationExecutionParameters parameters)
This is called to allow instrumentation to instrument the execution result in some way
|
CompletableFuture<ExecutionResult> |
ChainedInstrumentation.instrumentExecutionResult(ExecutionResult executionResult,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
InstrumentationContext<ExecutionResult> |
DataLoaderDispatcherInstrumentation.beginExecuteOperation(InstrumentationExecuteOperationParameters parameters) |
CompletableFuture<ExecutionResult> |
DataLoaderDispatcherInstrumentation.instrumentExecutionResult(ExecutionResult executionResult,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionResult> |
DataLoaderDispatcherInstrumentation.instrumentExecutionResult(ExecutionResult executionResult,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
InstrumentationContext<ExecutionResult> |
FieldValidationInstrumentation.beginExecuteOperation(InstrumentationExecuteOperationParameters parameters) |
Modifier and Type | Method and Description |
---|---|
default ExecutionResult |
Instrumentation.instrumentExecutionResult(ExecutionResult result,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
default InstrumentationContext<ExecutionResult> |
Instrumentation.beginExecution(InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
default ExecutionResult |
Instrumentation.instrumentExecutionResult(ExecutionResult result,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionResult> |
TracingInstrumentation.instrumentExecutionResult(ExecutionResult executionResult,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionResult> |
TracingInstrumentation.instrumentExecutionResult(ExecutionResult executionResult,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionResult> |
Execution.execute(ExecutionStrategy executionStrategy,
Document document,
GraphQLSchema graphQLSchema,
ExecutionId executionId,
ExecutionInput executionInput,
InstrumentationState instrumentationState) |
Modifier and Type | Method and Description |
---|---|
static ExecutionResult |
ResultNodesUtil.toExecutionResult(ExecutionResultNode root) |
Modifier and Type | Method and Description |
---|---|
Document |
IntrospectionResultToSchema.createSchemaDefinition(ExecutionResult introspectionResult)
Returns a IDL Document that represents the schema as defined by the introspection execution result
|
Modifier and Type | Method and Description |
---|---|
ExecutionResult |
GraphQL.execute(ExecutionInput.Builder executionInputBuilder)
Executes the graphql query using the provided input object builder
|
ExecutionResult |
GraphQL.execute(ExecutionInput executionInput)
Executes the graphql query using the provided input object
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionResult> |
GraphQL.execute(UnaryOperator<ExecutionInput.Builder> builderFunction)
Executes the graphql query using the provided input object builder
|
CompletableFuture<ExecutionResult> |
GraphQL.executeAsync(ExecutionInput.Builder executionInputBuilder)
Executes the graphql query using the provided input object builder
|
CompletableFuture<ExecutionResult> |
GraphQL.executeAsync(ExecutionInput executionInput)
Executes the graphql query using the provided input object
|
CompletableFuture<ExecutionResult> |
GraphQL.executeAsync(UnaryOperator<ExecutionInput.Builder> builderFunction)
Executes the graphql query using the provided input object builder
|
Copyright © 2019. All rights reserved.