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 ParseAndValidateResultGraphQL.parse(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) private PreparsedDocumentEntryGraphQL.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 InstrumentationStateExecutionContext.instrumentationState(package private) InstrumentationStateExecutionContextBuilder.instrumentationStateMethods 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 classFields in graphql.execution.instrumentation with type parameters of type InstrumentationStateModifier and TypeFieldDescriptionprivate final Map<Instrumentation, InstrumentationState> ChainedInstrumentation.ChainedInstrumentationState.instrumentationToStatesMethods 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 fromInstrumentationStateto a custom classes more easily.Methods in graphql.execution.instrumentation that return InstrumentationStateModifier and TypeMethodDescriptionChainedInstrumentation.createState()@Nullable InstrumentationStateChainedInstrumentation.createState(InstrumentationCreateStateParameters parameters) default InstrumentationStateInstrumentation.createState()Deprecated.default @Nullable InstrumentationStateInstrumentation.createState(InstrumentationCreateStateParameters parameters) Deprecated.SimplePerformantInstrumentation.createState()@Nullable InstrumentationStateSimplePerformantInstrumentation.createState(InstrumentationCreateStateParameters parameters) protected InstrumentationStateChainedInstrumentation.getSpecificState(Instrumentation instrumentation, InstrumentationState parametersInstrumentationState) private InstrumentationStateChainedInstrumentation.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 ExecutionStrategyInstrumentationContextInstrumentation.beginExecutionStrategy(InstrumentationExecutionStrategyParameters parameters, InstrumentationState state) This is called each time anExecutionStrategyis invoked, which may be multiple times per query as the engine recursively descends down over the query.NoContextChainedInstrumentation.beginExecutionStrategy(InstrumentationExecutionStrategyParameters parameters, InstrumentationState state) @Nullable ExecutionStrategyInstrumentationContextSimplePerformantInstrumentation.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 fieldDataFetcheris 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 InstrumentationStateChainedInstrumentation.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 aDataFetcherjust 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 DocumentAndVariablesChainedInstrumentation.instrumentDocumentAndVariables(DocumentAndVariables documentAndVariables, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull DocumentAndVariablesInstrumentation.instrumentDocumentAndVariables(DocumentAndVariables documentAndVariables, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aDocumentand variables before it is used allowing you to adjust the query AST if you so desire@NotNull DocumentAndVariablesSimplePerformantInstrumentation.instrumentDocumentAndVariables(DocumentAndVariables documentAndVariables, InstrumentationExecutionParameters parameters, InstrumentationState state) @NotNull ExecutionContextChainedInstrumentation.instrumentExecutionContext(ExecutionContext executionContext, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull ExecutionContextInstrumentation.instrumentExecutionContext(ExecutionContext executionContext, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aExecutionContextbefore it is used to execute a query, allowing you to adjust the base data used.@NotNull ExecutionContextSimplePerformantInstrumentation.instrumentExecutionContext(ExecutionContext executionContext, InstrumentationExecutionParameters parameters, InstrumentationState state) @NotNull ExecutionInputChainedInstrumentation.instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull ExecutionInputInstrumentation.instrumentExecutionInput(ExecutionInput executionInput, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aExecutionInputbefore it is used to parse, validate and execute a query, allowing you to adjust what query input parameters are used@NotNull ExecutionInputSimplePerformantInstrumentation.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 GraphQLSchemaChainedInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull GraphQLSchemaInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aGraphQLSchemabefore it is used to parse, validate and execute a query, allowing you to adjust what types are used.@NotNull GraphQLSchemaSimplePerformantInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) static <T extends InstrumentationState>
TInstrumentationState.ofState(InstrumentationState rawState) This helper method allows you to cast fromInstrumentationStateto a custom classes more easily.private <T> TNoContextChainedInstrumentation.runAll(InstrumentationState state, BiConsumer<Instrumentation, InstrumentationState> stateConsumer) Method parameters in graphql.execution.instrumentation with type arguments of type InstrumentationStateModifier and TypeMethodDescriptionprivate <T> TNoContextChainedInstrumentation.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 TypeClassDescriptionclassA base class that keeps track of whether aggressive batching can be usedprivate static classFields in graphql.execution.instrumentation.dataloader declared as InstrumentationStateModifier and TypeFieldDescriptionprivate final InstrumentationStateDataLoaderDispatcherInstrumentationState.stateMethods in graphql.execution.instrumentation.dataloader that return InstrumentationStateModifier and TypeMethodDescriptionDataLoaderDispatcherInstrumentation.createState(InstrumentationCreateStateParameters parameters) FieldLevelTrackingApproach.createState()(package private) InstrumentationStateDataLoaderDispatcherInstrumentationState.getState()Methods in graphql.execution.instrumentation.dataloader with parameters of type InstrumentationStateModifier and TypeMethodDescription@Nullable InstrumentationContext<ExecutionResult> DataLoaderDispatcherInstrumentation.beginExecuteOperation(InstrumentationExecuteOperationParameters parameters, InstrumentationState rawState) @Nullable ExecutionStrategyInstrumentationContextDataLoaderDispatcherInstrumentation.beginExecutionStrategy(InstrumentationExecutionStrategyParameters parameters, InstrumentationState rawState) (package private) ExecutionStrategyInstrumentationContextFieldLevelTrackingApproach.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 InstrumentationStateInstrumentationExecuteOperationParameters.instrumentationStateprivate final InstrumentationStateInstrumentationExecutionParameters.instrumentationStateprivate final InstrumentationStateInstrumentationExecutionStrategyParameters.instrumentationStateprivate final InstrumentationStateInstrumentationFieldCompleteParameters.instrumentationStateprivate final InstrumentationStateInstrumentationFieldParameters.instrumentationStateMethods 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 InstrumentationStateModifierConstructorDescriptionprivateInstrumentationExecuteOperationParameters(ExecutionContext executionContext, InstrumentationState instrumentationState) InstrumentationExecutionParameters(ExecutionInput executionInput, GraphQLSchema schema, InstrumentationState instrumentationState) privateInstrumentationExecutionStrategyParameters(ExecutionContext executionContext, ExecutionStrategyParameters executionStrategyParameters, InstrumentationState instrumentationState) (package private)InstrumentationFieldCompleteParameters(ExecutionContext executionContext, ExecutionStrategyParameters executionStrategyParameters, Supplier<ExecutionStepInfo> executionStepInfo, Object fetchedValue, InstrumentationState instrumentationState) privateInstrumentationFieldFetchParameters(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 TypeClassDescriptionclassThis 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 InstrumentationStateTracingInstrumentation.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