Class QueryTypeReactiveExecutor

java.lang.Object
com.generated.graphql.util.QueryTypeReactiveExecutor
All Implemented Interfaces:
GraphQLQueryReactiveExecutor

@Component public class QueryTypeReactiveExecutor extends Object implements GraphQLQueryReactiveExecutor
This class contains the methods that allows the execution of the queries or mutations that are defined in the QueryType 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
You'll find all the documentation on the client page doc.
Author:
generated by graphql-java-generator
  • Constructor Details

    • QueryTypeReactiveExecutor

      public QueryTypeReactiveExecutor()
  • Method Details

    • execWithBindValues

      public reactor.core.publisher.Mono<QueryType> execWithBindValues(String queryResponseDef, Map<String,Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      This method takes a full request definition, and executes it against the GraphQL server. As this class is a query executor, the provided request must be a query full request. This request will be executed in reactive mode, that is: it returns a Mono<com.generated.graphql.QueryType>
      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.
      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 empty Map. 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 a Date for the GraphQLScalarTypeDate). 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 the ObjectResponse
      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<QueryType> 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 query executor, the provided request must be a query full request. This request will be executed in reactive mode, that is: it returns a Mono<com.generated.graphql.QueryType>
      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 the ObjectResponse
      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<QueryType> execWithBindValues(ObjectResponse objectResponse, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      This method takes a full request definition, and executes it against the GraphQL server. As this class is a query executor, the provided request must be a query full request. This request will be executed in reactive mode, that is: it returns a Mono<com.generated.graphql.QueryType>
      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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getGraphQLRequest(java.lang.String) method or one of the getXxxxGraphQLRequest(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 empty Map
      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<QueryType> 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 query executor, the provided request must be a query full request. This request will be executed in reactive mode, that is: it returns a Mono<com.generated.graphql.QueryType>
      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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getGraphQLRequest(java.lang.String) method or one of the getXxxxGraphQLRequest(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

      public Builder getResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for a full request, as expected by the exec and execWithBindValues methods.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getGraphQLRequest

      public GraphQLReactiveRequest getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException
      Get the GraphQLReactiveRequest for full request. For instance:
       GraphQLReactiveRequest request = new GraphQLRequest(fullRequest);
       
      Parameters:
      fullRequest - The full GraphQL Request, as specified in the GraphQL specification
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • heroWithBindValues

      public reactor.core.publisher.Mono<Optional<Character>> heroWithBindValues(String queryResponseDef, Episode episode, Map<String,Object> parameters) 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, in the native GraphQL format (see here above)
      episode - Parameter for the hero field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • hero

      public reactor.core.publisher.Mono<Optional<Character>> hero(String queryResponseDef, Episode episode, 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)
      episode - Parameter for the hero field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • heroWithBindValues

      public reactor.core.publisher.Mono<Optional<Character>> heroWithBindValues(ObjectResponse objectResponse, Episode episode, Map<String,Object> parameters) 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getHeroGraphQLRequest(java.lang.String) method.
      episode - Parameter for the hero field of QueryType, as defined in the GraphQL schema
      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 empty Map
      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
    • hero

      public reactor.core.publisher.Mono<Optional<Character>> hero(ObjectResponse objectResponse, Episode episode, 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getHeroGraphQLRequest(java.lang.String) method.
      episode - Parameter for the hero field of QueryType, as defined in the GraphQL schema
      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
    • getHeroResponseBuilder

      public Builder getHeroResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the Character, as expected by the hero query/mutation.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getHeroGraphQLRequest

      public GraphQLReactiveRequest getHeroGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLReactiveRequest for the hero REACTIVE_EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • charactersWithBindValues

      public reactor.core.publisher.Mono<Optional<List<Character>>> charactersWithBindValues(String queryResponseDef, Episode episode, Map<String,Object> parameters) 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, in the native GraphQL format (see here above)
      episode - Parameter for the characters field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • characters

      public reactor.core.publisher.Mono<Optional<List<Character>>> characters(String queryResponseDef, Episode episode, 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)
      episode - Parameter for the characters field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • charactersWithBindValues

      public reactor.core.publisher.Mono<Optional<List<Character>>> charactersWithBindValues(ObjectResponse objectResponse, Episode episode, Map<String,Object> parameters) 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getCharactersGraphQLRequest(java.lang.String) method.
      episode - Parameter for the characters field of QueryType, as defined in the GraphQL schema
      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 empty Map
      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
    • characters

      public reactor.core.publisher.Mono<Optional<List<Character>>> characters(ObjectResponse objectResponse, Episode episode, 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getCharactersGraphQLRequest(java.lang.String) method.
      episode - Parameter for the characters field of QueryType, as defined in the GraphQL schema
      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
    • getCharactersResponseBuilder

      public Builder getCharactersResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the Character, as expected by the characters query/mutation.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getCharactersGraphQLRequest

      public GraphQLReactiveRequest getCharactersGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLReactiveRequest for the characters REACTIVE_EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • humanWithBindValues

      public reactor.core.publisher.Mono<Optional<Human>> humanWithBindValues(String queryResponseDef, String id, Map<String,Object> parameters) 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, in the native GraphQL format (see here above)
      id - Parameter for the human field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • human

      public reactor.core.publisher.Mono<Optional<Human>> human(String queryResponseDef, String id, 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)
      id - Parameter for the human field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • humanWithBindValues

      public reactor.core.publisher.Mono<Optional<Human>> humanWithBindValues(ObjectResponse objectResponse, String id, Map<String,Object> parameters) 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getHumanGraphQLRequest(java.lang.String) method.
      id - Parameter for the human field of QueryType, as defined in the GraphQL schema
      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 empty Map
      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
    • human

      public reactor.core.publisher.Mono<Optional<Human>> human(ObjectResponse objectResponse, String id, 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getHumanGraphQLRequest(java.lang.String) method.
      id - Parameter for the human field of QueryType, as defined in the GraphQL schema
      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
    • getHumanResponseBuilder

      public Builder getHumanResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the Human, as expected by the human query/mutation.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getHumanGraphQLRequest

      public GraphQLReactiveRequest getHumanGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLReactiveRequest for the human REACTIVE_EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • droidWithBindValues

      public reactor.core.publisher.Mono<Optional<Droid>> droidWithBindValues(String queryResponseDef, String id, Map<String,Object> parameters) 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, in the native GraphQL format (see here above)
      id - Parameter for the droid field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • droid

      public reactor.core.publisher.Mono<Optional<Droid>> droid(String queryResponseDef, String id, 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)
      id - Parameter for the droid field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • droidWithBindValues

      public reactor.core.publisher.Mono<Optional<Droid>> droidWithBindValues(ObjectResponse objectResponse, String id, Map<String,Object> parameters) 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getDroidGraphQLRequest(java.lang.String) method.
      id - Parameter for the droid field of QueryType, as defined in the GraphQL schema
      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 empty Map
      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
    • droid

      public reactor.core.publisher.Mono<Optional<Droid>> droid(ObjectResponse objectResponse, String id, 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the getDroidGraphQLRequest(java.lang.String) method.
      id - Parameter for the droid field of QueryType, as defined in the GraphQL schema
      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
    • getDroidResponseBuilder

      public Builder getDroidResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the Droid, as expected by the droid query/mutation.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getDroidGraphQLRequest

      public GraphQLReactiveRequest getDroidGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLReactiveRequest for the droid REACTIVE_EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • __schemaWithBindValues

      public reactor.core.publisher.Mono<Optional<__Schema>> __schemaWithBindValues(String queryResponseDef, Map<String,Object> parameters) 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, 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • __schema

      public reactor.core.publisher.Mono<Optional<__Schema>> __schema(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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • __schemaWithBindValues

      public reactor.core.publisher.Mono<Optional<__Schema>> __schemaWithBindValues(ObjectResponse objectResponse, Map<String,Object> parameters) 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the get__schemaGraphQLRequest(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 empty Map
      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
    • __schema

      public reactor.core.publisher.Mono<Optional<__Schema>> __schema(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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the get__schemaGraphQLRequest(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__schemaResponseBuilder

      public Builder get__schemaResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the __Schema, as expected by the __schema query/mutation.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • get__schemaGraphQLRequest

      public GraphQLReactiveRequest get__schemaGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLReactiveRequest for the __schema REACTIVE_EXECUTOR, created with the given Partial request.
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • __typeWithBindValues

      public reactor.core.publisher.Mono<Optional<__Type>> __typeWithBindValues(String queryResponseDef, String name, Map<String,Object> parameters) 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, in the native GraphQL format (see here above)
      name - Parameter for the __type field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • __type

      public reactor.core.publisher.Mono<Optional<__Type>> __type(String queryResponseDef, String name, 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)
      name - Parameter for the __type field of QueryType, as defined in the GraphQL schema
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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
    • __typeWithBindValues

      public reactor.core.publisher.Mono<Optional<__Type>> __typeWithBindValues(ObjectResponse objectResponse, String name, Map<String,Object> parameters) 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the get__typeGraphQLRequest(java.lang.String) method.
      name - Parameter for the __type field of QueryType, as defined in the GraphQL schema
      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 empty Map
      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
    • __type

      public reactor.core.publisher.Mono<Optional<__Type>> __type(ObjectResponse objectResponse, String name, 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the get__typeGraphQLRequest(java.lang.String) method.
      name - Parameter for the __type field of QueryType, as defined in the GraphQL schema
      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__typeResponseBuilder

      public Builder get__typeResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the __Type, as expected by the __type query/mutation.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • get__typeGraphQLRequest

      public GraphQLReactiveRequest get__typeGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLReactiveRequest for the __type 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, 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, 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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 empty Map
      Throws:
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
      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 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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the get__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 empty Map
      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: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequest POJO, as returned by the get__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

      public Builder get__typenameResponseBuilder() throws GraphQLRequestPreparationException
      Get the Builder for the String, as expected by the __typename query/mutation.
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • get__typenameGraphQLRequest

      public GraphQLReactiveRequest get__typenameGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Get the GraphQLReactiveRequest 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