Uses of Class
graphql.ExecutionInput.Builder
Packages that use ExecutionInput.Builder
-
Uses of ExecutionInput.Builder in graphql
Methods in graphql that return ExecutionInput.BuilderModifier and TypeMethodDescriptionExecutionInput.Builder.context
(GraphQLContext.Builder contextBuilder) Deprecated.Deprecated.- theExecutionInput.getGraphQLContext()
is a fixed mutable instance nowExecutionInput.Builder.context
(UnaryOperator<GraphQLContext.Builder> contextBuilderFunction) Deprecated.- theExecutionInput.getGraphQLContext()
is a fixed mutable instance nowExecutionInput.Builder.dataLoaderRegistry
(org.dataloader.DataLoaderRegistry dataLoaderRegistry) You should create newDataLoaderRegistry
s and newDataLoader
s for each execution.ExecutionInput.Builder.executionId
(ExecutionId executionId) A default one will be assigned, but you can set your own.ExecutionInput.Builder.extensions
(Map<String, Object> extensions) ExecutionInput.Builder.graphQLContext
(Consumer<GraphQLContext.Builder> builderFunction) This will give you a builder ofGraphQLContext
and any values you set will be copied into the underlyingGraphQLContext
of this execution inputExecutionInput.Builder.graphQLContext
(Map<?, Object> mapOfContext) This will put all the values from the map into the underlyingGraphQLContext
of this execution inputExecutionInput.Builder.localContext
(Object localContext) Sets initial localContext in root data fetchersSets the locale to use for this operationstatic ExecutionInput.Builder
ExecutionInput.newExecutionInput()
static ExecutionInput.Builder
ExecutionInput.newExecutionInput
(String query) Creates a new builder of ExecutionInput objects with the given queryExecutionInput.Builder.operationName
(String operationName) private ExecutionInput.Builder
ExecutionInput.Builder.transfer
(GraphQLContext graphQLContext) Adds raw (not coerced) variablesMethods in graphql with parameters of type ExecutionInput.BuilderModifier and TypeMethodDescriptionGraphQL.execute
(ExecutionInput.Builder executionInputBuilder) Executes the graphql query using the provided input object builderGraphQL.executeAsync
(ExecutionInput.Builder executionInputBuilder) Executes the graphql query using the provided input object builderMethod parameters in graphql with type arguments of type ExecutionInput.BuilderModifier and TypeMethodDescriptionGraphQL.execute
(UnaryOperator<ExecutionInput.Builder> builderFunction) Executes the graphql query using calling the builder function and giving it a new builder.GraphQL.executeAsync
(UnaryOperator<ExecutionInput.Builder> builderFunction) Executes the graphql query using the provided input object builderExecutionInput.transform
(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.Constructors in graphql with parameters of type ExecutionInput.Builder
ExecutionInput.getGraphQLContext()
is a fixed mutable instance now