Uses of Interface
graphql.execution.instrumentation.InstrumentationState
Packages that use InstrumentationState
Package
Description
-
Uses of InstrumentationState in graphql
Methods in graphql with parameters of type InstrumentationStateModifier and TypeMethodDescriptionprivate CompletableFuture
<ExecutionResult> GraphQL.execute
(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) private CompletableFuture
<ExecutionResult> GraphQL.handleAbortException
(ExecutionInput executionInput, InstrumentationState instrumentationState, AbortExecutionException abortException) private ParseAndValidateResult
GraphQL.parse
(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) private PreparsedDocumentEntry
GraphQL.parseAndValidate
(AtomicReference<ExecutionInput> executionInputRef, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) private CompletableFuture
<ExecutionResult> GraphQL.parseValidateAndExecute
(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) private List
<ValidationError> GraphQL.validate
(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) -
Uses of InstrumentationState in graphql.analysis
Classes in graphql.analysis that implement InstrumentationStateMethods in graphql.analysis that return InstrumentationStateModifier and TypeMethodDescriptionMaxQueryComplexityInstrumentation.createState
(InstrumentationCreateStateParameters parameters) Methods in graphql.analysis with parameters of type InstrumentationStateModifier and TypeMethodDescription@Nullable InstrumentationContext
<ExecutionResult> MaxQueryComplexityInstrumentation.beginExecuteOperation
(InstrumentationExecuteOperationParameters instrumentationExecuteOperationParameters, InstrumentationState rawState) @Nullable InstrumentationContext
<ExecutionResult> MaxQueryDepthInstrumentation.beginExecuteOperation
(InstrumentationExecuteOperationParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<List<ValidationError>> MaxQueryComplexityInstrumentation.beginValidation
(InstrumentationValidationParameters parameters, InstrumentationState rawState) -
Uses of InstrumentationState in graphql.execution
Fields in graphql.execution declared as InstrumentationStateModifier and TypeFieldDescriptionprivate final InstrumentationState
ExecutionContext.instrumentationState
(package private) InstrumentationState
ExecutionContextBuilder.instrumentationState
Methods in graphql.execution that return InstrumentationStateMethods in graphql.execution with parameters of type InstrumentationStateModifier and TypeMethodDescriptionExecution.execute
(Document document, GraphQLSchema graphQLSchema, ExecutionId executionId, ExecutionInput executionInput, InstrumentationState instrumentationState) ExecutionContextBuilder.instrumentationState
(InstrumentationState instrumentationState) -
Uses of InstrumentationState in graphql.execution.instrumentation
Classes in graphql.execution.instrumentation that implement InstrumentationStateModifier and TypeClassDescription(package private) static class
Fields in graphql.execution.instrumentation with type parameters of type InstrumentationStateModifier and TypeFieldDescriptionprivate final Map
<Instrumentation, InstrumentationState> ChainedInstrumentation.ChainedInstrumentationState.instrumentationToStates
Methods in graphql.execution.instrumentation with type parameters of type InstrumentationStateModifier and TypeMethodDescriptionstatic <T extends InstrumentationState>
TInstrumentationState.ofState
(InstrumentationState rawState) This helper method allows you to cast fromInstrumentationState
to a custom classes more easily.Methods in graphql.execution.instrumentation that return InstrumentationStateModifier and TypeMethodDescriptionChainedInstrumentation.createState()
@Nullable InstrumentationState
ChainedInstrumentation.createState
(InstrumentationCreateStateParameters parameters) default InstrumentationState
Instrumentation.createState()
Deprecated.default @Nullable InstrumentationState
Instrumentation.createState
(InstrumentationCreateStateParameters parameters) Deprecated.SimplePerformantInstrumentation.createState()
@Nullable InstrumentationState
SimplePerformantInstrumentation.createState
(InstrumentationCreateStateParameters parameters) protected InstrumentationState
ChainedInstrumentation.getSpecificState
(Instrumentation instrumentation, InstrumentationState parametersInstrumentationState) private InstrumentationState
ChainedInstrumentation.ChainedInstrumentationState.getState
(Instrumentation instrumentation) Methods in graphql.execution.instrumentation that return types with arguments of type InstrumentationStateModifier and TypeMethodDescriptionprivate static CompletableFuture
<InstrumentationState> ChainedInstrumentation.ChainedInstrumentationState.combineAll
(List<Instrumentation> instrumentations, InstrumentationCreateStateParameters parameters) @NotNull CompletableFuture
<InstrumentationState> ChainedInstrumentation.createStateAsync
(InstrumentationCreateStateParameters parameters) default @Nullable CompletableFuture
<InstrumentationState> Instrumentation.createStateAsync
(InstrumentationCreateStateParameters parameters) This will be called just before execution to create an object, in an asynchronous manner, that is given back to all instrumentation methods to allow them to have per execution request state@Nullable CompletableFuture
<InstrumentationState> SimplePerformantInstrumentation.createStateAsync
(InstrumentationCreateStateParameters parameters) Methods in graphql.execution.instrumentation with parameters of type InstrumentationStateModifier and TypeMethodDescriptionChainedInstrumentation.beginExecuteOperation
(InstrumentationExecuteOperationParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<ExecutionResult> Instrumentation.beginExecuteOperation
(InstrumentationExecuteOperationParameters parameters, InstrumentationState state) This is called just before the execution of the query operation is started.NoContextChainedInstrumentation.beginExecuteOperation
(InstrumentationExecuteOperationParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<ExecutionResult> SimplePerformantInstrumentation.beginExecuteOperation
(InstrumentationExecuteOperationParameters parameters, InstrumentationState state) ChainedInstrumentation.beginExecution
(InstrumentationExecutionParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<ExecutionResult> Instrumentation.beginExecution
(InstrumentationExecutionParameters parameters, InstrumentationState state) This is called right at the start of query execution, and it's the first step in the instrumentation chain.NoContextChainedInstrumentation.beginExecution
(InstrumentationExecutionParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<ExecutionResult> SimplePerformantInstrumentation.beginExecution
(InstrumentationExecutionParameters parameters, InstrumentationState state) ChainedInstrumentation.beginExecutionStrategy
(InstrumentationExecutionStrategyParameters parameters, InstrumentationState state) default @Nullable ExecutionStrategyInstrumentationContext
Instrumentation.beginExecutionStrategy
(InstrumentationExecutionStrategyParameters parameters, InstrumentationState state) This is called each time anExecutionStrategy
is invoked, which may be multiple times per query as the engine recursively descends down over the query.NoContextChainedInstrumentation.beginExecutionStrategy
(InstrumentationExecutionStrategyParameters parameters, InstrumentationState state) @Nullable ExecutionStrategyInstrumentationContext
SimplePerformantInstrumentation.beginExecutionStrategy
(InstrumentationExecutionStrategyParameters parameters, InstrumentationState state) ChainedInstrumentation.beginField
(InstrumentationFieldParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<ExecutionResult> Instrumentation.beginField
(InstrumentationFieldParameters parameters, InstrumentationState state) This is called just before a field is resolved into a value.NoContextChainedInstrumentation.beginField
(InstrumentationFieldParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<ExecutionResult> SimplePerformantInstrumentation.beginField
(InstrumentationFieldParameters parameters, InstrumentationState state) ChainedInstrumentation.beginFieldComplete
(InstrumentationFieldCompleteParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<ExecutionResult> Instrumentation.beginFieldComplete
(InstrumentationFieldCompleteParameters parameters, InstrumentationState state) This is called just before the complete field is started.NoContextChainedInstrumentation.beginFieldComplete
(InstrumentationFieldCompleteParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<ExecutionResult> SimplePerformantInstrumentation.beginFieldComplete
(InstrumentationFieldCompleteParameters parameters, InstrumentationState state) ChainedInstrumentation.beginFieldFetch
(InstrumentationFieldFetchParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<Object> Instrumentation.beginFieldFetch
(InstrumentationFieldFetchParameters parameters, InstrumentationState state) This is called just before a fieldDataFetcher
is invoked.NoContextChainedInstrumentation.beginFieldFetch
(InstrumentationFieldFetchParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<Object> SimplePerformantInstrumentation.beginFieldFetch
(InstrumentationFieldFetchParameters parameters, InstrumentationState state) ChainedInstrumentation.beginFieldListComplete
(InstrumentationFieldCompleteParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<ExecutionResult> Instrumentation.beginFieldListComplete
(InstrumentationFieldCompleteParameters parameters, InstrumentationState state) This is called just before the complete field list is started.NoContextChainedInstrumentation.beginFieldListComplete
(InstrumentationFieldCompleteParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<ExecutionResult> SimplePerformantInstrumentation.beginFieldListComplete
(InstrumentationFieldCompleteParameters parameters, InstrumentationState state) ChainedInstrumentation.beginParse
(InstrumentationExecutionParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<Document> Instrumentation.beginParse
(InstrumentationExecutionParameters parameters, InstrumentationState state) This is called just before a query is parsed.NoContextChainedInstrumentation.beginParse
(InstrumentationExecutionParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<Document> SimplePerformantInstrumentation.beginParse
(InstrumentationExecutionParameters parameters, InstrumentationState state) ChainedInstrumentation.beginSubscribedFieldEvent
(InstrumentationFieldParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<ExecutionResult> Instrumentation.beginSubscribedFieldEvent
(InstrumentationFieldParameters parameters, InstrumentationState state) This is called each time a subscription field produces a new reactive stream event value and it needs to be mapped over via the graphql field subselection.NoContextChainedInstrumentation.beginSubscribedFieldEvent
(InstrumentationFieldParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<ExecutionResult> SimplePerformantInstrumentation.beginSubscribedFieldEvent
(InstrumentationFieldParameters parameters, InstrumentationState state) ChainedInstrumentation.beginValidation
(InstrumentationValidationParameters parameters, InstrumentationState state) default @Nullable InstrumentationContext
<List<ValidationError>> Instrumentation.beginValidation
(InstrumentationValidationParameters parameters, InstrumentationState state) This is called just before the parsed query document is validated.NoContextChainedInstrumentation.beginValidation
(InstrumentationValidationParameters parameters, InstrumentationState state) @Nullable InstrumentationContext
<List<ValidationError>> SimplePerformantInstrumentation.beginValidation
(InstrumentationValidationParameters parameters, InstrumentationState state) protected InstrumentationState
ChainedInstrumentation.getSpecificState
(Instrumentation instrumentation, InstrumentationState parametersInstrumentationState) @NotNull DataFetcher
<?> ChainedInstrumentation.instrumentDataFetcher
(DataFetcher<?> dataFetcher, InstrumentationFieldFetchParameters parameters, InstrumentationState state) default @NotNull DataFetcher
<?> Instrumentation.instrumentDataFetcher
(DataFetcher<?> dataFetcher, InstrumentationFieldFetchParameters parameters, InstrumentationState state) This is called to instrument aDataFetcher
just before it is used to fetch a field, allowing you to adjust what information is passed back or record information about specific data fetches.@NotNull DataFetcher
<?> SimplePerformantInstrumentation.instrumentDataFetcher
(DataFetcher<?> dataFetcher, InstrumentationFieldFetchParameters parameters, InstrumentationState state) @NotNull DocumentAndVariables
ChainedInstrumentation.instrumentDocumentAndVariables
(DocumentAndVariables documentAndVariables, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull DocumentAndVariables
Instrumentation.instrumentDocumentAndVariables
(DocumentAndVariables documentAndVariables, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aDocument
and variables before it is used allowing you to adjust the query AST if you so desire@NotNull DocumentAndVariables
SimplePerformantInstrumentation.instrumentDocumentAndVariables
(DocumentAndVariables documentAndVariables, InstrumentationExecutionParameters parameters, InstrumentationState state) @NotNull ExecutionContext
ChainedInstrumentation.instrumentExecutionContext
(ExecutionContext executionContext, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull ExecutionContext
Instrumentation.instrumentExecutionContext
(ExecutionContext executionContext, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aExecutionContext
before it is used to execute a query, allowing you to adjust the base data used.@NotNull ExecutionContext
SimplePerformantInstrumentation.instrumentExecutionContext
(ExecutionContext executionContext, InstrumentationExecutionParameters parameters, InstrumentationState state) @NotNull ExecutionInput
ChainedInstrumentation.instrumentExecutionInput
(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state) 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, InstrumentationState state) @NotNull CompletableFuture
<ExecutionResult> ChainedInstrumentation.instrumentExecutionResult
(ExecutionResult executionResult, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull CompletableFuture
<ExecutionResult> Instrumentation.instrumentExecutionResult
(ExecutionResult executionResult, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to allow instrumentation to instrument the execution result in some way@NotNull CompletableFuture
<ExecutionResult> SimplePerformantInstrumentation.instrumentExecutionResult
(ExecutionResult executionResult, InstrumentationExecutionParameters parameters, InstrumentationState state) @NotNull GraphQLSchema
ChainedInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull GraphQLSchema
Instrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aGraphQLSchema
before it is used to parse, validate and execute a query, allowing you to adjust what types are used.@NotNull GraphQLSchema
SimplePerformantInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) static <T extends InstrumentationState>
TInstrumentationState.ofState
(InstrumentationState rawState) This helper method allows you to cast fromInstrumentationState
to a custom classes more easily.private <T> T
NoContextChainedInstrumentation.runAll
(InstrumentationState state, BiConsumer<Instrumentation, InstrumentationState> stateConsumer) Method parameters in graphql.execution.instrumentation with type arguments of type InstrumentationStateModifier and TypeMethodDescriptionprivate <T> T
NoContextChainedInstrumentation.runAll
(InstrumentationState state, BiConsumer<Instrumentation, InstrumentationState> stateConsumer) -
Uses of InstrumentationState in graphql.execution.instrumentation.dataloader
Classes in graphql.execution.instrumentation.dataloader that implement InstrumentationStateModifier and TypeClassDescriptionclass
A base class that keeps track of whether aggressive batching can be usedprivate static class
Fields in graphql.execution.instrumentation.dataloader declared as InstrumentationStateModifier and TypeFieldDescriptionprivate final InstrumentationState
DataLoaderDispatcherInstrumentationState.state
Methods in graphql.execution.instrumentation.dataloader that return InstrumentationStateModifier and TypeMethodDescriptionDataLoaderDispatcherInstrumentation.createState
(InstrumentationCreateStateParameters parameters) FieldLevelTrackingApproach.createState()
(package private) InstrumentationState
DataLoaderDispatcherInstrumentationState.getState()
Methods in graphql.execution.instrumentation.dataloader with parameters of type InstrumentationStateModifier and TypeMethodDescription@Nullable InstrumentationContext
<ExecutionResult> DataLoaderDispatcherInstrumentation.beginExecuteOperation
(InstrumentationExecuteOperationParameters parameters, InstrumentationState rawState) @Nullable ExecutionStrategyInstrumentationContext
DataLoaderDispatcherInstrumentation.beginExecutionStrategy
(InstrumentationExecutionStrategyParameters parameters, InstrumentationState rawState) (package private) ExecutionStrategyInstrumentationContext
FieldLevelTrackingApproach.beginExecutionStrategy
(InstrumentationExecutionStrategyParameters parameters, InstrumentationState rawState) @Nullable InstrumentationContext
<Object> DataLoaderDispatcherInstrumentation.beginFieldFetch
(InstrumentationFieldFetchParameters parameters, InstrumentationState rawState) FieldLevelTrackingApproach.beginFieldFetch
(InstrumentationFieldFetchParameters parameters, InstrumentationState rawState) @NotNull DataFetcher
<?> DataLoaderDispatcherInstrumentation.instrumentDataFetcher
(DataFetcher<?> dataFetcher, InstrumentationFieldFetchParameters parameters, InstrumentationState rawState) @NotNull CompletableFuture
<ExecutionResult> DataLoaderDispatcherInstrumentation.instrumentExecutionResult
(ExecutionResult executionResult, InstrumentationExecutionParameters parameters, InstrumentationState rawState) -
Uses of InstrumentationState in graphql.execution.instrumentation.fieldvalidation
Methods in graphql.execution.instrumentation.fieldvalidation with parameters of type InstrumentationStateModifier and TypeMethodDescription@Nullable InstrumentationContext
<ExecutionResult> FieldValidationInstrumentation.beginExecuteOperation
(InstrumentationExecuteOperationParameters parameters, InstrumentationState state) -
Uses of InstrumentationState in graphql.execution.instrumentation.parameters
Fields in graphql.execution.instrumentation.parameters declared as InstrumentationStateModifier and TypeFieldDescriptionprivate final InstrumentationState
InstrumentationExecuteOperationParameters.instrumentationState
private final InstrumentationState
InstrumentationExecutionParameters.instrumentationState
private final InstrumentationState
InstrumentationExecutionStrategyParameters.instrumentationState
private final InstrumentationState
InstrumentationFieldCompleteParameters.instrumentationState
private final InstrumentationState
InstrumentationFieldParameters.instrumentationState
Methods in graphql.execution.instrumentation.parameters with type parameters of type InstrumentationStateModifier and TypeMethodDescription<T extends InstrumentationState>
TInstrumentationExecuteOperationParameters.getInstrumentationState()
Deprecated.state is now passed in direct to instrumentation methods<T extends InstrumentationState>
TInstrumentationExecutionParameters.getInstrumentationState()
Deprecated.state is now passed in direct to instrumentation methods<T extends InstrumentationState>
TInstrumentationExecutionStrategyParameters.getInstrumentationState()
Deprecated.state is now passed in direct to instrumentation methods<T extends InstrumentationState>
TInstrumentationFieldCompleteParameters.getInstrumentationState()
Deprecated.state is now passed in direct to instrumentation methods<T extends InstrumentationState>
TInstrumentationFieldParameters.getInstrumentationState()
Deprecated.state is now passed in direct to instrumentation methodsMethods in graphql.execution.instrumentation.parameters with parameters of type InstrumentationStateModifier and TypeMethodDescriptionInstrumentationExecuteOperationParameters.withNewState
(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsInstrumentationExecutionParameters.withNewState
(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsInstrumentationExecutionStrategyParameters.withNewState
(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsInstrumentationFieldCompleteParameters.withNewState
(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsInstrumentationFieldFetchParameters.withNewState
(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsInstrumentationFieldParameters.withNewState
(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsInstrumentationValidationParameters.withNewState
(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsConstructors in graphql.execution.instrumentation.parameters with parameters of type InstrumentationStateModifierConstructorDescriptionprivate
InstrumentationExecuteOperationParameters
(ExecutionContext executionContext, InstrumentationState instrumentationState) InstrumentationExecutionParameters
(ExecutionInput executionInput, GraphQLSchema schema, InstrumentationState instrumentationState) private
InstrumentationExecutionStrategyParameters
(ExecutionContext executionContext, ExecutionStrategyParameters executionStrategyParameters, InstrumentationState instrumentationState) (package private)
InstrumentationFieldCompleteParameters
(ExecutionContext executionContext, ExecutionStrategyParameters executionStrategyParameters, Supplier<ExecutionStepInfo> executionStepInfo, Object fetchedValue, InstrumentationState instrumentationState) private
InstrumentationFieldFetchParameters
(ExecutionContext getExecutionContext, Supplier<DataFetchingEnvironment> environment, InstrumentationState instrumentationState, ExecutionStrategyParameters executionStrategyParameters, boolean trivialDataFetcher) (package private)
InstrumentationFieldParameters
(ExecutionContext executionContext, Supplier<ExecutionStepInfo> executionStepInfo, InstrumentationState instrumentationState) InstrumentationValidationParameters
(ExecutionInput executionInput, Document document, GraphQLSchema schema, InstrumentationState instrumentationState) -
Uses of InstrumentationState in graphql.execution.instrumentation.threadpools
Methods in graphql.execution.instrumentation.threadpools with parameters of type InstrumentationStateModifier and TypeMethodDescription@NotNull DataFetcher
<?> ExecutorInstrumentation.instrumentDataFetcher
(DataFetcher<?> originalDataFetcher, InstrumentationFieldFetchParameters parameters, InstrumentationState state) -
Uses of InstrumentationState in graphql.execution.instrumentation.tracing
Classes in graphql.execution.instrumentation.tracing that implement InstrumentationStateModifier and TypeClassDescriptionclass
This creates a map of tracing information as outlined in https://github.com/apollographql/apollo-tracingMethods in graphql.execution.instrumentation.tracing that return InstrumentationStateModifier and TypeMethodDescription@Nullable InstrumentationState
TracingInstrumentation.createState
(InstrumentationCreateStateParameters parameters) Methods in graphql.execution.instrumentation.tracing with parameters of type InstrumentationStateModifier and TypeMethodDescriptionTracingInstrumentation.beginFieldFetch
(InstrumentationFieldFetchParameters parameters, InstrumentationState rawState) TracingInstrumentation.beginParse
(InstrumentationExecutionParameters parameters, InstrumentationState rawState) TracingInstrumentation.beginValidation
(InstrumentationValidationParameters parameters, InstrumentationState rawState) @NotNull CompletableFuture
<ExecutionResult> TracingInstrumentation.instrumentExecutionResult
(ExecutionResult executionResult, InstrumentationExecutionParameters parameters, InstrumentationState rawState)
Instrumentation.createState(InstrumentationCreateStateParameters)
instead