Package org.forum.client
Class Query
java.lang.Object
org.forum.client.QueryExecutorForum
org.forum.client.Query
- All Implemented Interfaces:
com.graphql_java_generator.client.GraphQLQueryExecutor,com.graphql_java_generator.client.GraphQLRequestObject
- Direct Known Subclasses:
QueryResponse
public class Query
extends QueryExecutorForum
implements com.graphql_java_generator.client.GraphQLRequestObject
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 classThe Builder that helps building instance of this POJO. -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanThe field below is the only change from the original template. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__schema(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.__schemaWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.__schemaWithBindValues(String queryResponseDef, Map<String, Object> parameters) Deprecated.__type(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String name, Object... paramsAndValues) Deprecated.Deprecated.__typename(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.__typename(String queryResponseDef, Object... paramsAndValues) Deprecated.__typenameWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.__typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) Deprecated.__typeWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String name, Map<String, Object> parameters) Deprecated.Deprecated.boards(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.boardsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.boardsWithBindValues(String queryResponseDef, Map<String, Object> parameters) Deprecated.static Query.Builderbuilder()exec(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.execWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.execWithBindValues(String queryResponseDef, Map<String, Object> parameters) Deprecated.findTopics(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String boardName, List<String> keyword, Object... paramsAndValues) Deprecated.findTopics(String queryResponseDef, String boardName, List<String> keyword, Object... paramsAndValues) Deprecated.findTopicsWithBindValues(com.graphql_java_generator.client.request.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.com.graphql_java_generator.client.request.BuilderDeprecated.get__typeGraphQLRequest(String partialRequest) Deprecated.get__typenameGraphQLRequest(String partialRequest) Deprecated.com.graphql_java_generator.client.request.BuilderDeprecated.com.graphql_java_generator.client.request.BuilderDeprecated.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.com.graphql_java_generator.client.request.BuilderDeprecated.com.fasterxml.jackson.databind.JsonNodeReturns the extensions as a map.<T> TgetExtensionsField(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.com.graphql_java_generator.client.request.BuilderDeprecated.getGraphQLRequest(String fullRequest) Deprecated.getNbBoardsGraphQLRequest(String partialRequest) Deprecated.com.graphql_java_generator.client.request.BuilderDeprecated.com.graphql_java_generator.client.request.BuilderDeprecated.getTopicsGraphQLRequest(String partialRequest) Deprecated.com.graphql_java_generator.client.request.BuilderDeprecated.nbBoards(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.nbBoardsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.nbBoardsWithBindValues(String queryResponseDef, Map<String, Object> parameters) Deprecated.voidset__schema(__Schema __schema) voidvoidset__typename(String __typename) voidsetAliasValue(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.voidvoidsetExtensions(com.fasterxml.jackson.databind.JsonNode extensions) voidsetFindTopics(List<Topic> findTopics) voidsetNbBoards(Integer nbBoards) voidtopics(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String boardName, Object... paramsAndValues) Deprecated.Deprecated.topicsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String boardName, Map<String, Object> parameters) Deprecated.Deprecated.toString()
-
Field Details
-
thisIsADummyFieldToCheckThatThisTemplateIsUsed
public boolean thisIsADummyFieldToCheckThatThisTemplateIsUsedThe field below is the only change from the original template. It is here only to check that this template is actually used
-
-
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:
setExtensionsin interfacecom.graphql_java_generator.client.GraphQLRequestObject
-
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 com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
execWithBindValuesin classQueryExecutorForum- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above). It must omit the query 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 declared in the request you defined. 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 declared in the request you defined (in the above sample: param is an optional parameter and skip is a mandatory one). The value is the parameter value in its Java type (for instance aDatefor theGraphQLScalarTypeDate). The parameters which value is missing in this map will be ignored.- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
exec
@Deprecated public QueryResponse exec(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
execin classQueryExecutorForum- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above). It must omit the query 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:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
execWithBindValues
@Deprecated public QueryResponse execWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
execWithBindValuesin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getGraphQLRequest(java.lang.String)method or one of thegetXxxxGraphQLRequest(String)methods.parameters- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
execin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getGraphQLRequest(java.lang.String)method or one of thegetXxxxGraphQLRequest(String)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:
com.graphql_java_generator.exception.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 public com.graphql_java_generator.client.request.Builder getResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
getResponseBuilderin classQueryExecutorForum- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getGraphQLRequest
@Deprecated public GraphQLRequestForum getGraphQLRequest(String fullRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
getGraphQLRequestin classQueryExecutorForum- Parameters:
fullRequest- The full GraphQL Request, as specified in the GraphQL specification- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
boardsWithBindValues
@Deprecated public List<Board> boardsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
boardsWithBindValuesin classQueryExecutorForum- 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 declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
boards
@Deprecated public List<Board> boards(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
boardsin classQueryExecutorForum- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
boardsWithBindValues
@Deprecated public List<Board> boardsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
boardsWithBindValuesin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getBoardsGraphQLRequest(java.lang.String)method.parameters- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
boardsin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getBoardsGraphQLRequest(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:
com.graphql_java_generator.exception.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 public com.graphql_java_generator.client.request.Builder getBoardsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
getBoardsResponseBuilderin classQueryExecutorForum- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getBoardsGraphQLRequest
@Deprecated public GraphQLRequestForum getBoardsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
getBoardsGraphQLRequestin classQueryExecutorForum- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
nbBoardsWithBindValues
@Deprecated public Integer nbBoardsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
nbBoardsWithBindValuesin classQueryExecutorForum- 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 declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
nbBoards
@Deprecated public Integer nbBoards(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
nbBoardsin classQueryExecutorForum- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
nbBoardsWithBindValues
@Deprecated public Integer nbBoardsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
nbBoardsWithBindValuesin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getNbBoardsGraphQLRequest(java.lang.String)method.parameters- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
nbBoardsin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getNbBoardsGraphQLRequest(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:
com.graphql_java_generator.exception.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 public com.graphql_java_generator.client.request.Builder getNbBoardsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
getNbBoardsResponseBuilderin classQueryExecutorForum- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getNbBoardsGraphQLRequest
@Deprecated public GraphQLRequestForum getNbBoardsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
getNbBoardsGraphQLRequestin classQueryExecutorForum- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
topicsWithBindValues
@Deprecated public List<Topic> topicsWithBindValues(String queryResponseDef, String boardName, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
topicsWithBindValuesin classQueryExecutorForum- 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 declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- 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 com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
topicsin classQueryExecutorForum- 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:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
topicsWithBindValues
@Deprecated public List<Topic> topicsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String boardName, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
topicsWithBindValuesin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getTopicsGraphQLRequest(java.lang.String)method.boardName- Parameter for the topics field of Query, as defined in the GraphQL schemaparameters- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String boardName, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
topicsin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getTopicsGraphQLRequest(java.lang.String)method.boardName- 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:
com.graphql_java_generator.exception.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 public com.graphql_java_generator.client.request.Builder getTopicsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
getTopicsResponseBuilderin classQueryExecutorForum- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getTopicsGraphQLRequest
@Deprecated public GraphQLRequestForum getTopicsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
getTopicsGraphQLRequestin classQueryExecutorForum- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
findTopicsWithBindValues
@Deprecated public List<Topic> findTopicsWithBindValues(String queryResponseDef, String boardName, List<String> keyword, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
findTopicsWithBindValuesin classQueryExecutorForum- 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 declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- 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 com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
findTopicsin classQueryExecutorForum- 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:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
findTopicsWithBindValues
@Deprecated public List<Topic> findTopicsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String boardName, List<String> keyword, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
findTopicsWithBindValuesin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getFindTopicsGraphQLRequest(java.lang.String)method.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 declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String boardName, List<String> keyword, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
findTopicsin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getFindTopicsGraphQLRequest(java.lang.String)method.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 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:
com.graphql_java_generator.exception.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 public com.graphql_java_generator.client.request.Builder getFindTopicsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
getFindTopicsResponseBuilderin classQueryExecutorForum- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getFindTopicsGraphQLRequest
@Deprecated public GraphQLRequestForum getFindTopicsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
getFindTopicsGraphQLRequestin classQueryExecutorForum- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
__schemaWithBindValues
@Deprecated public __Schema __schemaWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
__schemaWithBindValuesin classQueryExecutorForum- 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 declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
__schema
@Deprecated public __Schema __schema(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
__schemain classQueryExecutorForum- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
__schemaWithBindValues
@Deprecated public __Schema __schemaWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
__schemaWithBindValuesin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.get__schemaGraphQLRequest(java.lang.String)method.parameters- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
__schemain classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.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:
com.graphql_java_generator.exception.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 public com.graphql_java_generator.client.request.Builder get__schemaResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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__schemaResponseBuilderin classQueryExecutorForum- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
get__schemaGraphQLRequest
@Deprecated public GraphQLRequestForum get__schemaGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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__schemaGraphQLRequestin classQueryExecutorForum- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
__typeWithBindValues
@Deprecated public __Type __typeWithBindValues(String queryResponseDef, String name, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
__typeWithBindValuesin classQueryExecutorForum- 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 declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
__type
@Deprecated public __Type __type(String queryResponseDef, String name, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
__typein classQueryExecutorForum- 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:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typeWithBindValues
@Deprecated public __Type __typeWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String name, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
__typeWithBindValuesin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.get__typeGraphQLRequest(java.lang.String)method.name- Parameter for the __type field of Query, as defined in the GraphQL schemaparameters- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String name, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
__typein classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.get__typeGraphQLRequest(java.lang.String)method.name- 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:
com.graphql_java_generator.exception.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 public com.graphql_java_generator.client.request.Builder get__typeResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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__typeResponseBuilderin classQueryExecutorForum- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
get__typeGraphQLRequest
@Deprecated public GraphQLRequestForum get__typeGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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__typeGraphQLRequestin classQueryExecutorForum- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
__typenameWithBindValues
@Deprecated public String __typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
__typenameWithBindValuesin classQueryExecutorForum- 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 declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typename
@Deprecated public String __typename(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
__typenamein classQueryExecutorForum- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)- Throws:
com.graphql_java_generator.exception.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 parsedcom.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typenameWithBindValues
@Deprecated public String __typenameWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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:
__typenameWithBindValuesin classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.get__typenameGraphQLRequest(java.lang.String)method.parameters- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap- Throws:
com.graphql_java_generator.exception.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutorclass 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:
__typenamein classQueryExecutorForum- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.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:
com.graphql_java_generator.exception.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 public com.graphql_java_generator.client.request.Builder get__typenameResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutorclass 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__typenameResponseBuilderin classQueryExecutorForum- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
get__typenameGraphQLRequest
@Deprecated public GraphQLRequestForum get__typenameGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutorclass 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__typenameGraphQLRequestin classQueryExecutorForum- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-