Class Query
java.lang.Object
com.graphql_java_generator.domain.client.forum.QueryExecutorMySchema
com.graphql_java_generator.domain.client.forum.Query
- All Implemented Interfaces:
GraphQLQueryExecutor
,GraphQLRequestObject
- Direct Known Subclasses:
QueryResponse
This class contains the response for a full request. See the
plugin web site
for more information on full and partial requests.
It also allows access to the _extensions_ part of the response. Take a look at the GraphQL spec for more information on this.
It also allows access to the _extensions_ part of the response. Take a look at the GraphQL spec for more information on this.
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The Builder that helps building instance of this POJO. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__schema
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.__schemaWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.__schemaWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.__type
(ObjectResponse objectResponse, String name, Object... paramsAndValues) Deprecated.Deprecated.__typename
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.__typename
(String queryResponseDef, Object... paramsAndValues) Deprecated.__typenameWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.__typenameWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.__typeWithBindValues
(ObjectResponse objectResponse, String name, Map<String, Object> parameters) Deprecated.Deprecated.boards
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.boardsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.boardsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.static Query.Builder
builder()
exec
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.execWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.findTopics
(ObjectResponse objectResponse, String boardName, List<String> keyword, Object... paramsAndValues) Deprecated.findTopics
(String queryResponseDef, String boardName, List<String> keyword, Object... paramsAndValues) Deprecated.findTopicsWithBindValues
(ObjectResponse objectResponse, String boardName, List<String> keyword, Map<String, Object> parameters) Deprecated.findTopicsWithBindValues
(String queryResponseDef, String boardName, List<String> keyword, Map<String, Object> parameters) Deprecated.get__schemaGraphQLRequest
(String partialRequest) Deprecated.Deprecated.get__typeGraphQLRequest
(String partialRequest) Deprecated.get__typenameGraphQLRequest
(String partialRequest) Deprecated.Deprecated.Deprecated.getAliasValue
(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getBoardsGraphQLRequest
(String partialRequest) Deprecated.Deprecated.com.fasterxml.jackson.databind.JsonNode
Returns the extensions as a map.<T> T
getExtensionsField
(String key, Class<T> t) Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.getFindTopicsGraphQLRequest
(String partialRequest) Deprecated.Deprecated.getGraphQLRequest
(String fullRequest) Deprecated.getNbBoardsGraphQLRequest
(String partialRequest) Deprecated.Deprecated.Deprecated.getTopicsGraphQLRequest
(String partialRequest) Deprecated.Deprecated.nbBoards
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.nbBoardsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.nbBoardsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.void
set__schema
(__Schema __schema) void
void
set__typename
(String __typename) void
setAliasValue
(String aliasName, Object aliasDeserializedValue) This method is called during the json deserialization process, by theGraphQLObjectMapper
, each time an alias value is read from the json.void
void
setExtensions
(com.fasterxml.jackson.databind.JsonNode extensions) void
setFindTopics
(List<Topic> findTopics) void
setNbBoards
(Integer nbBoards) void
topics
(ObjectResponse objectResponse, String boardName, Object... paramsAndValues) Deprecated.Deprecated.topicsWithBindValues
(ObjectResponse objectResponse, String boardName, Map<String, Object> parameters) Deprecated.Deprecated.toString()
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
setBoards
-
getBoards
-
setNbBoards
-
getNbBoards
-
setTopics
-
getTopics
-
setFindTopics
-
getFindTopics
-
set__schema
-
get__schema
-
set__type
-
get__type
-
set__typename
-
get__typename
-
setAliasValue
This method is called during the json deserialization process, by theGraphQLObjectMapper
, each time an alias value is read from the json.- Parameters:
aliasName
-aliasDeserializedValue
-
-
getAliasValue
Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.- Parameters:
alias
-- Returns:
-
toString
-
builder
-
getExtensions
public com.fasterxml.jackson.databind.JsonNode getExtensions() -
setExtensions
public void setExtensions(com.fasterxml.jackson.databind.JsonNode extensions) - Specified by:
setExtensions
in interfaceGraphQLRequestObject
-
getExtensionsAsMap
Returns the extensions as a map. The values can't be deserialized, as their type is unknown.- Returns:
-
getExtensionsField
public <T> T getExtensionsField(String key, Class<T> t) throws com.fasterxml.jackson.core.JsonProcessingException Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.- Type Parameters:
T
-- Parameters:
key
-t
-- Returns:
- null if the key is not in the extensions map. Otherwise: the value for this _key_, as a _t_ instance
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
- When there is an error when converting the key's value into the _t_ class
-
execWithBindValues
@Deprecated public QueryResponse execWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
execWithBindValues
in classQueryExecutorMySchema
- 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 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:
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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
exec
@Deprecated public QueryResponse exec(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
exec
in classQueryExecutorMySchema
- 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:
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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
execWithBindValues
@Deprecated public QueryResponse execWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
execWithBindValues
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparameters
- 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
@Deprecated public QueryResponse exec(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
exec
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparamsAndValues
- 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
Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getResponseBuilder
in classQueryExecutorMySchema
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getGraphQLRequest
@Deprecated public GraphQLRequest getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getGraphQLRequest
in classQueryExecutorMySchema
- Parameters:
fullRequest
- The full GraphQLRequest, as specified in the GraphQL specification- Returns:
- Throws:
GraphQLRequestPreparationException
-
boardsWithBindValues
@Deprecated public List<Board> boardsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
boardsWithBindValues
in classQueryExecutorMySchema
- 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. 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
boards
@Deprecated public List<Board> boards(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
boards
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
boardsWithBindValues
@Deprecated public List<Board> boardsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
boardsWithBindValues
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparameters
- 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
-
boards
@Deprecated public List<Board> boards(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
boards
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparamsAndValues
- 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
-
getBoardsResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getBoardsResponseBuilder
in classQueryExecutorMySchema
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getBoardsGraphQLRequest
@Deprecated public GraphQLRequest getBoardsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getBoardsGraphQLRequest
in classQueryExecutorMySchema
- Parameters:
partialRequest
- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
nbBoardsWithBindValues
@Deprecated public Integer nbBoardsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
nbBoardsWithBindValues
in classQueryExecutorMySchema
- 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. 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
nbBoards
@Deprecated public Integer nbBoards(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
nbBoards
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
nbBoardsWithBindValues
@Deprecated public Integer nbBoardsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
nbBoardsWithBindValues
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparameters
- 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
-
nbBoards
@Deprecated public Integer nbBoards(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
nbBoards
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparamsAndValues
- 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
-
getNbBoardsResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getNbBoardsResponseBuilder
in classQueryExecutorMySchema
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getNbBoardsGraphQLRequest
@Deprecated public GraphQLRequest getNbBoardsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getNbBoardsGraphQLRequest
in classQueryExecutorMySchema
- Parameters:
partialRequest
- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
topicsWithBindValues
@Deprecated public List<Topic> topicsWithBindValues(String queryResponseDef, String boardName, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
topicsWithBindValues
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)boardName
- Parameter for the topics field of Query, as defined in the GraphQL schemaparameters
- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
topics
@Deprecated public List<Topic> topics(String queryResponseDef, String boardName, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
topics
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)boardName
- Parameter for the topics field of Query, as defined in the GraphQL schema- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
topicsWithBindValues
@Deprecated public List<Topic> topicsWithBindValues(ObjectResponse objectResponse, String boardName, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
topicsWithBindValues
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnboardName
- Parameter for the topics field of Query, as defined in the GraphQL schemaparameters
- 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
-
topics
@Deprecated public List<Topic> topics(ObjectResponse objectResponse, String boardName, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
topics
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnboardName
- Parameter for the topics field of Query, 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
-
getTopicsResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getTopicsResponseBuilder
in classQueryExecutorMySchema
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getTopicsGraphQLRequest
@Deprecated public GraphQLRequest getTopicsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getTopicsGraphQLRequest
in classQueryExecutorMySchema
- Parameters:
partialRequest
- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
findTopicsWithBindValues
@Deprecated public List<Topic> findTopicsWithBindValues(String queryResponseDef, String boardName, List<String> keyword, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
findTopicsWithBindValues
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)boardName
- Parameter for the findTopics field of Query, as defined in the GraphQL schemakeyword
- Parameter for the findTopics field of Query, as defined in the GraphQL schemaparameters
- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
findTopics
@Deprecated public List<Topic> findTopics(String queryResponseDef, String boardName, List<String> keyword, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
findTopics
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)boardName
- Parameter for the findTopics field of Query, as defined in the GraphQL schemakeyword
- Parameter for the findTopics field of Query, as defined in the GraphQL schema- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
findTopicsWithBindValues
@Deprecated public List<Topic> findTopicsWithBindValues(ObjectResponse objectResponse, String boardName, List<String> keyword, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
findTopicsWithBindValues
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnboardName
- Parameter for the findTopics field of Query, as defined in the GraphQL schemakeyword
- Parameter for the findTopics field of Query, as defined in the GraphQL schemaparameters
- 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
-
findTopics
@Deprecated public List<Topic> findTopics(ObjectResponse objectResponse, String boardName, List<String> keyword, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
findTopics
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnboardName
- Parameter for the findTopics field of Query, as defined in the GraphQL schemakeyword
- Parameter for the findTopics field of Query, 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
-
getFindTopicsResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getFindTopicsResponseBuilder
in classQueryExecutorMySchema
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getFindTopicsGraphQLRequest
@Deprecated public GraphQLRequest getFindTopicsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getFindTopicsGraphQLRequest
in classQueryExecutorMySchema
- Parameters:
partialRequest
- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__schemaWithBindValues
@Deprecated public __Schema __schemaWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__schemaWithBindValues
in classQueryExecutorMySchema
- 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. 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__schema
@Deprecated public __Schema __schema(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__schema
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__schemaWithBindValues
@Deprecated public __Schema __schemaWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__schemaWithBindValues
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparameters
- 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
-
__schema
@Deprecated public __Schema __schema(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__schema
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparamsAndValues
- 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
Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
get__schemaResponseBuilder
in classQueryExecutorMySchema
- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__schemaGraphQLRequest
@Deprecated public GraphQLRequest get__schemaGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
get__schemaGraphQLRequest
in classQueryExecutorMySchema
- Parameters:
partialRequest
- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__typeWithBindValues
@Deprecated public __Type __typeWithBindValues(String queryResponseDef, String name, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typeWithBindValues
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)name
- Parameter for the __type field of Query, as defined in the GraphQL schemaparameters
- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__type
@Deprecated public __Type __type(String queryResponseDef, String name, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__type
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)name
- Parameter for the __type field of Query, as defined in the GraphQL schema- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typeWithBindValues
@Deprecated public __Type __typeWithBindValues(ObjectResponse objectResponse, String name, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typeWithBindValues
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnname
- Parameter for the __type field of Query, as defined in the GraphQL schemaparameters
- 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
-
__type
@Deprecated public __Type __type(ObjectResponse objectResponse, String name, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__type
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnname
- Parameter for the __type field of Query, 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
-
get__typeResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
get__typeResponseBuilder
in classQueryExecutorMySchema
- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typeGraphQLRequest
@Deprecated public GraphQLRequest get__typeGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
get__typeGraphQLRequest
in classQueryExecutorMySchema
- Parameters:
partialRequest
- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__typenameWithBindValues
@Deprecated public String __typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typenameWithBindValues
in classQueryExecutorMySchema
- 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. 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typename
@Deprecated public String __typename(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typename
in classQueryExecutorMySchema
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typenameWithBindValues
@Deprecated public String __typenameWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typenameWithBindValues
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparameters
- 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
-
__typename
@Deprecated public String __typename(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typename
in classQueryExecutorMySchema
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to returnparamsAndValues
- 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
Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
get__typenameResponseBuilder
in classQueryExecutorMySchema
- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typenameGraphQLRequest
@Deprecated public GraphQLRequest get__typenameGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
class instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
get__typenameGraphQLRequest
in classQueryExecutorMySchema
- Parameters:
partialRequest
- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-