Uses of Class
graphql.ExecutionInput
-
-
Uses of ExecutionInput in graphql
Methods in graphql that return ExecutionInput Modifier and Type Method Description ExecutionInput
ExecutionInput.Builder. build()
private ExecutionInput
GraphQL. ensureInputHasId(ExecutionInput executionInput)
ExecutionInput
ExecutionInput. transform(java.util.function.Consumer<ExecutionInput.Builder> builderConsumer)
This helps you transform the current ExecutionInput object into another one by starting a builder with all the current values and allows you to transform it how you want.Methods in graphql with parameters of type ExecutionInput Modifier and Type Method Description private ExecutionInput
GraphQL. ensureInputHasId(ExecutionInput executionInput)
ExecutionResult
GraphQL. execute(ExecutionInput executionInput)
Executes the graphql query using the provided input objectprivate java.util.concurrent.CompletableFuture<ExecutionResult>
GraphQL. execute(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState)
java.util.concurrent.CompletableFuture<ExecutionResult>
GraphQL. executeAsync(ExecutionInput executionInput)
Executes the graphql query using the provided input objectprivate java.util.concurrent.CompletableFuture<ExecutionResult>
GraphQL. handleAbortException(ExecutionInput executionInput, InstrumentationState instrumentationState, AbortExecutionException abortException)
private ParseAndValidateResult
GraphQL. parse(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState)
static ParseAndValidateResult
ParseAndValidate. parse(@NotNull ExecutionInput executionInput)
This can be called to parse (but not validate) a graphql query.static ParseAndValidateResult
ParseAndValidate. parseAndValidate(@NotNull GraphQLSchema graphQLSchema, @NotNull ExecutionInput executionInput)
This can be called to parse and validate a graphql query against a schema, which is useful if you want to know if it would be acceptable for execution.private java.util.concurrent.CompletableFuture<ExecutionResult>
GraphQL. parseValidateAndExecute(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState)
private java.util.List<ValidationError>
GraphQL. validate(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState)
Method parameters in graphql with type arguments of type ExecutionInput Modifier and Type Method Description private PreparsedDocumentEntry
GraphQL. parseAndValidate(java.util.concurrent.atomic.AtomicReference<ExecutionInput> executionInputRef, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState)
-
Uses of ExecutionInput in graphql.execution
Fields in graphql.execution declared as ExecutionInput Modifier and Type Field Description private ExecutionInput
ExecutionContext. executionInput
(package private) ExecutionInput
ExecutionContextBuilder. executionInput
Methods in graphql.execution that return ExecutionInput Modifier and Type Method Description ExecutionInput
ExecutionContext. getExecutionInput()
Methods in graphql.execution with parameters of type ExecutionInput Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExecutionResult>
Execution. execute(Document document, GraphQLSchema graphQLSchema, ExecutionId executionId, ExecutionInput executionInput, InstrumentationState instrumentationState)
ExecutionContextBuilder
ExecutionContextBuilder. executionInput(ExecutionInput executionInput)
-
Uses of ExecutionInput in graphql.execution.instrumentation
Methods in graphql.execution.instrumentation that return ExecutionInput Modifier and Type Method Description @NotNull ExecutionInput
ChainedInstrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters)
@NotNull ExecutionInput
ChainedInstrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state)
default @NotNull ExecutionInput
Instrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters)
default @NotNull ExecutionInput
Instrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state)
This is called to instrument aExecutionInput
before it is used to parse, validate and execute a query, allowing you to adjust what query input parameters are used@NotNull ExecutionInput
SimplePerformantInstrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters)
@NotNull ExecutionInput
SimplePerformantInstrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state)
Methods in graphql.execution.instrumentation with parameters of type ExecutionInput Modifier and Type Method Description @NotNull ExecutionInput
ChainedInstrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters)
@NotNull ExecutionInput
ChainedInstrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state)
default @NotNull ExecutionInput
Instrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters)
default @NotNull ExecutionInput
Instrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state)
This is called to instrument aExecutionInput
before it is used to parse, validate and execute a query, allowing you to adjust what query input parameters are used@NotNull ExecutionInput
SimplePerformantInstrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters)
@NotNull ExecutionInput
SimplePerformantInstrumentation. instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state)
-
Uses of ExecutionInput in graphql.execution.instrumentation.parameters
Fields in graphql.execution.instrumentation.parameters declared as ExecutionInput Modifier and Type Field Description private ExecutionInput
InstrumentationCreateStateParameters. executionInput
private ExecutionInput
InstrumentationExecutionParameters. executionInput
Methods in graphql.execution.instrumentation.parameters that return ExecutionInput Modifier and Type Method Description ExecutionInput
InstrumentationCreateStateParameters. getExecutionInput()
ExecutionInput
InstrumentationExecutionParameters. getExecutionInput()
Constructors in graphql.execution.instrumentation.parameters with parameters of type ExecutionInput Constructor Description InstrumentationCreateStateParameters(GraphQLSchema schema, ExecutionInput executionInput)
InstrumentationExecutionParameters(ExecutionInput executionInput, GraphQLSchema schema, InstrumentationState instrumentationState)
InstrumentationValidationParameters(ExecutionInput executionInput, Document document, GraphQLSchema schema, InstrumentationState instrumentationState)
-
Uses of ExecutionInput in graphql.execution.preparsed
Methods in graphql.execution.preparsed with parameters of type ExecutionInput Modifier and Type Method Description PreparsedDocumentEntry
NoOpPreparsedDocumentProvider. getDocument(ExecutionInput executionInput, java.util.function.Function<ExecutionInput,PreparsedDocumentEntry> parseAndValidateFunction)
PreparsedDocumentEntry
PreparsedDocumentProvider. getDocument(ExecutionInput executionInput, java.util.function.Function<ExecutionInput,PreparsedDocumentEntry> parseAndValidateFunction)
default java.util.concurrent.CompletableFuture<PreparsedDocumentEntry>
PreparsedDocumentProvider. getDocumentAsync(ExecutionInput executionInput, java.util.function.Function<ExecutionInput,PreparsedDocumentEntry> parseAndValidateFunction)
This is called to get a "cached" pre-parsed query and if it's not present, then the "parseAndValidateFunction" can be called to parse and validate the query.Method parameters in graphql.execution.preparsed with type arguments of type ExecutionInput Modifier and Type Method Description PreparsedDocumentEntry
NoOpPreparsedDocumentProvider. getDocument(ExecutionInput executionInput, java.util.function.Function<ExecutionInput,PreparsedDocumentEntry> parseAndValidateFunction)
PreparsedDocumentEntry
PreparsedDocumentProvider. getDocument(ExecutionInput executionInput, java.util.function.Function<ExecutionInput,PreparsedDocumentEntry> parseAndValidateFunction)
default java.util.concurrent.CompletableFuture<PreparsedDocumentEntry>
PreparsedDocumentProvider. getDocumentAsync(ExecutionInput executionInput, java.util.function.Function<ExecutionInput,PreparsedDocumentEntry> parseAndValidateFunction)
This is called to get a "cached" pre-parsed query and if it's not present, then the "parseAndValidateFunction" can be called to parse and validate the query. -
Uses of ExecutionInput in graphql.execution.preparsed.persisted
Methods in graphql.execution.preparsed.persisted with parameters of type ExecutionInput Modifier and Type Method Description PreparsedDocumentEntry
PersistedQuerySupport. getDocument(ExecutionInput executionInput, java.util.function.Function<ExecutionInput,PreparsedDocumentEntry> parseAndValidateFunction)
PreparsedDocumentEntry
InMemoryPersistedQueryCache. getPersistedQueryDocument(java.lang.Object persistedQueryId, ExecutionInput executionInput, PersistedQueryCacheMiss onCacheMiss)
PreparsedDocumentEntry
PersistedQueryCache. getPersistedQueryDocument(java.lang.Object persistedQueryId, ExecutionInput executionInput, PersistedQueryCacheMiss onCacheMiss)
default java.util.concurrent.CompletableFuture<PreparsedDocumentEntry>
PersistedQueryCache. getPersistedQueryDocumentAsync(java.lang.Object persistedQueryId, ExecutionInput executionInput, PersistedQueryCacheMiss onCacheMiss)
This is called to get a persisted query from cache.protected java.util.Optional<java.lang.Object>
ApolloPersistedQuerySupport. getPersistedQueryId(ExecutionInput executionInput)
protected abstract java.util.Optional<java.lang.Object>
PersistedQuerySupport. getPersistedQueryId(ExecutionInput executionInput)
This method is required for concrete types to work out the query id (often a hash) that should be used to look up the persisted query in the cache.Method parameters in graphql.execution.preparsed.persisted with type arguments of type ExecutionInput Modifier and Type Method Description PreparsedDocumentEntry
PersistedQuerySupport. getDocument(ExecutionInput executionInput, java.util.function.Function<ExecutionInput,PreparsedDocumentEntry> parseAndValidateFunction)
-