Package org.allGraphQLCases.client2
Class MyQueryTypeExecutorAllGraphQLCases2
java.lang.Object
org.allGraphQLCases.client2.MyQueryTypeExecutorAllGraphQLCases2
- All Implemented Interfaces:
GraphQLQueryExecutor
@Component
public class MyQueryTypeExecutorAllGraphQLCases2
extends Object
implements GraphQLQueryExecutor
This is a description to describe the type MyQueryType
on two lines
This class contains the methods that allows the execution of the queries or mutations that are defined in the MyQueryType of the GraphQL schema.
These methods allows:
This class contains the methods that allows the execution of the queries or mutations that are defined in the MyQueryType of the GraphQL schema.
These methods allows:
- Preparation of full requests
- Execution of prepared full requests
- Execution of direct full direct requests
- Preparation of partial requests
- Execution of prepared partial requests
- Execution of direct partial requests
- Author:
- generated by graphql-java-generator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__schema
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the __schema query against the GraphQL server.__schemaWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.__schemaWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the __schema query against the GraphQL server.__type
(ObjectResponse objectResponse, String name, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the __type query against the GraphQL server.__typename
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.__typename
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the __typename query against the GraphQL server.__typenameWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.__typenameWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the __typename query against the GraphQL server.__typeWithBindValues
(ObjectResponse objectResponse, String name, Map<String, Object> parameters) This method is expected by the graphql-java framework.This method executes a partial query on the __type query against the GraphQL server._if
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _if query against the GraphQL server._ifWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._ifWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _if query against the GraphQL server._implements
(ObjectResponse objectResponse, String _if, Object... paramsAndValues) Test for PR 177 (on server side, the returned value is the content of the if input parameter)
This method is expected by the graphql-java framework._implements
(String queryResponseDef, String _if, Object... paramsAndValues) Test for PR 177 (on server side, the returned value is the content of the if input parameter)
This method executes a partial query on the _implements query against the GraphQL server._implementsWithBindValues
(ObjectResponse objectResponse, String _if, Map<String, Object> parameters) Test for PR 177 (on server side, the returned value is the content of the if input parameter)
This method is expected by the graphql-java framework.Test for PR 177 (on server side, the returned value is the content of the if input parameter)
This method executes a partial query on the _implements query against the GraphQL server._import
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _import query against the GraphQL server._importWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._importWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _import query against the GraphQL server._instanceof
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework._instanceof
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the _instanceof query against the GraphQL server._instanceofWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._instanceofWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _instanceof query against the GraphQL server._int
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _int query against the GraphQL server._interface
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework._interface
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the _interface query against the GraphQL server._interfaceWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._interfaceWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _interface query against the GraphQL server._intWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._intWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _int query against the GraphQL server._long
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _long query against the GraphQL server._longWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._longWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _long query against the GraphQL server._native
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _native query against the GraphQL server._nativeWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._nativeWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _native query against the GraphQL server._new
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _new query against the GraphQL server._newWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._newWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _new query against the GraphQL server._null
(ObjectResponse objectResponse, Object... paramsAndValues) Issue #188: null is not identified as a java keyword
This method is expected by the graphql-java framework.Issue #188: null is not identified as a java keyword
This method executes a partial query on the _null query against the GraphQL server._nullWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Issue #188: null is not identified as a java keyword
This method is expected by the graphql-java framework._nullWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Issue #188: null is not identified as a java keyword
This method executes a partial query on the _null query against the GraphQL server._package
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _package query against the GraphQL server._packageWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._packageWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _package query against the GraphQL server._private
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _private query against the GraphQL server._privateWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._privateWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _private query against the GraphQL server._protected
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework._protected
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the _protected query against the GraphQL server._protectedWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._protectedWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _protected query against the GraphQL server._public
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _public query against the GraphQL server._publicWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._publicWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _public query against the GraphQL server._return
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _return query against the GraphQL server._returnWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._returnWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _return query against the GraphQL server._short
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _short query against the GraphQL server._shortWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._shortWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _short query against the GraphQL server._static
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _static query against the GraphQL server._staticWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._staticWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _static query against the GraphQL server._strictfp
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _strictfp query against the GraphQL server._strictfpWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._strictfpWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _strictfp query against the GraphQL server._super
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _super query against the GraphQL server._superWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._superWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _super query against the GraphQL server._switch
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _switch query against the GraphQL server._switchWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._switchWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _switch query against the GraphQL server._synchronized
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework._synchronized
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the _synchronized query against the GraphQL server._synchronizedWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._synchronizedWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _synchronized query against the GraphQL server._this
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _this query against the GraphQL server._thisWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._thisWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _this query against the GraphQL server._throw
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _throw query against the GraphQL server._throws
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _throws query against the GraphQL server._throwsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._throwsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _throws query against the GraphQL server._throwWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._throwWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _throw query against the GraphQL server._transient
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework._transient
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the _transient query against the GraphQL server._transientWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._transientWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _transient query against the GraphQL server._try
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _try query against the GraphQL server._tryWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._tryWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _try query against the GraphQL server._void
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _void query against the GraphQL server._voidWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._voidWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _void query against the GraphQL server._volatile
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _volatile query against the GraphQL server._volatileWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._volatileWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _volatile query against the GraphQL server._while
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the _while query against the GraphQL server._whileWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework._whileWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the _while query against the GraphQL server.aBreak
(ObjectResponse objectResponse, Object... paramsAndValues) Check for GraphQL identifier that are java keywords
This method is expected by the graphql-java framework.Check for GraphQL identifier that are java keywords
This method executes a partial query on the aBreak query against the GraphQL server.aBreakWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Check for GraphQL identifier that are java keywords
This method is expected by the graphql-java framework.aBreakWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Check for GraphQL identifier that are java keywords
This method executes a partial query on the aBreak query against the GraphQL server.allFieldCases
(ObjectResponse objectResponse, AllFieldCasesInput input, Object... paramsAndValues)
################################################################################
# Complementary tests with the AllFieldCases Object
This method is expected by the graphql-java framework.allFieldCases
(String queryResponseDef, AllFieldCasesInput input, Object... paramsAndValues)
################################################################################
# Complementary tests with the AllFieldCases Object
This method executes a partial query on the allFieldCases query against the GraphQL server.allFieldCasesWithBindValues
(ObjectResponse objectResponse, AllFieldCasesInput input, Map<String, Object> parameters)
################################################################################
# Complementary tests with the AllFieldCases Object
This method is expected by the graphql-java framework.allFieldCasesWithBindValues
(String queryResponseDef, AllFieldCasesInput input, Map<String, Object> parameters)
################################################################################
# Complementary tests with the AllFieldCases Object
This method executes a partial query on the allFieldCases query against the GraphQL server.checkOverriddenController
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.checkOverriddenController
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the checkOverriddenController query against the GraphQL server.checkOverriddenControllerWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.checkOverriddenControllerWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the checkOverriddenController query against the GraphQL server.connectionOnHuman
(ObjectResponse objectResponse, String planet, Episode episode, Object... paramsAndValues) This method is expected by the graphql-java framework.connectionOnHuman
(String queryResponseDef, String planet, Episode episode, Object... paramsAndValues) This method executes a partial query on the connectionOnHuman query against the GraphQL server.connectionOnHumanWithBindValues
(ObjectResponse objectResponse, String planet, Episode episode, Map<String, Object> parameters) This method is expected by the graphql-java framework.connectionOnHumanWithBindValues
(String queryResponseDef, String planet, Episode episode, Map<String, Object> parameters) This method executes a partial query on the connectionOnHuman query against the GraphQL server.connectionWithoutParameters
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.connectionWithoutParameters
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the connectionWithoutParameters query against the GraphQL server.connectionWithoutParametersWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.connectionWithoutParametersWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the connectionWithoutParameters query against the GraphQL server.directiveOnField
(ObjectResponse objectResponse, Object... paramsAndValues)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.directiveOnField
(String queryResponseDef, Object... paramsAndValues)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.directiveOnFieldWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.directiveOnFieldWithBindValues
(String queryResponseDef, Map<String, Object> parameters)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.directiveOnQuery
(ObjectResponse objectResponse, Boolean uppercase, Object... paramsAndValues)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.directiveOnQuery
(String queryResponseDef, Boolean uppercase, Object... paramsAndValues)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.directiveOnQueryWithBindValues
(ObjectResponse objectResponse, Boolean uppercase, Map<String, Object> parameters)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.directiveOnQueryWithBindValues
(String queryResponseDef, Boolean uppercase, Map<String, Object> parameters)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.enumWithReservedJavaKeywordAsValues
(ObjectResponse objectResponse, Object... paramsAndValues) test for issue #139 (use of java reserved keyword)
This method is expected by the graphql-java framework.enumWithReservedJavaKeywordAsValues
(String queryResponseDef, Object... paramsAndValues) test for issue #139 (use of java reserved keyword)
This method executes a partial query on the enumWithReservedJavaKeywordAsValues query against the GraphQL server.enumWithReservedJavaKeywordAsValuesWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) test for issue #139 (use of java reserved keyword)
This method is expected by the graphql-java framework.enumWithReservedJavaKeywordAsValuesWithBindValues
(String queryResponseDef, Map<String, Object> parameters) test for issue #139 (use of java reserved keyword)
This method executes a partial query on the enumWithReservedJavaKeywordAsValues query against the GraphQL server.error
(ObjectResponse objectResponse, String errorLabel, Object... paramsAndValues)
################################################################################
# error always returns an error!
################################################################################
# error always returns an error!errorWithBindValues
(ObjectResponse objectResponse, String errorLabel, Map<String, Object> parameters)
################################################################################
# error always returns an error!
################################################################################
# error always returns an error!exec
(ObjectResponse objectResponse, Object... paramsAndValues) This method takes a full request definition, and executes it against the GraphQL server.This method takes a full request definition, and executes it against the GraphQL server.execWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.foo140
(ObjectResponse objectResponse, Object... paramsAndValues) test for issue #140 (error for type that implements multiple interfaces)
This method is expected by the graphql-java framework.test for issue #140 (error for type that implements multiple interfaces)
This method executes a partial query on the foo140 query against the GraphQL server.foo140WithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) test for issue #140 (error for type that implements multiple interfaces)
This method is expected by the graphql-java framework.foo140WithBindValues
(String queryResponseDef, Map<String, Object> parameters) test for issue #140 (error for type that implements multiple interfaces)
This method executes a partial query on the foo140 query against the GraphQL server.get__schemaGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the __schema EXECUTOR, created with the given Partial request.Get theBuilder
for the __Schema, as expected by the __schema query.get__typeGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the __type EXECUTOR, created with the given Partial request.get__typenameGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the __typename EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the __typename query.Get theBuilder
for the __Type, as expected by the __type query.getABreakGraphQLRequest
(String partialRequest) Check for GraphQL identifier that are java keywords
Get theGraphQLRequestAllGraphQLCases2
for the aBreak EXECUTOR, created with the given Partial request.Check for GraphQL identifier that are java keywords
Get theBuilder
for the _break, as expected by the aBreak query.getAllFieldCasesGraphQLRequest
(String partialRequest)
################################################################################
# Complementary tests with the AllFieldCases Object
Get theGraphQLRequestAllGraphQLCases2
for the allFieldCases EXECUTOR, created with the given Partial request.
################################################################################
# Complementary tests with the AllFieldCases Object
Get theBuilder
for the AllFieldCases, as expected by the allFieldCases query.getCheckOverriddenControllerGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the checkOverriddenController EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the checkOverriddenController query.getConnectionOnHumanGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the connectionOnHuman EXECUTOR, created with the given Partial request.Get theBuilder
for the HumanConnection, as expected by the connectionOnHuman query.getConnectionWithoutParametersGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the connectionWithoutParameters EXECUTOR, created with the given Partial request.Get theBuilder
for the CharacterConnection, as expected by the connectionWithoutParameters query.getDirectiveOnFieldGraphQLRequest
(String partialRequest)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.getDirectiveOnQueryGraphQLRequest
(String partialRequest)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.getEnumWithReservedJavaKeywordAsValuesGraphQLRequest
(String partialRequest) test for issue #139 (use of java reserved keyword)
Get theGraphQLRequestAllGraphQLCases2
for the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.test for issue #139 (use of java reserved keyword)
Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the enumWithReservedJavaKeywordAsValues query.getErrorGraphQLRequest
(String partialRequest)
################################################################################
# error always returns an error!
################################################################################
# error always returns an error!getFoo140GraphQLRequest
(String partialRequest) test for issue #140 (error for type that implements multiple interfaces)
Get theGraphQLRequestAllGraphQLCases2
for the foo140 EXECUTOR, created with the given Partial request.test for issue #140 (error for type that implements multiple interfaces)
Get theBuilder
for the Foo140, as expected by the foo140 query.getGraphQLRequest
(String fullRequest) Get theGraphQLRequestAllGraphQLCases2
for full request.getIfGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the if EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the if query.getImplementsGraphQLRequest
(String partialRequest) Test for PR 177 (on server side, the returned value is the content of the if input parameter)
Get theGraphQLRequestAllGraphQLCases2
for the implements EXECUTOR, created with the given Partial request.Test for PR 177 (on server side, the returned value is the content of the if input parameter)
Get theBuilder
for the String, as expected by the implements query.getImportGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the import EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the import query.getInstanceofGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the instanceof EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the instanceof query.getInterfaceGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the interface EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the interface query.getIntGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the int EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the int query.getIssue128GraphQLRequest
(String partialRequest) test for issue #128 (compilation error when a Query returns a type 'Client')
Get theGraphQLRequestAllGraphQLCases2
for the issue128 EXECUTOR, created with the given Partial request.test for issue #128 (compilation error when a Query returns a type 'Client')
Get theBuilder
for the Client, as expected by the issue128 query.getIssue200GraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the issue200 EXECUTOR, created with the given Partial request.Get theBuilder
for the Boolean, as expected by the issue200 query.getIssue53GraphQLRequest
(String partialRequest)
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
Get theGraphQLRequestAllGraphQLCases2
for the issue53 EXECUTOR, created with the given Partial request.
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
Get theBuilder
for the Date, as expected by the issue53 query.getIssue82FloatGraphQLRequest
(String partialRequest)
#issue82 is about hard coded values as parameters.
#issue82 is about hard coded values as parameters.getIssue82IDGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the issue82ID EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the issue82ID query.getJsonGraphQLRequest
(String partialRequest) Test of JSON scalar, for issue #205
Get theGraphQLRequestAllGraphQLCases2
for the json EXECUTOR, created with the given Partial request.Test of JSON scalar, for issue #205
Get theBuilder
for the ObjectNode, as expected by the json query.getJsonsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the jsons EXECUTOR, created with the given Partial request.Get theBuilder
for the ObjectNode, as expected by the jsons query.getJsonsWithInputGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the jsonsWithInput EXECUTOR, created with the given Partial request.Get theBuilder
for the TypeWithJson, as expected by the jsonsWithInput query.getJsonWithInputGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the jsonWithInput EXECUTOR, created with the given Partial request.Get theBuilder
for the TypeWithJson, as expected by the jsonWithInput query.getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the listOfEnumWithReservedJavaKeywordAsValues query.getLongGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the long EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the long query.getNativeGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the native EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the native query.getNewGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the new EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the new query.getNullGraphQLRequest
(String partialRequest) Issue #188: null is not identified as a java keyword
Get theGraphQLRequestAllGraphQLCases2
for the null EXECUTOR, created with the given Partial request.Issue #188: null is not identified as a java keyword
Get theBuilder
for the String, as expected by the null query.getObjectGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the object EXECUTOR, created with the given Partial request.Get theBuilder
for the Object, as expected by the object query.getObjectsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the objects EXECUTOR, created with the given Partial request.Get theBuilder
for the Object, as expected by the objects query.getObjectsWithInputGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the objectsWithInput EXECUTOR, created with the given Partial request.Get theBuilder
for the TypeWithObject, as expected by the objectsWithInput query.getObjectWithInputGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the objectWithInput EXECUTOR, created with the given Partial request.Get theBuilder
for the TypeWithObject, as expected by the objectWithInput query.getPackageGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the package EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the package query.getPrivateGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the private EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the private query.getProtectedGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the protected EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the protected query.getPublicGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the public EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the public query.getRelayGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the relay EXECUTOR, created with the given Partial request.Get theBuilder
for the MyQueryType, as expected by the relay query.getReservedJavaKeywordAllFieldCasesGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the reservedJavaKeywordAllFieldCases EXECUTOR, created with the given Partial request.Get theBuilder
for the ReservedJavaKeywordAllFieldCases, as expected by the reservedJavaKeywordAllFieldCases query.Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.getReturnEnumGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the returnEnum EXECUTOR, created with the given Partial request.Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnEnum query.getReturnGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the return EXECUTOR, created with the given Partial request.getReturnListOfEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the returnListOfEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfEnums query.getReturnListOfListOfEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the returnListOfListOfEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfListOfEnums query.getReturnListOfMandatoryEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfMandatoryEnums query.getReturnMandatoryEnumGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the returnMandatoryEnum EXECUTOR, created with the given Partial request.Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryEnum query.getReturnMandatoryListOfEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfEnums query.getReturnMandatoryListOfMandatoryEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfMandatoryEnums query.Get theBuilder
for the String, as expected by the return query.getShortGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the short EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the short query.getStaticGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the static EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the static query.getStrictfpGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the strictfp EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the strictfp query.getSuperGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the super EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the super query.getSwitchGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the switch EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the switch query.getSynchronizedGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the synchronized EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the synchronized query.getTestBase64StringGraphQLRequest
(String partialRequest) Test for issue #174: a custom scalar which Java type is an array
Get theGraphQLRequestAllGraphQLCases2
for the testBase64String EXECUTOR, created with the given Partial request.Test for issue #174: a custom scalar which Java type is an array
Get theBuilder
for the byte, as expected by the testBase64String query.getThisGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the this EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the this query.getThrowGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the throw EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the throw query.getThrowsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the throws EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the throws query.getTransientGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the transient EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the transient query.getTryGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the try EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the try query.getUnionTestGraphQLRequest
(String partialRequest)
################################################################################
# Test for unions
Get theGraphQLRequestAllGraphQLCases2
for the unionTest EXECUTOR, created with the given Partial request.
################################################################################
# Test for unions
Get theBuilder
for the AnyCharacter, as expected by the unionTest query.getVoidGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the void EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the void query.getVolatileGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the volatile EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the volatile query.getWhileGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the while EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the while query.getWithEnumGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the withEnum EXECUTOR, created with the given Partial request.Get theBuilder
for the Character, as expected by the withEnum query.getWithListGraphQLRequest
(String partialRequest)
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
Get theGraphQLRequestAllGraphQLCases2
for the withList EXECUTOR, created with the given Partial request.getWithListOfListGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the withListOfList EXECUTOR, created with the given Partial request.Get theBuilder
for the AllFieldCases, as expected by the withListOfList query.
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
Get theBuilder
for the Character, as expected by the withList query.getWithOneMandatoryParamDefaultValueGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the withOneMandatoryParamDefaultValue EXECUTOR, created with the given Partial request.Get theBuilder
for the Integer, as expected by the withOneMandatoryParamDefaultValue query.getWithOneMandatoryParamGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the withOneMandatoryParam EXECUTOR, created with the given Partial request.Get theBuilder
for the Character, as expected by the withOneMandatoryParam query.getWithOneOptionalParamGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the withOneOptionalParam EXECUTOR, created with the given Partial request.Get theBuilder
for the Character, as expected by the withOneOptionalParam query.getWithoutParametersGraphQLRequest
(String partialRequest)
This is a description to describe the field withoutParameters
on two lines
Get theGraphQLRequestAllGraphQLCases2
for the withoutParameters EXECUTOR, created with the given Partial request.
This is a description to describe the field withoutParameters
on two lines
Get theBuilder
for the Character, as expected by the withoutParameters query.getWithTwoMandatoryParamDefaultValGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases2
for the withTwoMandatoryParamDefaultVal EXECUTOR, created with the given Partial request.Get theBuilder
for the Droid, as expected by the withTwoMandatoryParamDefaultVal query.issue128
(ObjectResponse objectResponse, Object... paramsAndValues) test for issue #128 (compilation error when a Query returns a type 'Client')
This method is expected by the graphql-java framework.test for issue #128 (compilation error when a Query returns a type 'Client')
This method executes a partial query on the issue128 query against the GraphQL server.issue128WithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) test for issue #128 (compilation error when a Query returns a type 'Client')
This method is expected by the graphql-java framework.issue128WithBindValues
(String queryResponseDef, Map<String, Object> parameters) test for issue #128 (compilation error when a Query returns a type 'Client')
This method executes a partial query on the issue128 query against the GraphQL server.issue200
(ObjectResponse objectResponse, Boolean param, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the issue200 query against the GraphQL server.issue200WithBindValues
(ObjectResponse objectResponse, Boolean param, Map<String, Object> parameters) This method is expected by the graphql-java framework.This method executes a partial query on the issue200 query against the GraphQL server.issue53
(ObjectResponse objectResponse, Date date, Object... paramsAndValues)
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
This method is expected by the graphql-java framework.
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
This method executes a partial query on the issue53 query against the GraphQL server.issue53WithBindValues
(ObjectResponse objectResponse, Date date, Map<String, Object> parameters)
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
This method is expected by the graphql-java framework.
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
This method executes a partial query on the issue53 query against the GraphQL server.issue82Float
(ObjectResponse objectResponse, Double aFloat, Object... paramsAndValues)
#issue82 is about hard coded values as parameters.issue82Float
(String queryResponseDef, Double aFloat, Object... paramsAndValues)
#issue82 is about hard coded values as parameters.issue82FloatWithBindValues
(ObjectResponse objectResponse, Double aFloat, Map<String, Object> parameters)
#issue82 is about hard coded values as parameters.
#issue82 is about hard coded values as parameters.issue82ID
(ObjectResponse objectResponse, String aID, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the issue82ID query against the GraphQL server.issue82IDWithBindValues
(ObjectResponse objectResponse, String aID, Map<String, Object> parameters) This method is expected by the graphql-java framework.This method executes a partial query on the issue82ID query against the GraphQL server.com.fasterxml.jackson.databind.node.ObjectNode
json
(ObjectResponse objectResponse, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) Test of JSON scalar, for issue #205
This method is expected by the graphql-java framework.com.fasterxml.jackson.databind.node.ObjectNode
json
(String queryResponseDef, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) Test of JSON scalar, for issue #205
This method executes a partial query on the json query against the GraphQL server.List<com.fasterxml.jackson.databind.node.ObjectNode>
jsons
(ObjectResponse objectResponse, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) This method is expected by the graphql-java framework.List<com.fasterxml.jackson.databind.node.ObjectNode>
jsons
(String queryResponseDef, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) This method executes a partial query on the jsons query against the GraphQL server.List<com.fasterxml.jackson.databind.node.ObjectNode>
jsonsWithBindValues
(ObjectResponse objectResponse, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) This method is expected by the graphql-java framework.List<com.fasterxml.jackson.databind.node.ObjectNode>
jsonsWithBindValues
(String queryResponseDef, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) This method executes a partial query on the jsons query against the GraphQL server.jsonsWithInput
(ObjectResponse objectResponse, List<InputWithJson> input, Object... paramsAndValues) This method is expected by the graphql-java framework.jsonsWithInput
(String queryResponseDef, List<InputWithJson> input, Object... paramsAndValues) This method executes a partial query on the jsonsWithInput query against the GraphQL server.jsonsWithInputWithBindValues
(ObjectResponse objectResponse, List<InputWithJson> input, Map<String, Object> parameters) This method is expected by the graphql-java framework.jsonsWithInputWithBindValues
(String queryResponseDef, List<InputWithJson> input, Map<String, Object> parameters) This method executes a partial query on the jsonsWithInput query against the GraphQL server.com.fasterxml.jackson.databind.node.ObjectNode
jsonWithBindValues
(ObjectResponse objectResponse, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) Test of JSON scalar, for issue #205
This method is expected by the graphql-java framework.com.fasterxml.jackson.databind.node.ObjectNode
jsonWithBindValues
(String queryResponseDef, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) Test of JSON scalar, for issue #205
This method executes a partial query on the json query against the GraphQL server.jsonWithInput
(ObjectResponse objectResponse, InputWithJson input, Object... paramsAndValues) This method is expected by the graphql-java framework.jsonWithInput
(String queryResponseDef, InputWithJson input, Object... paramsAndValues) This method executes a partial query on the jsonWithInput query against the GraphQL server.jsonWithInputWithBindValues
(ObjectResponse objectResponse, InputWithJson input, Map<String, Object> parameters) This method is expected by the graphql-java framework.jsonWithInputWithBindValues
(String queryResponseDef, InputWithJson input, Map<String, Object> parameters) This method executes a partial query on the jsonWithInput query against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValues
(ObjectResponse objectResponse, EnumWithReservedJavaKeywordAsValues param1, List<EnumWithReservedJavaKeywordAsValues> param2, Object... paramsAndValues) This method is expected by the graphql-java framework.listOfEnumWithReservedJavaKeywordAsValues
(String queryResponseDef, EnumWithReservedJavaKeywordAsValues param1, List<EnumWithReservedJavaKeywordAsValues> param2, Object... paramsAndValues) This method executes a partial query on the listOfEnumWithReservedJavaKeywordAsValues query against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
(ObjectResponse objectResponse, EnumWithReservedJavaKeywordAsValues param1, List<EnumWithReservedJavaKeywordAsValues> param2, Map<String, Object> parameters) This method is expected by the graphql-java framework.listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
(String queryResponseDef, EnumWithReservedJavaKeywordAsValues param1, List<EnumWithReservedJavaKeywordAsValues> param2, Map<String, Object> parameters) This method executes a partial query on the listOfEnumWithReservedJavaKeywordAsValues query against the GraphQL server.object
(ObjectResponse objectResponse, Object object, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the object query against the GraphQL server.objects
(ObjectResponse objectResponse, List<Object> objects, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the objects query against the GraphQL server.objectsWithBindValues
(ObjectResponse objectResponse, List<Object> objects, Map<String, Object> parameters) This method is expected by the graphql-java framework.This method executes a partial query on the objects query against the GraphQL server.objectsWithInput
(ObjectResponse objectResponse, List<InputWithObject> input, Object... paramsAndValues) This method is expected by the graphql-java framework.objectsWithInput
(String queryResponseDef, List<InputWithObject> input, Object... paramsAndValues) This method executes a partial query on the objectsWithInput query against the GraphQL server.objectsWithInputWithBindValues
(ObjectResponse objectResponse, List<InputWithObject> input, Map<String, Object> parameters) This method is expected by the graphql-java framework.objectsWithInputWithBindValues
(String queryResponseDef, List<InputWithObject> input, Map<String, Object> parameters) This method executes a partial query on the objectsWithInput query against the GraphQL server.objectWithBindValues
(ObjectResponse objectResponse, Object object, Map<String, Object> parameters) This method is expected by the graphql-java framework.This method executes a partial query on the object query against the GraphQL server.objectWithInput
(ObjectResponse objectResponse, InputWithObject input, Object... paramsAndValues) This method is expected by the graphql-java framework.objectWithInput
(String queryResponseDef, InputWithObject input, Object... paramsAndValues) This method executes a partial query on the objectWithInput query against the GraphQL server.objectWithInputWithBindValues
(ObjectResponse objectResponse, InputWithObject input, Map<String, Object> parameters) This method is expected by the graphql-java framework.objectWithInputWithBindValues
(String queryResponseDef, InputWithObject input, Map<String, Object> parameters) This method executes a partial query on the objectWithInput query against the GraphQL server.relay
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the relay query against the GraphQL server.relayWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.relayWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the relay query against the GraphQL server.reservedJavaKeywordAllFieldCases
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.reservedJavaKeywordAllFieldCases
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the reservedJavaKeywordAllFieldCases query against the GraphQL server.reservedJavaKeywordAllFieldCasesWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.reservedJavaKeywordAllFieldCasesWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the reservedJavaKeywordAllFieldCases query against the GraphQL server.returnEnum
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.returnEnum
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the returnEnum query against the GraphQL server.returnEnumWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.returnEnumWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the returnEnum query against the GraphQL server.returnListOfEnums
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.returnListOfEnums
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the returnListOfEnums query against the GraphQL server.returnListOfEnumsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.returnListOfEnumsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the returnListOfEnums query against the GraphQL server.returnListOfListOfEnums
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.returnListOfListOfEnums
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the returnListOfListOfEnums query against the GraphQL server.returnListOfListOfEnumsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.returnListOfListOfEnumsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the returnListOfListOfEnums query against the GraphQL server.returnListOfMandatoryEnums
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.returnListOfMandatoryEnums
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the returnListOfMandatoryEnums query against the GraphQL server.returnListOfMandatoryEnumsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.returnListOfMandatoryEnumsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the returnListOfMandatoryEnums query against the GraphQL server.returnMandatoryEnum
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.returnMandatoryEnum
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the returnMandatoryEnum query against the GraphQL server.returnMandatoryEnumWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.returnMandatoryEnumWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the returnMandatoryEnum query against the GraphQL server.returnMandatoryListOfEnums
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.returnMandatoryListOfEnums
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the returnMandatoryListOfEnums query against the GraphQL server.returnMandatoryListOfEnumsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.returnMandatoryListOfEnumsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the returnMandatoryListOfEnums query against the GraphQL server.returnMandatoryListOfMandatoryEnums
(ObjectResponse objectResponse, Object... paramsAndValues) This method is expected by the graphql-java framework.returnMandatoryListOfMandatoryEnums
(String queryResponseDef, Object... paramsAndValues) This method executes a partial query on the returnMandatoryListOfMandatoryEnums query against the GraphQL server.returnMandatoryListOfMandatoryEnumsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) This method is expected by the graphql-java framework.returnMandatoryListOfMandatoryEnumsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) This method executes a partial query on the returnMandatoryListOfMandatoryEnums query against the GraphQL server.byte[]
testBase64String
(ObjectResponse objectResponse, byte[] input, Object... paramsAndValues) Test for issue #174: a custom scalar which Java type is an array
This method is expected by the graphql-java framework.byte[]
testBase64String
(String queryResponseDef, byte[] input, Object... paramsAndValues) Test for issue #174: a custom scalar which Java type is an array
This method executes a partial query on the testBase64String query against the GraphQL server.byte[]
testBase64StringWithBindValues
(ObjectResponse objectResponse, byte[] input, Map<String, Object> parameters) Test for issue #174: a custom scalar which Java type is an array
This method is expected by the graphql-java framework.byte[]
testBase64StringWithBindValues
(String queryResponseDef, byte[] input, Map<String, Object> parameters) Test for issue #174: a custom scalar which Java type is an array
This method executes a partial query on the testBase64String query against the GraphQL server.unionTest
(ObjectResponse objectResponse, HumanInput human1, HumanInput human2, DroidInput droid1, DroidInput droid2, Object... paramsAndValues)
################################################################################
# Test for unions
This method is expected by the graphql-java framework.unionTest
(String queryResponseDef, HumanInput human1, HumanInput human2, DroidInput droid1, DroidInput droid2, Object... paramsAndValues)
################################################################################
# Test for unions
This method executes a partial query on the unionTest query against the GraphQL server.unionTestWithBindValues
(ObjectResponse objectResponse, HumanInput human1, HumanInput human2, DroidInput droid1, DroidInput droid2, Map<String, Object> parameters)
################################################################################
# Test for unions
This method is expected by the graphql-java framework.unionTestWithBindValues
(String queryResponseDef, HumanInput human1, HumanInput human2, DroidInput droid1, DroidInput droid2, Map<String, Object> parameters)
################################################################################
# Test for unions
This method executes a partial query on the unionTest query against the GraphQL server.withEnum
(ObjectResponse objectResponse, Episode episode, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the withEnum query against the GraphQL server.withEnumWithBindValues
(ObjectResponse objectResponse, Episode episode, Map<String, Object> parameters) This method is expected by the graphql-java framework.This method executes a partial query on the withEnum query against the GraphQL server.withList
(ObjectResponse objectResponse, String firstName, List<CharacterInput> characters, Object... paramsAndValues)
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
This method is expected by the graphql-java framework.withList
(String queryResponseDef, String firstName, List<CharacterInput> characters, Object... paramsAndValues)
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
This method executes a partial query on the withList query against the GraphQL server.withListOfList
(ObjectResponse objectResponse, List<List<Double>> matrix, Object... paramsAndValues) This method is expected by the graphql-java framework.This method executes a partial query on the withListOfList query against the GraphQL server.withListOfListWithBindValues
(ObjectResponse objectResponse, List<List<Double>> matrix, Map<String, Object> parameters) This method is expected by the graphql-java framework.withListOfListWithBindValues
(String queryResponseDef, List<List<Double>> matrix, Map<String, Object> parameters) This method executes a partial query on the withListOfList query against the GraphQL server.withListWithBindValues
(ObjectResponse objectResponse, String firstName, List<CharacterInput> characters, Map<String, Object> parameters)
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
This method is expected by the graphql-java framework.withListWithBindValues
(String queryResponseDef, String firstName, List<CharacterInput> characters, Map<String, Object> parameters)
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
This method executes a partial query on the withList query against the GraphQL server.withOneMandatoryParam
(ObjectResponse objectResponse, CharacterInput character, Object... paramsAndValues) This method is expected by the graphql-java framework.withOneMandatoryParam
(String queryResponseDef, CharacterInput character, Object... paramsAndValues) This method executes a partial query on the withOneMandatoryParam query against the GraphQL server.withOneMandatoryParamDefaultValue
(ObjectResponse objectResponse, Integer intParam, Object... paramsAndValues) This method is expected by the graphql-java framework.withOneMandatoryParamDefaultValue
(String queryResponseDef, Integer intParam, Object... paramsAndValues) This method executes a partial query on the withOneMandatoryParamDefaultValue query against the GraphQL server.withOneMandatoryParamDefaultValueWithBindValues
(ObjectResponse objectResponse, Integer intParam, Map<String, Object> parameters) This method is expected by the graphql-java framework.withOneMandatoryParamDefaultValueWithBindValues
(String queryResponseDef, Integer intParam, Map<String, Object> parameters) This method executes a partial query on the withOneMandatoryParamDefaultValue query against the GraphQL server.withOneMandatoryParamWithBindValues
(ObjectResponse objectResponse, CharacterInput character, Map<String, Object> parameters) This method is expected by the graphql-java framework.withOneMandatoryParamWithBindValues
(String queryResponseDef, CharacterInput character, Map<String, Object> parameters) This method executes a partial query on the withOneMandatoryParam query against the GraphQL server.withOneOptionalParam
(ObjectResponse objectResponse, CharacterInput character, Object... paramsAndValues) This method is expected by the graphql-java framework.withOneOptionalParam
(String queryResponseDef, CharacterInput character, Object... paramsAndValues) This method executes a partial query on the withOneOptionalParam query against the GraphQL server.withOneOptionalParamWithBindValues
(ObjectResponse objectResponse, CharacterInput character, Map<String, Object> parameters) This method is expected by the graphql-java framework.withOneOptionalParamWithBindValues
(String queryResponseDef, CharacterInput character, Map<String, Object> parameters) This method executes a partial query on the withOneOptionalParam query against the GraphQL server.withoutParameters
(ObjectResponse objectResponse, Object... paramsAndValues)
This is a description to describe the field withoutParameters
on two lines
This method is expected by the graphql-java framework.withoutParameters
(String queryResponseDef, Object... paramsAndValues)
This is a description to describe the field withoutParameters
on two lines
This method executes a partial query on the withoutParameters query against the GraphQL server.withoutParametersWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters)
This is a description to describe the field withoutParameters
on two lines
This method is expected by the graphql-java framework.withoutParametersWithBindValues
(String queryResponseDef, Map<String, Object> parameters)
This is a description to describe the field withoutParameters
on two lines
This method executes a partial query on the withoutParameters query against the GraphQL server.withTwoMandatoryParamDefaultVal
(ObjectResponse objectResponse, DroidInput theHero, Integer num, Object... paramsAndValues) This method is expected by the graphql-java framework.withTwoMandatoryParamDefaultVal
(String queryResponseDef, DroidInput theHero, Integer num, Object... paramsAndValues) This method executes a partial query on the withTwoMandatoryParamDefaultVal query against the GraphQL server.withTwoMandatoryParamDefaultValWithBindValues
(ObjectResponse objectResponse, DroidInput theHero, Integer num, Map<String, Object> parameters) This method is expected by the graphql-java framework.withTwoMandatoryParamDefaultValWithBindValues
(String queryResponseDef, DroidInput theHero, Integer num, Map<String, Object> parameters) This method executes a partial query on the withTwoMandatoryParamDefaultVal query against the GraphQL server.
-
Constructor Details
-
MyQueryTypeExecutorAllGraphQLCases2
public MyQueryTypeExecutorAllGraphQLCases2()
-
-
Method Details
-
execWithBindValues
public MyQueryType execWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method takes a full request definition, and executes it against the GraphQL server. As this class is a query executor, the provided request must be a query full request.
This method offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it: This method takes a full request definition, and executes it against the GraphQL server. That is, the query contains the full string that follows the query keyword.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above). It must 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 aDate
for theGraphQLScalarTypeDate
). The parameters which value is missing in this map will be ignored.- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public MyQueryType exec(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method takes a full request definition, and executes it against the GraphQL server. As this class is a query executor, the provided request must be a query full request.
This method offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above). It must 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
execWithBindValues
public MyQueryType execWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method takes a full request definition, and executes it against the GraphQL server. As this class is a query executor, the provided request must be a query full request.
This method offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
methods.parameters
- The list of values, for the bind variables 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:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public MyQueryType exec(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method takes a full request definition, and executes it against the GraphQL server. As this class is a query executor, the provided request must be a query full request.
This method offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getResponseBuilder
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for full request. For instance:GraphQLRequestAllGraphQLCases2 request = new GraphQLRequest(fullRequest);
- Parameters:
fullRequest
- The full GraphQL Request, as specified in the GraphQL specification- Returns:
- Throws:
GraphQLRequestPreparationException
-
withoutParametersWithBindValues
public List<Character> withoutParametersWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
This is a description to describe the field withoutParameters
on two lines
This method executes a partial query on the withoutParameters query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithoutParameters
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withoutParameters
public List<Character> withoutParameters(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
This is a description to describe the field withoutParameters
on two lines
This method executes a partial query on the withoutParameters query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithoutParameters
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withoutParametersWithBindValues
public List<Character> withoutParametersWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionException
This is a description to describe the field withoutParameters
on two lines
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithoutParametersGraphQLRequest(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:
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
-
withoutParameters
public List<Character> withoutParameters(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException
This is a description to describe the field withoutParameters
on two lines
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithoutParametersGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithoutParametersResponseBuilder
This is a description to describe the field withoutParameters
on two lines
Get theBuilder
for the Character, as expected by the withoutParameters query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWithoutParametersGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWithoutParametersGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
This is a description to describe the field withoutParameters
on two lines
Get theGraphQLRequestAllGraphQLCases2
for the withoutParameters EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
withOneOptionalParamWithBindValues
public Character withOneOptionalParamWithBindValues(String queryResponseDef, CharacterInput character, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the withOneOptionalParam query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithOneOptionalParam
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)character
- Parameter for the withOneOptionalParam field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneOptionalParam
public Character withOneOptionalParam(String queryResponseDef, CharacterInput character, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the withOneOptionalParam query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithOneOptionalParam
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)character
- Parameter for the withOneOptionalParam field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneOptionalParamWithBindValues
public Character withOneOptionalParamWithBindValues(ObjectResponse objectResponse, CharacterInput character, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithOneOptionalParamGraphQLRequest(java.lang.String)
method.character
- Parameter for the withOneOptionalParam field of MyQueryType, 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:
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
-
withOneOptionalParam
public Character withOneOptionalParam(ObjectResponse objectResponse, CharacterInput character, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithOneOptionalParamGraphQLRequest(java.lang.String)
method.character
- Parameter for the withOneOptionalParam field of MyQueryType, 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
-
getWithOneOptionalParamResponseBuilder
Get theBuilder
for the Character, as expected by the withOneOptionalParam query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWithOneOptionalParamGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWithOneOptionalParamGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the withOneOptionalParam EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
withOneMandatoryParamWithBindValues
public Character withOneMandatoryParamWithBindValues(String queryResponseDef, CharacterInput character, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the withOneMandatoryParam query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithOneMandatoryParam
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)character
- Parameter for the withOneMandatoryParam field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParam
public Character withOneMandatoryParam(String queryResponseDef, CharacterInput character, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the withOneMandatoryParam query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithOneMandatoryParam
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)character
- Parameter for the withOneMandatoryParam field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParamWithBindValues
public Character withOneMandatoryParamWithBindValues(ObjectResponse objectResponse, CharacterInput character, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithOneMandatoryParamGraphQLRequest(java.lang.String)
method.character
- Parameter for the withOneMandatoryParam field of MyQueryType, 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:
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
-
withOneMandatoryParam
public Character withOneMandatoryParam(ObjectResponse objectResponse, CharacterInput character, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithOneMandatoryParamGraphQLRequest(java.lang.String)
method.character
- Parameter for the withOneMandatoryParam field of MyQueryType, 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
-
getWithOneMandatoryParamResponseBuilder
Get theBuilder
for the Character, as expected by the withOneMandatoryParam query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWithOneMandatoryParamGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWithOneMandatoryParamGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the withOneMandatoryParam EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
withOneMandatoryParamDefaultValueWithBindValues
public Integer withOneMandatoryParamDefaultValueWithBindValues(String queryResponseDef, Integer intParam, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the withOneMandatoryParamDefaultValue query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithOneMandatoryParamDefaultValue
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)intParam
- Parameter for the withOneMandatoryParamDefaultValue field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParamDefaultValue
public Integer withOneMandatoryParamDefaultValue(String queryResponseDef, Integer intParam, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the withOneMandatoryParamDefaultValue query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithOneMandatoryParamDefaultValue
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)intParam
- Parameter for the withOneMandatoryParamDefaultValue field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParamDefaultValueWithBindValues
public Integer withOneMandatoryParamDefaultValueWithBindValues(ObjectResponse objectResponse, Integer intParam, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithOneMandatoryParamDefaultValueGraphQLRequest(java.lang.String)
method.intParam
- Parameter for the withOneMandatoryParamDefaultValue field of MyQueryType, 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:
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
-
withOneMandatoryParamDefaultValue
public Integer withOneMandatoryParamDefaultValue(ObjectResponse objectResponse, Integer intParam, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithOneMandatoryParamDefaultValueGraphQLRequest(java.lang.String)
method.intParam
- Parameter for the withOneMandatoryParamDefaultValue field of MyQueryType, 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
-
getWithOneMandatoryParamDefaultValueResponseBuilder
public Builder getWithOneMandatoryParamDefaultValueResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the Integer, as expected by the withOneMandatoryParamDefaultValue query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWithOneMandatoryParamDefaultValueGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWithOneMandatoryParamDefaultValueGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the withOneMandatoryParamDefaultValue EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
withTwoMandatoryParamDefaultValWithBindValues
public Droid withTwoMandatoryParamDefaultValWithBindValues(String queryResponseDef, DroidInput theHero, Integer num, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the withTwoMandatoryParamDefaultVal query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithTwoMandatoryParamDefaultVal
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)theHero
- Parameter for the withTwoMandatoryParamDefaultVal field of MyQueryType, as defined in the GraphQL schemanum
- Parameter for the withTwoMandatoryParamDefaultVal field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withTwoMandatoryParamDefaultVal
public Droid withTwoMandatoryParamDefaultVal(String queryResponseDef, DroidInput theHero, Integer num, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the withTwoMandatoryParamDefaultVal query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithTwoMandatoryParamDefaultVal
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)theHero
- Parameter for the withTwoMandatoryParamDefaultVal field of MyQueryType, as defined in the GraphQL schemanum
- Parameter for the withTwoMandatoryParamDefaultVal field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withTwoMandatoryParamDefaultValWithBindValues
public Droid withTwoMandatoryParamDefaultValWithBindValues(ObjectResponse objectResponse, DroidInput theHero, Integer num, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithTwoMandatoryParamDefaultValGraphQLRequest(java.lang.String)
method.theHero
- Parameter for the withTwoMandatoryParamDefaultVal field of MyQueryType, as defined in the GraphQL schemanum
- Parameter for the withTwoMandatoryParamDefaultVal field of MyQueryType, 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:
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
-
withTwoMandatoryParamDefaultVal
public Droid withTwoMandatoryParamDefaultVal(ObjectResponse objectResponse, DroidInput theHero, Integer num, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithTwoMandatoryParamDefaultValGraphQLRequest(java.lang.String)
method.theHero
- Parameter for the withTwoMandatoryParamDefaultVal field of MyQueryType, as defined in the GraphQL schemanum
- Parameter for the withTwoMandatoryParamDefaultVal field of MyQueryType, 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
-
getWithTwoMandatoryParamDefaultValResponseBuilder
public Builder getWithTwoMandatoryParamDefaultValResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the Droid, as expected by the withTwoMandatoryParamDefaultVal query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWithTwoMandatoryParamDefaultValGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWithTwoMandatoryParamDefaultValGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the withTwoMandatoryParamDefaultVal EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
withEnumWithBindValues
public Character withEnumWithBindValues(String queryResponseDef, Episode episode, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the withEnum query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithEnum
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)episode
- Parameter for the withEnum field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withEnum
public Character withEnum(String queryResponseDef, Episode episode, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the withEnum query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithEnum
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)episode
- Parameter for the withEnum field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withEnumWithBindValues
public Character withEnumWithBindValues(ObjectResponse objectResponse, Episode episode, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithEnumGraphQLRequest(java.lang.String)
method.episode
- Parameter for the withEnum field of MyQueryType, 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:
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
-
withEnum
public Character withEnum(ObjectResponse objectResponse, Episode episode, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithEnumGraphQLRequest(java.lang.String)
method.episode
- Parameter for the withEnum field of MyQueryType, 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
-
getWithEnumResponseBuilder
Get theBuilder
for the Character, as expected by the withEnum query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWithEnumGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWithEnumGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the withEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
withListOfListWithBindValues
public AllFieldCases withListOfListWithBindValues(String queryResponseDef, List<List<Double>> matrix, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the withListOfList query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithListOfList
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)matrix
- Parameter for the withListOfList field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withListOfList
public AllFieldCases withListOfList(String queryResponseDef, List<List<Double>> matrix, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the withListOfList query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithListOfList
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)matrix
- Parameter for the withListOfList field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withListOfListWithBindValues
public AllFieldCases withListOfListWithBindValues(ObjectResponse objectResponse, List<List<Double>> matrix, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithListOfListGraphQLRequest(java.lang.String)
method.matrix
- Parameter for the withListOfList field of MyQueryType, 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:
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
-
withListOfList
public AllFieldCases withListOfList(ObjectResponse objectResponse, List<List<Double>> matrix, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithListOfListGraphQLRequest(java.lang.String)
method.matrix
- Parameter for the withListOfList field of MyQueryType, 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
-
getWithListOfListResponseBuilder
Get theBuilder
for the AllFieldCases, as expected by the withListOfList query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWithListOfListGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWithListOfListGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the withListOfList EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
withListWithBindValues
public List<Character> withListWithBindValues(String queryResponseDef, String firstName, List<CharacterInput> characters, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
This method executes a partial query on the withList query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithList
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)firstName
- Parameter for the withList field of MyQueryType, as defined in the GraphQL schemacharacters
- Parameter for the withList field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withList
public List<Character> withList(String queryResponseDef, String firstName, List<CharacterInput> characters, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
This method executes a partial query on the withList query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thewithList
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)firstName
- Parameter for the withList field of MyQueryType, as defined in the GraphQL schemacharacters
- Parameter for the withList field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withListWithBindValues
public List<Character> withListWithBindValues(ObjectResponse objectResponse, String firstName, List<CharacterInput> characters, Map<String, Object> parameters) throws GraphQLRequestExecutionException
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithListGraphQLRequest(java.lang.String)
method.firstName
- Parameter for the withList field of MyQueryType, as defined in the GraphQL schemacharacters
- Parameter for the withList field of MyQueryType, 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:
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
-
withList
public List<Character> withList(ObjectResponse objectResponse, String firstName, List<CharacterInput> characters, Object... paramsAndValues) throws GraphQLRequestExecutionException
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWithListGraphQLRequest(java.lang.String)
method.firstName
- Parameter for the withList field of MyQueryType, as defined in the GraphQL schemacharacters
- Parameter for the withList field of MyQueryType, 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
-
getWithListResponseBuilder
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
Get theBuilder
for the Character, as expected by the withList query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWithListGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWithListGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
################################################################################
# withList return a list of Characters, matching the given list of CharacterInput.
# The name of the first Character returned is replaced by the given firstName.
# All ids are generated
Get theGraphQLRequestAllGraphQLCases2
for the withList EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
allFieldCasesWithBindValues
public AllFieldCases allFieldCasesWithBindValues(String queryResponseDef, AllFieldCasesInput input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
################################################################################
# Complementary tests with the AllFieldCases Object
This method executes a partial query on the allFieldCases query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theallFieldCases
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the allFieldCases field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allFieldCases
public AllFieldCases allFieldCases(String queryResponseDef, AllFieldCasesInput input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
################################################################################
# Complementary tests with the AllFieldCases Object
This method executes a partial query on the allFieldCases query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theallFieldCases
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the allFieldCases field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allFieldCasesWithBindValues
public AllFieldCases allFieldCasesWithBindValues(ObjectResponse objectResponse, AllFieldCasesInput input, Map<String, Object> parameters) throws GraphQLRequestExecutionException
################################################################################
# Complementary tests with the AllFieldCases Object
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetAllFieldCasesGraphQLRequest(java.lang.String)
method.input
- Parameter for the allFieldCases field of MyQueryType, 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:
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
-
allFieldCases
public AllFieldCases allFieldCases(ObjectResponse objectResponse, AllFieldCasesInput input, Object... paramsAndValues) throws GraphQLRequestExecutionException
################################################################################
# Complementary tests with the AllFieldCases Object
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetAllFieldCasesGraphQLRequest(java.lang.String)
method.input
- Parameter for the allFieldCases field of MyQueryType, 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
-
getAllFieldCasesResponseBuilder
################################################################################
# Complementary tests with the AllFieldCases Object
Get theBuilder
for the AllFieldCases, as expected by the allFieldCases query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getAllFieldCasesGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getAllFieldCasesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
################################################################################
# Complementary tests with the AllFieldCases Object
Get theGraphQLRequestAllGraphQLCases2
for the allFieldCases EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
unionTestWithBindValues
public List<AnyCharacter> unionTestWithBindValues(String queryResponseDef, HumanInput human1, HumanInput human2, DroidInput droid1, DroidInput droid2, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
################################################################################
# Test for unions
This method executes a partial query on the unionTest query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theunionTest
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)human1
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemahuman2
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemadroid1
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemadroid2
- Parameter for the unionTest field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
unionTest
public List<AnyCharacter> unionTest(String queryResponseDef, HumanInput human1, HumanInput human2, DroidInput droid1, DroidInput droid2, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
################################################################################
# Test for unions
This method executes a partial query on the unionTest query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theunionTest
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)human1
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemahuman2
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemadroid1
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemadroid2
- Parameter for the unionTest field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
unionTestWithBindValues
public List<AnyCharacter> unionTestWithBindValues(ObjectResponse objectResponse, HumanInput human1, HumanInput human2, DroidInput droid1, DroidInput droid2, Map<String, Object> parameters) throws GraphQLRequestExecutionException
################################################################################
# Test for unions
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetUnionTestGraphQLRequest(java.lang.String)
method.human1
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemahuman2
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemadroid1
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemadroid2
- Parameter for the unionTest field of MyQueryType, 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:
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
-
unionTest
public List<AnyCharacter> unionTest(ObjectResponse objectResponse, HumanInput human1, HumanInput human2, DroidInput droid1, DroidInput droid2, Object... paramsAndValues) throws GraphQLRequestExecutionException
################################################################################
# Test for unions
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetUnionTestGraphQLRequest(java.lang.String)
method.human1
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemahuman2
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemadroid1
- Parameter for the unionTest field of MyQueryType, as defined in the GraphQL schemadroid2
- Parameter for the unionTest field of MyQueryType, 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
-
getUnionTestResponseBuilder
################################################################################
# Test for unions
Get theBuilder
for the AnyCharacter, as expected by the unionTest query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getUnionTestGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getUnionTestGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
################################################################################
# Test for unions
Get theGraphQLRequestAllGraphQLCases2
for the unionTest EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
errorWithBindValues
public Character errorWithBindValues(String queryResponseDef, String errorLabel, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
################################################################################
# error always returns an error! (used to check the error management)
This method executes a partial query on the error query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theerror
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)errorLabel
- Parameter for the error field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
error
public Character error(String queryResponseDef, String errorLabel, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
################################################################################
# error always returns an error! (used to check the error management)
This method executes a partial query on the error query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theerror
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)errorLabel
- Parameter for the error field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
errorWithBindValues
public Character errorWithBindValues(ObjectResponse objectResponse, String errorLabel, Map<String, Object> parameters) throws GraphQLRequestExecutionException
################################################################################
# error always returns an error! (used to check the error management)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetErrorGraphQLRequest(java.lang.String)
method.errorLabel
- Parameter for the error field of MyQueryType, 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:
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
-
error
public Character error(ObjectResponse objectResponse, String errorLabel, Object... paramsAndValues) throws GraphQLRequestExecutionException
################################################################################
# error always returns an error! (used to check the error management)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetErrorGraphQLRequest(java.lang.String)
method.errorLabel
- Parameter for the error field of MyQueryType, 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
-
getErrorResponseBuilder
################################################################################
# error always returns an error! (used to check the error management)
Get theBuilder
for the Character, as expected by the error query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getErrorGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getErrorGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
################################################################################
# error always returns an error! (used to check the error management)
Get theGraphQLRequestAllGraphQLCases2
for the error EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
aBreakWithBindValues
public _break aBreakWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionCheck for GraphQL identifier that are java keywords
This method executes a partial query on the aBreak query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theaBreak
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
aBreak
public _break aBreak(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Check for GraphQL identifier that are java keywords
This method executes a partial query on the aBreak query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theaBreak
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
aBreakWithBindValues
public _break aBreakWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionCheck for GraphQL identifier that are java keywords
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetABreakGraphQLRequest(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:
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
-
aBreak
public _break aBreak(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Check for GraphQL identifier that are java keywords
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetABreakGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getABreakResponseBuilder
Check for GraphQL identifier that are java keywords
Get theBuilder
for the _break, as expected by the aBreak query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getABreakGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getABreakGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Check for GraphQL identifier that are java keywords
Get theGraphQLRequestAllGraphQLCases2
for the aBreak EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
directiveOnQueryWithBindValues
public List<String> directiveOnQueryWithBindValues(String queryResponseDef, Boolean uppercase, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.
# List is null if the directive is not present.
This method executes a partial query on the directiveOnQuery query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thedirectiveOnQuery
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)uppercase
- Parameter for the directiveOnQuery field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnQuery
public List<String> directiveOnQuery(String queryResponseDef, Boolean uppercase, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.
# List is null if the directive is not present.
This method executes a partial query on the directiveOnQuery query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thedirectiveOnQuery
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)uppercase
- Parameter for the directiveOnQuery field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnQueryWithBindValues
public List<String> directiveOnQueryWithBindValues(ObjectResponse objectResponse, Boolean uppercase, Map<String, Object> parameters) throws GraphQLRequestExecutionException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.
# List is null if the directive is not present.
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetDirectiveOnQueryGraphQLRequest(java.lang.String)
method.uppercase
- Parameter for the directiveOnQuery field of MyQueryType, 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:
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
-
directiveOnQuery
public List<String> directiveOnQuery(ObjectResponse objectResponse, Boolean uppercase, Object... paramsAndValues) throws GraphQLRequestExecutionException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.
# List is null if the directive is not present.
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetDirectiveOnQueryGraphQLRequest(java.lang.String)
method.uppercase
- Parameter for the directiveOnQuery field of MyQueryType, 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
-
getDirectiveOnQueryResponseBuilder
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.
# List is null if the directive is not present.
Get theBuilder
for the String, as expected by the directiveOnQuery query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getDirectiveOnQueryGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getDirectiveOnQueryGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery query.
# List is null if the directive is not present.
Get theGraphQLRequestAllGraphQLCases2
for the directiveOnQuery EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
directiveOnFieldWithBindValues
public Character directiveOnFieldWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.
# List is null if the directive is not present.
This method executes a partial query on the directiveOnField query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thedirectiveOnField
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnField
public Character directiveOnField(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.
# List is null if the directive is not present.
This method executes a partial query on the directiveOnField query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thedirectiveOnField
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnFieldWithBindValues
public Character directiveOnFieldWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.
# List is null if the directive is not present.
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetDirectiveOnFieldGraphQLRequest(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:
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
-
directiveOnField
public Character directiveOnField(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.
# List is null if the directive is not present.
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetDirectiveOnFieldGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getDirectiveOnFieldResponseBuilder
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.
# List is null if the directive is not present.
Get theBuilder
for the Character, as expected by the directiveOnField query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getDirectiveOnFieldGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getDirectiveOnFieldGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.
# List is null if the directive is not present.
Get theGraphQLRequestAllGraphQLCases2
for the directiveOnField EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnEnumWithBindValues
public EnumWithReservedJavaKeywordAsValues returnEnumWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the returnEnum query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnEnum
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnum
public EnumWithReservedJavaKeywordAsValues returnEnum(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the returnEnum query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnEnum
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnumWithBindValues
public EnumWithReservedJavaKeywordAsValues returnEnumWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnEnumGraphQLRequest(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:
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
-
returnEnum
public EnumWithReservedJavaKeywordAsValues returnEnum(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnEnumGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnEnumResponseBuilder
Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnEnum query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnEnumGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReturnEnumGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the returnEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnMandatoryEnumWithBindValues
public EnumWithReservedJavaKeywordAsValues returnMandatoryEnumWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the returnMandatoryEnum query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnMandatoryEnum
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnum
public EnumWithReservedJavaKeywordAsValues returnMandatoryEnum(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the returnMandatoryEnum query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnMandatoryEnum
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnumWithBindValues
public EnumWithReservedJavaKeywordAsValues returnMandatoryEnumWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnMandatoryEnumGraphQLRequest(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:
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
-
returnMandatoryEnum
public EnumWithReservedJavaKeywordAsValues returnMandatoryEnum(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnMandatoryEnumGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryEnumResponseBuilder
Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryEnum query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnMandatoryEnumGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReturnMandatoryEnumGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the returnMandatoryEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnListOfEnumsWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> returnListOfEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the returnListOfEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnListOfEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnums
public List<EnumWithReservedJavaKeywordAsValues> returnListOfEnums(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the returnListOfEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnListOfEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnumsWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> returnListOfEnumsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnListOfEnumsGraphQLRequest(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:
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
-
returnListOfEnums
public List<EnumWithReservedJavaKeywordAsValues> returnListOfEnums(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnListOfEnumsGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfEnumsResponseBuilder
Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfEnums query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnListOfEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReturnListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the returnListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnListOfListOfEnumsWithBindValues
public List<List<EnumWithReservedJavaKeywordAsValues>> returnListOfListOfEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the returnListOfListOfEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnListOfListOfEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnums
public List<List<EnumWithReservedJavaKeywordAsValues>> returnListOfListOfEnums(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the returnListOfListOfEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnListOfListOfEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnumsWithBindValues
public List<List<EnumWithReservedJavaKeywordAsValues>> returnListOfListOfEnumsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnListOfListOfEnumsGraphQLRequest(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:
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
-
returnListOfListOfEnums
public List<List<EnumWithReservedJavaKeywordAsValues>> returnListOfListOfEnums(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnListOfListOfEnumsGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfListOfEnumsResponseBuilder
public Builder getReturnListOfListOfEnumsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfListOfEnums query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnListOfListOfEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReturnListOfListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the returnListOfListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnListOfMandatoryEnumsWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> returnListOfMandatoryEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the returnListOfMandatoryEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnListOfMandatoryEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnums
public List<EnumWithReservedJavaKeywordAsValues> returnListOfMandatoryEnums(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the returnListOfMandatoryEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnListOfMandatoryEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnumsWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> returnListOfMandatoryEnumsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnListOfMandatoryEnumsGraphQLRequest(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:
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
-
returnListOfMandatoryEnums
public List<EnumWithReservedJavaKeywordAsValues> returnListOfMandatoryEnums(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnListOfMandatoryEnumsGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfMandatoryEnumsResponseBuilder
public Builder getReturnListOfMandatoryEnumsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnListOfMandatoryEnums query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnListOfMandatoryEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReturnListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnMandatoryListOfEnumsWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the returnMandatoryListOfEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnMandatoryListOfEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnums
public List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfEnums(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the returnMandatoryListOfEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnMandatoryListOfEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnumsWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfEnumsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnMandatoryListOfEnumsGraphQLRequest(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:
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
-
returnMandatoryListOfEnums
public List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfEnums(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnMandatoryListOfEnumsGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryListOfEnumsResponseBuilder
public Builder getReturnMandatoryListOfEnumsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfEnums query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnMandatoryListOfEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReturnMandatoryListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnMandatoryListOfMandatoryEnumsWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfMandatoryEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the returnMandatoryListOfMandatoryEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnMandatoryListOfMandatoryEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnums
public List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfMandatoryEnums(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the returnMandatoryListOfMandatoryEnums query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereturnMandatoryListOfMandatoryEnums
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnumsWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfMandatoryEnumsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnMandatoryListOfMandatoryEnumsGraphQLRequest(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:
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
-
returnMandatoryListOfMandatoryEnums
public List<EnumWithReservedJavaKeywordAsValues> returnMandatoryListOfMandatoryEnums(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnMandatoryListOfMandatoryEnumsGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryListOfMandatoryEnumsResponseBuilder
public Builder getReturnMandatoryListOfMandatoryEnumsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the returnMandatoryListOfMandatoryEnums query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnMandatoryListOfMandatoryEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
connectionWithoutParametersWithBindValues
public CharacterConnection connectionWithoutParametersWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the connectionWithoutParameters query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theconnectionWithoutParameters
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionWithoutParameters
public CharacterConnection connectionWithoutParameters(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the connectionWithoutParameters query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theconnectionWithoutParameters
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionWithoutParametersWithBindValues
public CharacterConnection connectionWithoutParametersWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetConnectionWithoutParametersGraphQLRequest(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:
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
-
connectionWithoutParameters
public CharacterConnection connectionWithoutParameters(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetConnectionWithoutParametersGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getConnectionWithoutParametersResponseBuilder
public Builder getConnectionWithoutParametersResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the CharacterConnection, as expected by the connectionWithoutParameters query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getConnectionWithoutParametersGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getConnectionWithoutParametersGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the connectionWithoutParameters EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
connectionOnHumanWithBindValues
public HumanConnection connectionOnHumanWithBindValues(String queryResponseDef, String planet, Episode episode, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the connectionOnHuman query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theconnectionOnHuman
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)planet
- Parameter for the connectionOnHuman field of MyQueryType, as defined in the GraphQL schemaepisode
- Parameter for the connectionOnHuman field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionOnHuman
public HumanConnection connectionOnHuman(String queryResponseDef, String planet, Episode episode, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the connectionOnHuman query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theconnectionOnHuman
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)planet
- Parameter for the connectionOnHuman field of MyQueryType, as defined in the GraphQL schemaepisode
- Parameter for the connectionOnHuman field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionOnHumanWithBindValues
public HumanConnection connectionOnHumanWithBindValues(ObjectResponse objectResponse, String planet, Episode episode, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetConnectionOnHumanGraphQLRequest(java.lang.String)
method.planet
- Parameter for the connectionOnHuman field of MyQueryType, as defined in the GraphQL schemaepisode
- Parameter for the connectionOnHuman field of MyQueryType, 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:
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
-
connectionOnHuman
public HumanConnection connectionOnHuman(ObjectResponse objectResponse, String planet, Episode episode, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetConnectionOnHumanGraphQLRequest(java.lang.String)
method.planet
- Parameter for the connectionOnHuman field of MyQueryType, as defined in the GraphQL schemaepisode
- Parameter for the connectionOnHuman field of MyQueryType, 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
-
getConnectionOnHumanResponseBuilder
Get theBuilder
for the HumanConnection, as expected by the connectionOnHuman query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getConnectionOnHumanGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getConnectionOnHumanGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the connectionOnHuman EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
checkOverriddenControllerWithBindValues
public String checkOverriddenControllerWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the checkOverriddenController query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thecheckOverriddenController
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
checkOverriddenController
public String checkOverriddenController(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the checkOverriddenController query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thecheckOverriddenController
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
checkOverriddenControllerWithBindValues
public String checkOverriddenControllerWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetCheckOverriddenControllerGraphQLRequest(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:
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
-
checkOverriddenController
public String checkOverriddenController(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetCheckOverriddenControllerGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getCheckOverriddenControllerResponseBuilder
public Builder getCheckOverriddenControllerResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the String, as expected by the checkOverriddenController query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCheckOverriddenControllerGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getCheckOverriddenControllerGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the checkOverriddenController EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
issue53WithBindValues
public Date issue53WithBindValues(String queryResponseDef, Date date, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
This method executes a partial query on the issue53 query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue53
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)date
- Parameter for the issue53 field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53
public Date issue53(String queryResponseDef, Date date, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
This method executes a partial query on the issue53 query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue53
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)date
- Parameter for the issue53 field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53WithBindValues
public Date issue53WithBindValues(ObjectResponse objectResponse, Date date, Map<String, Object> parameters) throws GraphQLRequestExecutionException
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue53GraphQLRequest(java.lang.String)
method.date
- Parameter for the issue53 field of MyQueryType, 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:
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
-
issue53
public Date issue53(ObjectResponse objectResponse, Date date, Object... paramsAndValues) throws GraphQLRequestExecutionException
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue53GraphQLRequest(java.lang.String)
method.date
- Parameter for the issue53 field of MyQueryType, 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
-
getIssue53ResponseBuilder
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
Get theBuilder
for the Date, as expected by the issue53 query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIssue53GraphQLRequest
public GraphQLRequestAllGraphQLCases2 getIssue53GraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
Get theGraphQLRequestAllGraphQLCases2
for the issue53 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
issue200WithBindValues
public Boolean issue200WithBindValues(String queryResponseDef, Boolean param, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the issue200 query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue200
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)param
- Parameter for the issue200 field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue200
public Boolean issue200(String queryResponseDef, Boolean param, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the issue200 query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue200
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)param
- Parameter for the issue200 field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue200WithBindValues
public Boolean issue200WithBindValues(ObjectResponse objectResponse, Boolean param, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue200GraphQLRequest(java.lang.String)
method.param
- Parameter for the issue200 field of MyQueryType, 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:
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
-
issue200
public Boolean issue200(ObjectResponse objectResponse, Boolean param, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue200GraphQLRequest(java.lang.String)
method.param
- Parameter for the issue200 field of MyQueryType, 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
-
getIssue200ResponseBuilder
Get theBuilder
for the Boolean, as expected by the issue200 query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIssue200GraphQLRequest
public GraphQLRequestAllGraphQLCases2 getIssue200GraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the issue200 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
issue82FloatWithBindValues
public Double issue82FloatWithBindValues(String queryResponseDef, Double aFloat, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
#issue82 is about hard coded values as parameters. Other types are tests with other queries,
but there was no method with a simple float parameter
This method executes a partial query on the issue82Float query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue82Float
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)aFloat
- Parameter for the issue82Float field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82Float
public Double issue82Float(String queryResponseDef, Double aFloat, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
#issue82 is about hard coded values as parameters. Other types are tests with other queries,
but there was no method with a simple float parameter
This method executes a partial query on the issue82Float query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue82Float
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)aFloat
- Parameter for the issue82Float field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82FloatWithBindValues
public Double issue82FloatWithBindValues(ObjectResponse objectResponse, Double aFloat, Map<String, Object> parameters) throws GraphQLRequestExecutionException
#issue82 is about hard coded values as parameters. Other types are tests with other queries,
but there was no method with a simple float parameter
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue82FloatGraphQLRequest(java.lang.String)
method.aFloat
- Parameter for the issue82Float field of MyQueryType, 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:
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
-
issue82Float
public Double issue82Float(ObjectResponse objectResponse, Double aFloat, Object... paramsAndValues) throws GraphQLRequestExecutionException
#issue82 is about hard coded values as parameters. Other types are tests with other queries,
but there was no method with a simple float parameter
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue82FloatGraphQLRequest(java.lang.String)
method.aFloat
- Parameter for the issue82Float field of MyQueryType, 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
-
getIssue82FloatResponseBuilder
#issue82 is about hard coded values as parameters. Other types are tests with other queries,
but there was no method with a simple float parameter
Get theBuilder
for the Double, as expected by the issue82Float query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIssue82FloatGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getIssue82FloatGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
#issue82 is about hard coded values as parameters. Other types are tests with other queries,
but there was no method with a simple float parameter
Get theGraphQLRequestAllGraphQLCases2
for the issue82Float EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
issue82IDWithBindValues
public String issue82IDWithBindValues(String queryResponseDef, String aID, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the issue82ID query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue82ID
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)aID
- Parameter for the issue82ID field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82ID
public String issue82ID(String queryResponseDef, String aID, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the issue82ID query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue82ID
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)aID
- Parameter for the issue82ID field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82IDWithBindValues
public String issue82IDWithBindValues(ObjectResponse objectResponse, String aID, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue82IDGraphQLRequest(java.lang.String)
method.aID
- Parameter for the issue82ID field of MyQueryType, 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:
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
-
issue82ID
public String issue82ID(ObjectResponse objectResponse, String aID, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue82IDGraphQLRequest(java.lang.String)
method.aID
- Parameter for the issue82ID field of MyQueryType, 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
-
getIssue82IDResponseBuilder
Get theBuilder
for the String, as expected by the issue82ID query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIssue82IDGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getIssue82IDGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the issue82ID EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
issue128WithBindValues
public Client issue128WithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptiontest for issue #128 (compilation error when a Query returns a type 'Client')
This method executes a partial query on the issue128 query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue128
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue128
public Client issue128(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException test for issue #128 (compilation error when a Query returns a type 'Client')
This method executes a partial query on the issue128 query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theissue128
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue128WithBindValues
public Client issue128WithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptiontest for issue #128 (compilation error when a Query returns a type 'Client')
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue128GraphQLRequest(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:
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
-
issue128
public Client issue128(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException test for issue #128 (compilation error when a Query returns a type 'Client')
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIssue128GraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue128ResponseBuilder
test for issue #128 (compilation error when a Query returns a type 'Client')
Get theBuilder
for the Client, as expected by the issue128 query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIssue128GraphQLRequest
public GraphQLRequestAllGraphQLCases2 getIssue128GraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException test for issue #128 (compilation error when a Query returns a type 'Client')
Get theGraphQLRequestAllGraphQLCases2
for the issue128 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
enumWithReservedJavaKeywordAsValuesWithBindValues
public EnumWithReservedJavaKeywordAsValues enumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptiontest for issue #139 (use of java reserved keyword)
This method executes a partial query on the enumWithReservedJavaKeywordAsValues query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theenumWithReservedJavaKeywordAsValues
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValues
public EnumWithReservedJavaKeywordAsValues enumWithReservedJavaKeywordAsValues(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
This method executes a partial query on the enumWithReservedJavaKeywordAsValues query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theenumWithReservedJavaKeywordAsValues
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValuesWithBindValues
public EnumWithReservedJavaKeywordAsValues enumWithReservedJavaKeywordAsValuesWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptiontest for issue #139 (use of java reserved keyword)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetEnumWithReservedJavaKeywordAsValuesGraphQLRequest(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:
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
-
enumWithReservedJavaKeywordAsValues
public EnumWithReservedJavaKeywordAsValues enumWithReservedJavaKeywordAsValues(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException test for issue #139 (use of java reserved keyword)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getEnumWithReservedJavaKeywordAsValuesResponseBuilder
public Builder getEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws GraphQLRequestPreparationExceptiontest for issue #139 (use of java reserved keyword)
Get theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the enumWithReservedJavaKeywordAsValues query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getEnumWithReservedJavaKeywordAsValuesGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
Get theGraphQLRequestAllGraphQLCases2
for the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, EnumWithReservedJavaKeywordAsValues param1, List<EnumWithReservedJavaKeywordAsValues> param2, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the listOfEnumWithReservedJavaKeywordAsValues query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thelistOfEnumWithReservedJavaKeywordAsValues
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)param1
- Parameter for the listOfEnumWithReservedJavaKeywordAsValues field of MyQueryType, as defined in the GraphQL schemaparam2
- Parameter for the listOfEnumWithReservedJavaKeywordAsValues field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValues
public List<EnumWithReservedJavaKeywordAsValues> listOfEnumWithReservedJavaKeywordAsValues(String queryResponseDef, EnumWithReservedJavaKeywordAsValues param1, List<EnumWithReservedJavaKeywordAsValues> param2, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the listOfEnumWithReservedJavaKeywordAsValues query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thelistOfEnumWithReservedJavaKeywordAsValues
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)param1
- Parameter for the listOfEnumWithReservedJavaKeywordAsValues field of MyQueryType, as defined in the GraphQL schemaparam2
- Parameter for the listOfEnumWithReservedJavaKeywordAsValues field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
public List<EnumWithReservedJavaKeywordAsValues> listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(ObjectResponse objectResponse, EnumWithReservedJavaKeywordAsValues param1, List<EnumWithReservedJavaKeywordAsValues> param2, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)
method.param1
- Parameter for the listOfEnumWithReservedJavaKeywordAsValues field of MyQueryType, as defined in the GraphQL schemaparam2
- Parameter for the listOfEnumWithReservedJavaKeywordAsValues field of MyQueryType, 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:
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
-
listOfEnumWithReservedJavaKeywordAsValues
public List<EnumWithReservedJavaKeywordAsValues> listOfEnumWithReservedJavaKeywordAsValues(ObjectResponse objectResponse, EnumWithReservedJavaKeywordAsValues param1, List<EnumWithReservedJavaKeywordAsValues> param2, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)
method.param1
- Parameter for the listOfEnumWithReservedJavaKeywordAsValues field of MyQueryType, as defined in the GraphQL schemaparam2
- Parameter for the listOfEnumWithReservedJavaKeywordAsValues field of MyQueryType, 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
-
getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder
public Builder getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the EnumWithReservedJavaKeywordAsValues, as expected by the listOfEnumWithReservedJavaKeywordAsValues query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
reservedJavaKeywordAllFieldCasesWithBindValues
public ReservedJavaKeywordAllFieldCases reservedJavaKeywordAllFieldCasesWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the reservedJavaKeywordAllFieldCases query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereservedJavaKeywordAllFieldCases
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
reservedJavaKeywordAllFieldCases
public ReservedJavaKeywordAllFieldCases reservedJavaKeywordAllFieldCases(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the reservedJavaKeywordAllFieldCases query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thereservedJavaKeywordAllFieldCases
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
reservedJavaKeywordAllFieldCasesWithBindValues
public ReservedJavaKeywordAllFieldCases reservedJavaKeywordAllFieldCasesWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReservedJavaKeywordAllFieldCasesGraphQLRequest(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:
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
-
reservedJavaKeywordAllFieldCases
public ReservedJavaKeywordAllFieldCases reservedJavaKeywordAllFieldCases(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReservedJavaKeywordAllFieldCasesGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReservedJavaKeywordAllFieldCasesResponseBuilder
public Builder getReservedJavaKeywordAllFieldCasesResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the ReservedJavaKeywordAllFieldCases, as expected by the reservedJavaKeywordAllFieldCases query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReservedJavaKeywordAllFieldCasesGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReservedJavaKeywordAllFieldCasesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the reservedJavaKeywordAllFieldCases EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_ifWithBindValues
public String _ifWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _if query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_if
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as if is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public String _if(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _if query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_if
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as if is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_ifWithBindValues
public String _ifWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as if is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIfGraphQLRequest(java.lang.String)
method.parameters
- The list of values, for the bind variables 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:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public String _if(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as if is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIfGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIfResponseBuilder
Get theBuilder
for the String, as expected by the if query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIfGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getIfGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the if EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_implementsWithBindValues
public String _implementsWithBindValues(String queryResponseDef, String _if, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionTest for PR 177 (on server side, the returned value is the content of the if input parameter)
This method executes a partial query on the _implements query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_implements
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as implements is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)if
- Parameter for the implements field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public String _implements(String queryResponseDef, String _if, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Test for PR 177 (on server side, the returned value is the content of the if input parameter)
This method executes a partial query on the _implements query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_implements
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as implements is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)if
- Parameter for the implements field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implementsWithBindValues
public String _implementsWithBindValues(ObjectResponse objectResponse, String _if, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionTest for PR 177 (on server side, the returned value is the content of the if input parameter)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as implements is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetImplementsGraphQLRequest(java.lang.String)
method.if
- Parameter for the implements field of MyQueryType, 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:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public String _implements(ObjectResponse objectResponse, String _if, Object... paramsAndValues) throws GraphQLRequestExecutionException Test for PR 177 (on server side, the returned value is the content of the if input parameter)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as implements is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetImplementsGraphQLRequest(java.lang.String)
method.if
- Parameter for the implements field of MyQueryType, 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
-
getImplementsResponseBuilder
Test for PR 177 (on server side, the returned value is the content of the if input parameter)
Get theBuilder
for the String, as expected by the implements query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getImplementsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getImplementsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Test for PR 177 (on server side, the returned value is the content of the if input parameter)
Get theGraphQLRequestAllGraphQLCases2
for the implements EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_importWithBindValues
public String _importWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _import query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_import
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as import is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_import
public String _import(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _import query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_import
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as import is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_importWithBindValues
public String _importWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as import is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetImportGraphQLRequest(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:
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
-
_import
public String _import(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as import is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetImportGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getImportResponseBuilder
Get theBuilder
for the String, as expected by the import query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getImportGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getImportGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the import EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_instanceofWithBindValues
public String _instanceofWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _instanceof query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_instanceof
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as instanceof is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_instanceof
public String _instanceof(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _instanceof query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_instanceof
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as instanceof is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_instanceofWithBindValues
public String _instanceofWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as instanceof is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetInstanceofGraphQLRequest(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:
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
-
_instanceof
public String _instanceof(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as instanceof is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetInstanceofGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getInstanceofResponseBuilder
Get theBuilder
for the String, as expected by the instanceof query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getInstanceofGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getInstanceofGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the instanceof EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_intWithBindValues
public String _intWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _int query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_int
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as int is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_int
public String _int(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _int query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_int
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as int is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_intWithBindValues
public String _intWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as int is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIntGraphQLRequest(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:
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
-
_int
public String _int(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as int is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetIntGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIntResponseBuilder
Get theBuilder
for the String, as expected by the int query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIntGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getIntGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the int EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_interfaceWithBindValues
public String _interfaceWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _interface query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_interface
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as interface is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_interface
public String _interface(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _interface query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_interface
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as interface is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_interfaceWithBindValues
public String _interfaceWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as interface is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetInterfaceGraphQLRequest(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:
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
-
_interface
public String _interface(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as interface is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetInterfaceGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getInterfaceResponseBuilder
Get theBuilder
for the String, as expected by the interface query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getInterfaceGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getInterfaceGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the interface EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_longWithBindValues
public String _longWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _long query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_long
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as long is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_long
public String _long(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _long query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_long
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as long is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_longWithBindValues
public String _longWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as long is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetLongGraphQLRequest(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:
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
-
_long
public String _long(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as long is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetLongGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getLongResponseBuilder
Get theBuilder
for the String, as expected by the long query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getLongGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getLongGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the long EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_nativeWithBindValues
public String _nativeWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _native query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_native
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as native is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_native
public String _native(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _native query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_native
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as native is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_nativeWithBindValues
public String _nativeWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as native is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetNativeGraphQLRequest(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:
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
-
_native
public String _native(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as native is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetNativeGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getNativeResponseBuilder
Get theBuilder
for the String, as expected by the native query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getNativeGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getNativeGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the native EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_newWithBindValues
public String _newWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _new query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_new
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as new is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_new
public String _new(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _new query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_new
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as new is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_newWithBindValues
public String _newWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as new is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetNewGraphQLRequest(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:
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
-
_new
public String _new(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as new is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetNewGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getNewResponseBuilder
Get theBuilder
for the String, as expected by the new query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getNewGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getNewGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the new EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_nullWithBindValues
public String _nullWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionIssue #188: null is not identified as a java keyword
This method executes a partial query on the _null query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_null
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as null is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_null
public String _null(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Issue #188: null is not identified as a java keyword
This method executes a partial query on the _null query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_null
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as null is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_nullWithBindValues
public String _nullWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionIssue #188: null is not identified as a java keyword
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as null is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetNullGraphQLRequest(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:
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
-
_null
public String _null(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Issue #188: null is not identified as a java keyword
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as null is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetNullGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getNullResponseBuilder
Issue #188: null is not identified as a java keyword
Get theBuilder
for the String, as expected by the null query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getNullGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getNullGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Issue #188: null is not identified as a java keyword
Get theGraphQLRequestAllGraphQLCases2
for the null EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_packageWithBindValues
public String _packageWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _package query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_package
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as package is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_package
public String _package(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _package query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_package
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as package is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_packageWithBindValues
public String _packageWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as package is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetPackageGraphQLRequest(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:
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
-
_package
public String _package(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as package is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetPackageGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getPackageResponseBuilder
Get theBuilder
for the String, as expected by the package query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getPackageGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getPackageGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the package EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_privateWithBindValues
public String _privateWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _private query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_private
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as private is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_private
public String _private(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _private query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_private
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as private is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_privateWithBindValues
public String _privateWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as private is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetPrivateGraphQLRequest(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:
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
-
_private
public String _private(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as private is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetPrivateGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getPrivateResponseBuilder
Get theBuilder
for the String, as expected by the private query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getPrivateGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getPrivateGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the private EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_protectedWithBindValues
public String _protectedWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _protected query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_protected
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as protected is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_protected
public String _protected(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _protected query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_protected
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as protected is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_protectedWithBindValues
public String _protectedWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as protected is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetProtectedGraphQLRequest(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:
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
-
_protected
public String _protected(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as protected is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetProtectedGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getProtectedResponseBuilder
Get theBuilder
for the String, as expected by the protected query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getProtectedGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getProtectedGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the protected EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_publicWithBindValues
public String _publicWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _public query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_public
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as public is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_public
public String _public(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _public query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_public
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as public is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_publicWithBindValues
public String _publicWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as public is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetPublicGraphQLRequest(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:
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
-
_public
public String _public(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as public is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetPublicGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getPublicResponseBuilder
Get theBuilder
for the String, as expected by the public query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getPublicGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getPublicGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the public EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_returnWithBindValues
public String _returnWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _return query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_return
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as return is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_return
public String _return(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _return query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_return
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as return is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_returnWithBindValues
public String _returnWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as return is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnGraphQLRequest(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:
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
-
_return
public String _return(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as return is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetReturnGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnResponseBuilder
Get theBuilder
for the String, as expected by the return query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getReturnGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the return EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_shortWithBindValues
public String _shortWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _short query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_short
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as short is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_short
public String _short(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _short query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_short
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as short is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_shortWithBindValues
public String _shortWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as short is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetShortGraphQLRequest(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:
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
-
_short
public String _short(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as short is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetShortGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getShortResponseBuilder
Get theBuilder
for the String, as expected by the short query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getShortGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getShortGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the short EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_staticWithBindValues
public String _staticWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _static query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_static
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as static is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_static
public String _static(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _static query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_static
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as static is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_staticWithBindValues
public String _staticWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as static is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetStaticGraphQLRequest(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:
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
-
_static
public String _static(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as static is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetStaticGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getStaticResponseBuilder
Get theBuilder
for the String, as expected by the static query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getStaticGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getStaticGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the static EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_strictfpWithBindValues
public String _strictfpWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _strictfp query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_strictfp
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as strictfp is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_strictfp
public String _strictfp(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _strictfp query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_strictfp
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as strictfp is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_strictfpWithBindValues
public String _strictfpWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as strictfp is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetStrictfpGraphQLRequest(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:
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
-
_strictfp
public String _strictfp(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as strictfp is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetStrictfpGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getStrictfpResponseBuilder
Get theBuilder
for the String, as expected by the strictfp query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getStrictfpGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getStrictfpGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the strictfp EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_superWithBindValues
public String _superWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _super query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_super
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as super is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_super
public String _super(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _super query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_super
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as super is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_superWithBindValues
public String _superWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as super is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetSuperGraphQLRequest(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:
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
-
_super
public String _super(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as super is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetSuperGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSuperResponseBuilder
Get theBuilder
for the String, as expected by the super query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getSuperGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getSuperGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the super EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_switchWithBindValues
public String _switchWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _switch query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_switch
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as switch is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_switch
public String _switch(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _switch query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_switch
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as switch is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_switchWithBindValues
public String _switchWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as switch is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetSwitchGraphQLRequest(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:
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
-
_switch
public String _switch(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as switch is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetSwitchGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSwitchResponseBuilder
Get theBuilder
for the String, as expected by the switch query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getSwitchGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getSwitchGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the switch EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_synchronizedWithBindValues
public String _synchronizedWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _synchronized query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_synchronized
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as synchronized is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_synchronized
public String _synchronized(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _synchronized query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_synchronized
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as synchronized is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_synchronizedWithBindValues
public String _synchronizedWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as synchronized is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetSynchronizedGraphQLRequest(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:
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
-
_synchronized
public String _synchronized(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as synchronized is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetSynchronizedGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSynchronizedResponseBuilder
Get theBuilder
for the String, as expected by the synchronized query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getSynchronizedGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getSynchronizedGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the synchronized EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_thisWithBindValues
public String _thisWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _this query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_this
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as this is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_this
public String _this(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _this query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_this
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as this is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_thisWithBindValues
public String _thisWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as this is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetThisGraphQLRequest(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:
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
-
_this
public String _this(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as this is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetThisGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getThisResponseBuilder
Get theBuilder
for the String, as expected by the this query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getThisGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getThisGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the this EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_throwWithBindValues
public String _throwWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _throw query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_throw
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as throw is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throw
public String _throw(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _throw query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_throw
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as throw is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throwWithBindValues
public String _throwWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as throw is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetThrowGraphQLRequest(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:
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
-
_throw
public String _throw(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as throw is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetThrowGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getThrowResponseBuilder
Get theBuilder
for the String, as expected by the throw query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getThrowGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getThrowGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the throw EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_throwsWithBindValues
public String _throwsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _throws query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_throws
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as throws is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throws
public String _throws(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _throws query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_throws
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as throws is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throwsWithBindValues
public String _throwsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as throws is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetThrowsGraphQLRequest(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:
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
-
_throws
public String _throws(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as throws is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetThrowsGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getThrowsResponseBuilder
Get theBuilder
for the String, as expected by the throws query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getThrowsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getThrowsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the throws EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_transientWithBindValues
public String _transientWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _transient query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_transient
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as transient is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_transient
public String _transient(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _transient query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_transient
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as transient is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_transientWithBindValues
public String _transientWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as transient is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetTransientGraphQLRequest(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:
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
-
_transient
public String _transient(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as transient is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetTransientGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getTransientResponseBuilder
Get theBuilder
for the String, as expected by the transient query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getTransientGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getTransientGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the transient EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_tryWithBindValues
public String _tryWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _try query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_try
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as try is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_try
public String _try(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _try query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_try
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as try is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_tryWithBindValues
public String _tryWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as try is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetTryGraphQLRequest(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:
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
-
_try
public String _try(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as try is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetTryGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getTryResponseBuilder
Get theBuilder
for the String, as expected by the try query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getTryGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getTryGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the try EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_voidWithBindValues
public String _voidWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _void query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_void
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as void is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_void
public String _void(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _void query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_void
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as void is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_voidWithBindValues
public String _voidWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as void is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetVoidGraphQLRequest(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:
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
-
_void
public String _void(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as void is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetVoidGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getVoidResponseBuilder
Get theBuilder
for the String, as expected by the void query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getVoidGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getVoidGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the void EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_volatileWithBindValues
public String _volatileWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _volatile query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_volatile
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as volatile is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_volatile
public String _volatile(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _volatile query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_volatile
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as volatile is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_volatileWithBindValues
public String _volatileWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as volatile is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetVolatileGraphQLRequest(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:
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
-
_volatile
public String _volatile(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as volatile is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetVolatileGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getVolatileResponseBuilder
Get theBuilder
for the String, as expected by the volatile query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getVolatileGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getVolatileGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the volatile EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_whileWithBindValues
public String _whileWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the _while query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_while
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as while is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_while
public String _while(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the _while query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the_while
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
This method name is prefixed by ${underscore}, as while is a java reserved keyword.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_whileWithBindValues
public String _whileWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as while is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWhileGraphQLRequest(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:
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
-
_while
public String _while(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
This method name is prefixed by ${underscore}, as while is a java reserved keyword. Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetWhileGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWhileResponseBuilder
Get theBuilder
for the String, as expected by the while query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getWhileGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getWhileGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the while EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
foo140WithBindValues
public Foo140 foo140WithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptiontest for issue #140 (error for type that implements multiple interfaces)
This method executes a partial query on the foo140 query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thefoo140
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
foo140
public Foo140 foo140(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException test for issue #140 (error for type that implements multiple interfaces)
This method executes a partial query on the foo140 query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thefoo140
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
foo140WithBindValues
public Foo140 foo140WithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptiontest for issue #140 (error for type that implements multiple interfaces)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetFoo140GraphQLRequest(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:
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
-
foo140
public Foo140 foo140(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException test for issue #140 (error for type that implements multiple interfaces)
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetFoo140GraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getFoo140ResponseBuilder
test for issue #140 (error for type that implements multiple interfaces)
Get theBuilder
for the Foo140, as expected by the foo140 query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getFoo140GraphQLRequest
public GraphQLRequestAllGraphQLCases2 getFoo140GraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException test for issue #140 (error for type that implements multiple interfaces)
Get theGraphQLRequestAllGraphQLCases2
for the foo140 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
testBase64StringWithBindValues
public byte[] testBase64StringWithBindValues(String queryResponseDef, byte[] input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionTest for issue #174: a custom scalar which Java type is an array
This method executes a partial query on the testBase64String query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thetestBase64String
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the testBase64String field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
testBase64String
public byte[] testBase64String(String queryResponseDef, byte[] input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Test for issue #174: a custom scalar which Java type is an array
This method executes a partial query on the testBase64String query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thetestBase64String
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the testBase64String field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
testBase64StringWithBindValues
public byte[] testBase64StringWithBindValues(ObjectResponse objectResponse, byte[] input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionTest for issue #174: a custom scalar which Java type is an array
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetTestBase64StringGraphQLRequest(java.lang.String)
method.input
- Parameter for the testBase64String field of MyQueryType, 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:
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
-
testBase64String
public byte[] testBase64String(ObjectResponse objectResponse, byte[] input, Object... paramsAndValues) throws GraphQLRequestExecutionException Test for issue #174: a custom scalar which Java type is an array
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetTestBase64StringGraphQLRequest(java.lang.String)
method.input
- Parameter for the testBase64String field of MyQueryType, 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
-
getTestBase64StringResponseBuilder
Test for issue #174: a custom scalar which Java type is an array
Get theBuilder
for the byte, as expected by the testBase64String query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getTestBase64StringGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getTestBase64StringGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Test for issue #174: a custom scalar which Java type is an array
Get theGraphQLRequestAllGraphQLCases2
for the testBase64String EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
jsonWithBindValues
public com.fasterxml.jackson.databind.node.ObjectNode jsonWithBindValues(String queryResponseDef, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionTest of JSON scalar, for issue #205
This method executes a partial query on the json query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thejson
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)json
- Parameter for the json field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
json
public com.fasterxml.jackson.databind.node.ObjectNode json(String queryResponseDef, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Test of JSON scalar, for issue #205
This method executes a partial query on the json query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thejson
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)json
- Parameter for the json field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithBindValues
public com.fasterxml.jackson.databind.node.ObjectNode jsonWithBindValues(ObjectResponse objectResponse, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionTest of JSON scalar, for issue #205
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetJsonGraphQLRequest(java.lang.String)
method.json
- Parameter for the json field of MyQueryType, 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:
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
-
json
public com.fasterxml.jackson.databind.node.ObjectNode json(ObjectResponse objectResponse, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws GraphQLRequestExecutionException Test of JSON scalar, for issue #205
This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetJsonGraphQLRequest(java.lang.String)
method.json
- Parameter for the json field of MyQueryType, 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
-
getJsonResponseBuilder
Test of JSON scalar, for issue #205
Get theBuilder
for the ObjectNode, as expected by the json query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getJsonGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getJsonGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Test of JSON scalar, for issue #205
Get theGraphQLRequestAllGraphQLCases2
for the json EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
jsonsWithBindValues
public List<com.fasterxml.jackson.databind.node.ObjectNode> jsonsWithBindValues(String queryResponseDef, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the jsons query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thejsons
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)jsons
- Parameter for the jsons field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsons
public List<com.fasterxml.jackson.databind.node.ObjectNode> jsons(String queryResponseDef, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the jsons query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thejsons
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)jsons
- Parameter for the jsons field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithBindValues
public List<com.fasterxml.jackson.databind.node.ObjectNode> jsonsWithBindValues(ObjectResponse objectResponse, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetJsonsGraphQLRequest(java.lang.String)
method.jsons
- Parameter for the jsons field of MyQueryType, 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:
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
-
jsons
public List<com.fasterxml.jackson.databind.node.ObjectNode> jsons(ObjectResponse objectResponse, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetJsonsGraphQLRequest(java.lang.String)
method.jsons
- Parameter for the jsons field of MyQueryType, 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
-
getJsonsResponseBuilder
Get theBuilder
for the ObjectNode, as expected by the jsons query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getJsonsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getJsonsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the jsons EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
jsonWithInputWithBindValues
public TypeWithJson jsonWithInputWithBindValues(String queryResponseDef, InputWithJson input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the jsonWithInput query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thejsonWithInput
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the jsonWithInput field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithInput
public TypeWithJson jsonWithInput(String queryResponseDef, InputWithJson input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the jsonWithInput query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thejsonWithInput
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the jsonWithInput field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithInputWithBindValues
public TypeWithJson jsonWithInputWithBindValues(ObjectResponse objectResponse, InputWithJson input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetJsonWithInputGraphQLRequest(java.lang.String)
method.input
- Parameter for the jsonWithInput field of MyQueryType, 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:
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
-
jsonWithInput
public TypeWithJson jsonWithInput(ObjectResponse objectResponse, InputWithJson input, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetJsonWithInputGraphQLRequest(java.lang.String)
method.input
- Parameter for the jsonWithInput field of MyQueryType, 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
-
getJsonWithInputResponseBuilder
Get theBuilder
for the TypeWithJson, as expected by the jsonWithInput query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getJsonWithInputGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getJsonWithInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the jsonWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
jsonsWithInputWithBindValues
public List<TypeWithJson> jsonsWithInputWithBindValues(String queryResponseDef, List<InputWithJson> input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the jsonsWithInput query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thejsonsWithInput
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the jsonsWithInput field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInput
public List<TypeWithJson> jsonsWithInput(String queryResponseDef, List<InputWithJson> input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the jsonsWithInput query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of thejsonsWithInput
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the jsonsWithInput field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInputWithBindValues
public List<TypeWithJson> jsonsWithInputWithBindValues(ObjectResponse objectResponse, List<InputWithJson> input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetJsonsWithInputGraphQLRequest(java.lang.String)
method.input
- Parameter for the jsonsWithInput field of MyQueryType, 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:
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
-
jsonsWithInput
public List<TypeWithJson> jsonsWithInput(ObjectResponse objectResponse, List<InputWithJson> input, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetJsonsWithInputGraphQLRequest(java.lang.String)
method.input
- Parameter for the jsonsWithInput field of MyQueryType, 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
-
getJsonsWithInputResponseBuilder
Get theBuilder
for the TypeWithJson, as expected by the jsonsWithInput query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getJsonsWithInputGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getJsonsWithInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the jsonsWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
objectWithBindValues
public Object objectWithBindValues(String queryResponseDef, Object object, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the object query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theobject
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)object
- Parameter for the object field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
object
public Object object(String queryResponseDef, Object object, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the object query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theobject
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)object
- Parameter for the object field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectWithBindValues
public Object objectWithBindValues(ObjectResponse objectResponse, Object object, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetObjectGraphQLRequest(java.lang.String)
method.object
- Parameter for the object field of MyQueryType, 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:
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
-
object
public Object object(ObjectResponse objectResponse, Object object, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetObjectGraphQLRequest(java.lang.String)
method.object
- Parameter for the object field of MyQueryType, 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
-
getObjectResponseBuilder
Get theBuilder
for the Object, as expected by the object query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getObjectGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getObjectGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the object EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
objectsWithBindValues
public List<Object> objectsWithBindValues(String queryResponseDef, List<Object> objects, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the objects query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theobjects
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)objects
- Parameter for the objects field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objects
public List<Object> objects(String queryResponseDef, List<Object> objects, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the objects query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theobjects
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)objects
- Parameter for the objects field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithBindValues
public List<Object> objectsWithBindValues(ObjectResponse objectResponse, List<Object> objects, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetObjectsGraphQLRequest(java.lang.String)
method.objects
- Parameter for the objects field of MyQueryType, 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:
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
-
objects
public List<Object> objects(ObjectResponse objectResponse, List<Object> objects, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetObjectsGraphQLRequest(java.lang.String)
method.objects
- Parameter for the objects field of MyQueryType, 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
-
getObjectsResponseBuilder
Get theBuilder
for the Object, as expected by the objects query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getObjectsGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getObjectsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the objects EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
objectWithInputWithBindValues
public TypeWithObject objectWithInputWithBindValues(String queryResponseDef, InputWithObject input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the objectWithInput query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theobjectWithInput
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the objectWithInput field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectWithInput
public TypeWithObject objectWithInput(String queryResponseDef, InputWithObject input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the objectWithInput query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theobjectWithInput
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the objectWithInput field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectWithInputWithBindValues
public TypeWithObject objectWithInputWithBindValues(ObjectResponse objectResponse, InputWithObject input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetObjectWithInputGraphQLRequest(java.lang.String)
method.input
- Parameter for the objectWithInput field of MyQueryType, 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:
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
-
objectWithInput
public TypeWithObject objectWithInput(ObjectResponse objectResponse, InputWithObject input, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetObjectWithInputGraphQLRequest(java.lang.String)
method.input
- Parameter for the objectWithInput field of MyQueryType, 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
-
getObjectWithInputResponseBuilder
Get theBuilder
for the TypeWithObject, as expected by the objectWithInput query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getObjectWithInputGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getObjectWithInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the objectWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
objectsWithInputWithBindValues
public List<TypeWithObject> objectsWithInputWithBindValues(String queryResponseDef, List<InputWithObject> input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the objectsWithInput query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theobjectsWithInput
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the objectsWithInput field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInput
public List<TypeWithObject> objectsWithInput(String queryResponseDef, List<InputWithObject> input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the objectsWithInput query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of theobjectsWithInput
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)input
- Parameter for the objectsWithInput field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInputWithBindValues
public List<TypeWithObject> objectsWithInputWithBindValues(ObjectResponse objectResponse, List<InputWithObject> input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetObjectsWithInputGraphQLRequest(java.lang.String)
method.input
- Parameter for the objectsWithInput field of MyQueryType, 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:
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
-
objectsWithInput
public List<TypeWithObject> objectsWithInput(ObjectResponse objectResponse, List<InputWithObject> input, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetObjectsWithInputGraphQLRequest(java.lang.String)
method.input
- Parameter for the objectsWithInput field of MyQueryType, 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
-
getObjectsWithInputResponseBuilder
Get theBuilder
for the TypeWithObject, as expected by the objectsWithInput query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getObjectsWithInputGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getObjectsWithInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the objectsWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
relayWithBindValues
public MyQueryType relayWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the relay query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of therelay
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
relay
public MyQueryType relay(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the relay query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of therelay
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
relayWithBindValues
public MyQueryType relayWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetRelayGraphQLRequest(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:
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
-
relay
public MyQueryType relay(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by thegetRelayGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getRelayResponseBuilder
Get theBuilder
for the MyQueryType, as expected by the relay query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getRelayGraphQLRequest
public GraphQLRequestAllGraphQLCases2 getRelayGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the relay EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__schemaWithBindValues
public __Schema __schemaWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the __schema query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the__schema
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__schema
public __Schema __schema(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the __schema query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the__schema
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__schemaWithBindValues
public __Schema __schemaWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by theget__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:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__schema
public __Schema __schema(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by theget__schemaGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
get__schemaResponseBuilder
Get theBuilder
for the __Schema, as expected by the __schema query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__schemaGraphQLRequest
public GraphQLRequestAllGraphQLCases2 get__schemaGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the __schema EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__typeWithBindValues
public __Type __typeWithBindValues(String queryResponseDef, String name, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the __type query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the__type
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)name
- Parameter for the __type field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__type
public __Type __type(String queryResponseDef, String name, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the __type query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the__type
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)name
- Parameter for the __type field of MyQueryType, 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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typeWithBindValues
public __Type __typeWithBindValues(ObjectResponse objectResponse, String name, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by theget__typeGraphQLRequest(java.lang.String)
method.name
- Parameter for the __type field of MyQueryType, 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:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__type
public __Type __type(ObjectResponse objectResponse, String name, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by theget__typeGraphQLRequest(java.lang.String)
method.name
- Parameter for the __type field of MyQueryType, 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
Get theBuilder
for the __Type, as expected by the __type query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typeGraphQLRequest
public GraphQLRequestAllGraphQLCases2 get__typeGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the __type EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__typenameWithBindValues
public String __typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method executes a partial query on the __typename query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the__typename
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typename
public String __typename(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method executes a partial query on the __typename query against the GraphQL server. That is, the query is one of the field of the MyQueryType type defined in the GraphQL schema. The queryResponseDef contains the part of the query that follows the field name.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method takes care of writing the query name, and the parameter(s) for the query. The given queryResponseDef describes the format of the response of the server response, that is the expected fields of the__typename
of the MyQueryType query type. It can be something like "{ id name }", or "" for a scalar. Please take a look at the StarWars, Forum and other samples for more complex queries.
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)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:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typenameWithBindValues
public String __typenameWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by theget__typenameGraphQLRequest(java.lang.String)
method.parameters
- The list of values, for the bind variables 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:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typename
public String __typename(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException This method is expected by the graphql-java framework. It will be called when this query is called. It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
This method is valid for queries/mutations/subscriptions which don't have bind variables, as there is no parameters argument to pass the list of values.
Here is a sample:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases2 POJO, as returned by theget__typenameGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
get__typenameResponseBuilder
Get theBuilder
for the String, as expected by the __typename query.- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typenameGraphQLRequest
public GraphQLRequestAllGraphQLCases2 get__typenameGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases2
for the __typename EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-