Package io.smallrye.graphql.execution
Class ExecutionService
java.lang.Object
io.smallrye.graphql.execution.ExecutionService
Executing the GraphQL request
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionService(graphql.schema.GraphQLSchema graphQLSchema, Schema schema) ExecutionService(graphql.schema.GraphQLSchema graphQLSchema, Schema schema, graphql.execution.ExecutionStrategy queryExecutionStrategy, graphql.execution.ExecutionStrategy mutationExecutionStrategy) ExecutionService(graphql.schema.GraphQLSchema graphQLSchema, Schema schema, Optional<SubmissionPublisher<String>> traficPublisher) ExecutionService(graphql.schema.GraphQLSchema graphQLSchema, Schema schema, Optional<SubmissionPublisher<String>> traficPublisher, graphql.execution.ExecutionStrategy queryExecutionStrategy, graphql.execution.ExecutionStrategy mutationExecutionStrategy) -
Method Summary
Modifier and TypeMethodDescriptionexecute(jakarta.json.JsonObject jsonInput) Deprecated.voidexecute(jakarta.json.JsonObject jsonInput, ExecutionResponseWriter writer, boolean async) voidexecute(jakarta.json.JsonObject jsonInput, Map<String, Object> context, ExecutionResponseWriter writer, boolean async) voidexecuteAsync(jakarta.json.JsonObject jsonInput, ExecutionResponseWriter writer) voidexecuteAsync(jakarta.json.JsonObject jsonInput, Map<String, Object> context, ExecutionResponseWriter writer) voidexecuteSync(jakarta.json.JsonObject jsonInput, ExecutionResponseWriter writer) voidexecuteSync(jakarta.json.JsonObject jsonInput, Map<String, Object> context, ExecutionResponseWriter writer)
-
Constructor Details
-
ExecutionService
-
ExecutionService
public ExecutionService(graphql.schema.GraphQLSchema graphQLSchema, Schema schema, Optional<SubmissionPublisher<String>> traficPublisher) -
ExecutionService
public ExecutionService(graphql.schema.GraphQLSchema graphQLSchema, Schema schema, graphql.execution.ExecutionStrategy queryExecutionStrategy, graphql.execution.ExecutionStrategy mutationExecutionStrategy) -
ExecutionService
public ExecutionService(graphql.schema.GraphQLSchema graphQLSchema, Schema schema, Optional<SubmissionPublisher<String>> traficPublisher, graphql.execution.ExecutionStrategy queryExecutionStrategy, graphql.execution.ExecutionStrategy mutationExecutionStrategy)
-
-
Method Details
-
execute
Deprecated. -
executeSync
-
executeSync
public void executeSync(jakarta.json.JsonObject jsonInput, Map<String, Object> context, ExecutionResponseWriter writer) -
executeAsync
-
executeAsync
public void executeAsync(jakarta.json.JsonObject jsonInput, Map<String, Object> context, ExecutionResponseWriter writer) -
execute
public void execute(jakarta.json.JsonObject jsonInput, ExecutionResponseWriter writer, boolean async) -
execute
public void execute(jakarta.json.JsonObject jsonInput, Map<String, Object> context, ExecutionResponseWriter writer, boolean async)
-