Package org.allGraphQLCases.client2
Class AnotherMutationTypeReactiveExecutorAllGraphQLCases2
java.lang.Object
org.allGraphQLCases.client2.AnotherMutationTypeReactiveExecutorAllGraphQLCases2
- All Implemented Interfaces:
GraphQLMutationReactiveExecutor
@Component
public class AnotherMutationTypeReactiveExecutorAllGraphQLCases2
extends Object
implements GraphQLMutationReactiveExecutor
A mono line description for AnotherMutationType
This class contains the methods that allows the execution of the queries or mutations that are defined in the AnotherMutationType of the GraphQL schema. All the methods for this executor are in spring reactive, that is: they return a
These methods allows:
This class contains the methods that allows the execution of the queries or mutations that are defined in the AnotherMutationType of the GraphQL schema. All the methods for this executor are in spring reactive, that is: they return a
Mono
.These methods allows:
- Preparation of full requests
- Execution of prepared full requests
- Execution of direct full direct requests
- Preparation of partial requests
- Execution of prepared partial requests
- Execution of direct partial requests
- Author:
- generated by graphql-java-generator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__typename
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.__typename
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query against the GraphQL server.__typenameWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.__typenameWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query against the GraphQL server._if
(ObjectResponse objectResponse, Object... paramsAndValues) test for issue #139 (use of java reserved keyword)
This method is expected by the graphql-java framework.test for issue #139 (use of java reserved keyword)
This method executes a partial query against the GraphQL server._ifWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) test for issue #139 (use of java reserved keyword)
This method is expected by the graphql-java framework._ifWithBindValues
(String queryResponseDef, Map<String, Object> parameters) test for issue #139 (use of java reserved keyword) This method executes a partial query against the GraphQL server._implements
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework._implements
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query against the GraphQL server._implementsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._implementsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.reactor.core.publisher.Mono<Optional<AllFieldCases>>
createAllFieldCases
(ObjectResponse objectResponse, AllFieldCasesInput input, Object... paramsAndValues) This method is expected by the graphql-java framework.reactor.core.publisher.Mono<Optional<AllFieldCases>>
createAllFieldCases
(String queryResponseDef, AllFieldCasesInput input, Object... paramsAndValues) This method executes a partial query against the GraphQL server.reactor.core.publisher.Mono<Optional<AllFieldCases>>
createAllFieldCasesWithBindValues
(ObjectResponse objectResponse, AllFieldCasesInput input, Map<String, Object> parameters) This method is expected by the graphql-java framework.reactor.core.publisher.Mono<Optional<AllFieldCases>>
createAllFieldCasesWithBindValues
(String queryResponseDef, AllFieldCasesInput input, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.createHuman
(ObjectResponse objectResponse, HumanInput human, Object... paramsAndValues) This method is expected by the graphql-java framework.createHuman
(String queryResponseDef, HumanInput human, Object... paramsAndValues) This method executes a partial query against the GraphQL server.createHumanWithBindValues
(ObjectResponse objectResponse, HumanInput human, Map<String, Object> parameters) This method is expected by the graphql-java framework.createHumanWithBindValues
(String queryResponseDef, HumanInput human, Map<String, Object> parameters) This method executes a partial query against the GraphQL server.deleteSnacks
(ObjectResponse objectResponse, List<String> id, Object... paramsAndValues) Tests for issue 51
This method is expected by the graphql-java framework.deleteSnacks
(String queryResponseDef, List<String> id, Object... paramsAndValues) Tests for issue 51
This method executes a partial query against the GraphQL server.deleteSnacksWithBindValues
(ObjectResponse objectResponse, List<String> id, Map<String, Object> parameters) Tests for issue 51
This method is expected by the graphql-java framework.Tests for issue 51 This method executes a partial query against the GraphQL server.reactor.core.publisher.Mono<AnotherMutationType>
exec
(ObjectResponse objectResponse, Object... paramsAndValues) This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Mono<AnotherMutationType>
This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Mono<AnotherMutationType>
execWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.reactor.core.publisher.Mono<AnotherMutationType>
execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.get__typenameGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequestAllGraphQLCases2
for the __typename REACTIVE_EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the __typename query/mutation.getCreateAllFieldCasesGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequestAllGraphQLCases2
for the createAllFieldCases REACTIVE_EXECUTOR, created with the given Partial request.Get theBuilder
for the AllFieldCases, as expected by the createAllFieldCases query/mutation.getCreateHumanGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequestAllGraphQLCases2
for the createHuman REACTIVE_EXECUTOR, created with the given Partial request.Get theBuilder
for the Human, as expected by the createHuman query/mutation.getDeleteSnacksGraphQLRequest
(String partialRequest) Tests for issue 51
Get theGraphQLReactiveRequestAllGraphQLCases2
for the deleteSnacks REACTIVE_EXECUTOR, created with the given Partial request.Tests for issue 51
Get theBuilder
for the Boolean, as expected by the deleteSnacks query/mutation.getGraphQLRequest
(String fullRequest) Get theGraphQLReactiveRequestAllGraphQLCases2
for full request.getIfGraphQLRequest
(String partialRequest) test for issue #139 (use of java reserved keyword)
Get theGraphQLReactiveRequestAllGraphQLCases2
for the if REACTIVE_EXECUTOR, created with the given Partial request.test for issue #139 (use of java reserved keyword)
Get theBuilder
for the String, as expected by the if query/mutation.getImplementsGraphQLRequest
(String partialRequest) Get theGraphQLReactiveRequestAllGraphQLCases2
for the implements REACTIVE_EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the implements query/mutation.Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.
-
Constructor Details
-
AnotherMutationTypeReactiveExecutorAllGraphQLCases2
public AnotherMutationTypeReactiveExecutorAllGraphQLCases2()
-
-
Method Details
-
execWithBindValues
public reactor.core.publisher.Mono<AnotherMutationType> execWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method takes a full request definition, and executes it against the GraphQL server. As this class is a mutation executor, the provided request must be a mutation full request. This request will be executed in reactive mode, that is: it returns aMono
<org.allGraphQLCases.client2.AnotherMutationType>
This method offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the mutation, in the native GraphQL format (see here above). It must ommit the query/mutation/subscription keyword, and start by the first { that follows.It may contain directives, as explained in the GraphQL specs.parameters
- The map of values, for the bind variables defined in the query. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
. The key is the parameter name, as defined in the query (in the above sample: heroParam is an optional parameter and skip is a mandatory one). The value is the parameter vale in its Java type (for instance aDate
for theGraphQLScalarTypeDate
). The parameters which value is missing in this map will no be transmitted toward the GraphQL server.- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public reactor.core.publisher.Mono<AnotherMutationType> exec(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method takes a full request definition, and executes it against the GraphQL server. As this class is a mutation executor, the provided request must be a mutation full request. This request will be executed in reactive mode, that is: it returns aMono
<org.allGraphQLCases.client2.AnotherMutationType>
This method offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above). It must ommit the query/mutation/subscription keyword, and start by the first { that follows.It may contain directives, as explained in the GraphQL specs.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
execWithBindValues
public reactor.core.publisher.Mono<AnotherMutationType> execWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method takes a full request definition, and executes it against the GraphQL server. As this class is a mutation executor, the provided request must be a mutation full request. This request will be executed in reactive mode, that is: it returns aMono
<org.allGraphQLCases.client2.AnotherMutationType>
This method offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
methods.parameters
- The list of values, for the bind variables defined in the query. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public reactor.core.publisher.Mono<AnotherMutationType> exec(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method takes a full request definition, and executes it against the GraphQL server. As this class is a mutation executor, the provided request must be a mutation full request. This request will be executed in reactive mode, that is: it returns aMono
<org.allGraphQLCases.client2.AnotherMutationType>
This method offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
methods.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getResponseBuilder
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getGraphQLRequest
public GraphQLReactiveRequestAllGraphQLCases2 getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException Get theGraphQLReactiveRequestAllGraphQLCases2
for full request. For instance:GraphQLReactiveRequestAllGraphQLCases2 request = new GraphQLRequest(fullRequest);
- Parameters:
fullRequest
- The full GraphQL Request, as specified in the GraphQL specification- Returns:
- Throws:
GraphQLRequestPreparationException
-
createHumanWithBindValues
public reactor.core.publisher.Mono<Optional<Human>> createHumanWithBindValues(String queryResponseDef, HumanInput human, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)human
- Parameter for the createHuman field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
createHuman
public reactor.core.publisher.Mono<Optional<Human>> createHuman(String queryResponseDef, HumanInput human, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query/mutation, in the native GraphQL format (see here above)human
- Parameter for the createHuman field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
createHumanWithBindValues
public reactor.core.publisher.Mono<Optional<Human>> createHumanWithBindValues(ObjectResponse objectResponse, HumanInput human, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetCreateHumanGraphQLRequest(java.lang.String)
method.human
- Parameter for the createHuman field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
createHuman
public reactor.core.publisher.Mono<Optional<Human>> createHuman(ObjectResponse objectResponse, HumanInput human, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetCreateHumanGraphQLRequest(java.lang.String)
method.human
- Parameter for the createHuman field of AnotherMutationType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getCreateHumanResponseBuilder
Get theBuilder
for the Human, as expected by the createHuman query/mutation.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreateHumanGraphQLRequest
public GraphQLReactiveRequestAllGraphQLCases2 getCreateHumanGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLReactiveRequestAllGraphQLCases2
for the createHuman REACTIVE_EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
createAllFieldCasesWithBindValues
public reactor.core.publisher.Mono<Optional<AllFieldCases>> createAllFieldCasesWithBindValues(String queryResponseDef, AllFieldCasesInput input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the createAllFieldCases field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
createAllFieldCases
public reactor.core.publisher.Mono<Optional<AllFieldCases>> createAllFieldCases(String queryResponseDef, AllFieldCasesInput input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query/mutation, in the native GraphQL format (see here above)input
- Parameter for the createAllFieldCases field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
createAllFieldCasesWithBindValues
public reactor.core.publisher.Mono<Optional<AllFieldCases>> createAllFieldCasesWithBindValues(ObjectResponse objectResponse, AllFieldCasesInput input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetCreateAllFieldCasesGraphQLRequest(java.lang.String)
method.input
- Parameter for the createAllFieldCases field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
createAllFieldCases
public reactor.core.publisher.Mono<Optional<AllFieldCases>> createAllFieldCases(ObjectResponse objectResponse, AllFieldCasesInput input, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetCreateAllFieldCasesGraphQLRequest(java.lang.String)
method.input
- Parameter for the createAllFieldCases field of AnotherMutationType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getCreateAllFieldCasesResponseBuilder
Get theBuilder
for the AllFieldCases, as expected by the createAllFieldCases query/mutation.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreateAllFieldCasesGraphQLRequest
public GraphQLReactiveRequestAllGraphQLCases2 getCreateAllFieldCasesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLReactiveRequestAllGraphQLCases2
for the createAllFieldCases REACTIVE_EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
deleteSnacksWithBindValues
public reactor.core.publisher.Mono<Optional<Boolean>> deleteSnacksWithBindValues(String queryResponseDef, List<String> id, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionTests for issue 51 This method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)id
- Parameter for the deleteSnacks field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
deleteSnacks
public reactor.core.publisher.Mono<Optional<Boolean>> deleteSnacks(String queryResponseDef, List<String> id, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Tests for issue 51
This method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query/mutation, in the native GraphQL format (see here above)id
- Parameter for the deleteSnacks field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
deleteSnacksWithBindValues
public reactor.core.publisher.Mono<Optional<Boolean>> deleteSnacksWithBindValues(ObjectResponse objectResponse, List<String> id, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionTests for issue 51
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetDeleteSnacksGraphQLRequest(java.lang.String)
method.id
- Parameter for the deleteSnacks field of AnotherMutationType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
deleteSnacks
public reactor.core.publisher.Mono<Optional<Boolean>> deleteSnacks(ObjectResponse objectResponse, List<String> id, Object... paramsAndValues) throws GraphQLRequestExecutionException Tests for issue 51
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetDeleteSnacksGraphQLRequest(java.lang.String)
method.id
- Parameter for the deleteSnacks field of AnotherMutationType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getDeleteSnacksResponseBuilder
Tests for issue 51
Get theBuilder
for the Boolean, as expected by the deleteSnacks query/mutation.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getDeleteSnacksGraphQLRequest
public GraphQLReactiveRequestAllGraphQLCases2 getDeleteSnacksGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Tests for issue 51
Get theGraphQLReactiveRequestAllGraphQLCases2
for the deleteSnacks REACTIVE_EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_ifWithBindValues
public reactor.core.publisher.Mono<Optional<String>> _ifWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptiontest for issue #139 (use of java reserved keyword) This method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public reactor.core.publisher.Mono<Optional<String>> _if(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
This method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query/mutation, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_ifWithBindValues
public reactor.core.publisher.Mono<Optional<String>> _ifWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptiontest for issue #139 (use of java reserved keyword)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIfGraphQLRequest(java.lang.String)
method.parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public reactor.core.publisher.Mono<Optional<String>> _if(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException test for issue #139 (use of java reserved keyword)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIfGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIfResponseBuilder
test for issue #139 (use of java reserved keyword)
Get theBuilder
for the String, as expected by the if query/mutation.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIfGraphQLRequest
public GraphQLReactiveRequestAllGraphQLCases2 getIfGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
Get theGraphQLReactiveRequestAllGraphQLCases2
for the if REACTIVE_EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_implementsWithBindValues
public reactor.core.publisher.Mono<Optional<String>> _implementsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public reactor.core.publisher.Mono<Optional<String>> _implements(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query/mutation, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implementsWithBindValues
public reactor.core.publisher.Mono<Optional<String>> _implementsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetImplementsGraphQLRequest(java.lang.String)
method.parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public reactor.core.publisher.Mono<Optional<String>> _implements(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetImplementsGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getImplementsResponseBuilder
Get theBuilder
for the String, as expected by the implements query/mutation.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getImplementsGraphQLRequest
public GraphQLReactiveRequestAllGraphQLCases2 getImplementsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLReactiveRequestAllGraphQLCases2
for the implements REACTIVE_EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__typenameWithBindValues
public reactor.core.publisher.Mono<Optional<String>> __typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typename
public reactor.core.publisher.Mono<Optional<String>> __typename(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query against the GraphQL server. That is, the query that is one of the queries defined in the GraphQL query object. The queryResponseDef contains the part of the query that is after the query name.
For instance, if the query hero has one parameter (as defined in the GraphQL schema):- Parameters:
queryResponseDef
- The response definition of the query/mutation, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typenameWithBindValues
public reactor.core.publisher.Mono<Optional<String>> __typenameWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by theget__typenameGraphQLRequest(java.lang.String)
method.parameters
- The list of values, for the bind variables defined in the query/mutation. If there is no bind variable in the defined query/mutation, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typename
public reactor.core.publisher.Mono<Optional<String>> __typename(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by theget__typenameGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
get__typenameResponseBuilder
Get theBuilder
for the String, as expected by the __typename query/mutation.- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typenameGraphQLRequest
public GraphQLReactiveRequestAllGraphQLCases2 get__typenameGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLReactiveRequestAllGraphQLCases2
for the __typename REACTIVE_EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-