Class MyQueryTypeExecutorMySchema
java.lang.Object
org.junittest.allgraphqlcases_client_springconfiguration.MyQueryTypeExecutorMySchema
- All Implemented Interfaces:
GraphQLQueryExecutor
- Direct Known Subclasses:
CTP_MyQueryType_CTS
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
Constructors -
Method Summary
Modifier and TypeMethodDescription__schema(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_AllFieldCasesInput_CINS input, Object... paramsAndValues)
################################################################################
# Complementary tests with the AllFieldCases Object
This method is expected by the graphql-java framework.allFieldCases(String queryResponseDef, CINP_AllFieldCasesInput_CINS input, Object... paramsAndValues)
################################################################################
# Complementary tests with the AllFieldCases Object
This method executes a partial query on the allFieldCases query against the GraphQL server.allFieldCasesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_AllFieldCasesInput_CINS input, Map<String, Object> parameters)
################################################################################
# Complementary tests with the AllFieldCases Object
This method is expected by the graphql-java framework.allFieldCasesWithBindValues(String queryResponseDef, CINP_AllFieldCasesInput_CINS 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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String planet, CEP_Episode_CES episode, Object... paramsAndValues) This method is expected by the graphql-java framework.connectionOnHuman(String queryResponseDef, String planet, CEP_Episode_CES episode, Object... paramsAndValues) This method executes a partial query on the connectionOnHuman query against the GraphQL server.connectionOnHumanWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String planet, CEP_Episode_CES episode, Map<String, Object> parameters) This method is expected by the graphql-java framework.connectionOnHumanWithBindValues(String queryResponseDef, String planet, CEP_Episode_CES episode, Map<String, Object> parameters) This method executes a partial query on the connectionOnHuman query against the GraphQL server.connectionWithoutParameters(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String errorLabel, Object... paramsAndValues)
################################################################################
# error always returns an error!
################################################################################
# error always returns an error!errorWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String errorLabel, Map<String, Object> parameters)
################################################################################
# error always returns an error!
################################################################################
# error always returns an error!exec(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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 theGraphQLRequestMySchemafor the __schema EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP___Schema_CTS, as expected by the __schema query.get__typeGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the __type EXECUTOR, created with the given Partial request.get__typenameGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the __typename EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the __typename query.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP___Type_CTS, as expected by the __type query.getABreakGraphQLRequest(String partialRequest) Check for GraphQL identifier that are java keywords
Get theGraphQLRequestMySchemafor the aBreak EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderCheck for GraphQL identifier that are java keywords
Get theBuilderfor the CTP_break_CTS, as expected by the aBreak query.getAllFieldCasesGraphQLRequest(String partialRequest)
################################################################################
# Complementary tests with the AllFieldCases Object
Get theGraphQLRequestMySchemafor the allFieldCases EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Builder
################################################################################
# Complementary tests with the AllFieldCases Object
Get theBuilderfor the CTP_AllFieldCases_CTS, as expected by the allFieldCases query.getCheckOverriddenControllerGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the checkOverriddenController EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the checkOverriddenController query.getConnectionOnHumanGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the connectionOnHuman EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_Human_CTS, as expected by the connectionOnHuman query.getConnectionWithoutParametersGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the connectionWithoutParameters EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CIP_Character_CIS, as expected by the connectionWithoutParameters query.getDirectiveOnFieldGraphQLRequest(String partialRequest)
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuery.com.graphql_java_generator.client.request.Builder
# 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.com.graphql_java_generator.client.request.Builder
# 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 theGraphQLRequestMySchemafor the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Buildertest for issue #139 (use of java reserved keyword)
Get theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the enumWithReservedJavaKeywordAsValues query.getErrorGraphQLRequest(String partialRequest)
################################################################################
# error always returns an error!com.graphql_java_generator.client.request.Builder
################################################################################
# error always returns an error!getFoo140GraphQLRequest(String partialRequest) test for issue #140 (error for type that implements multiple interfaces)
Get theGraphQLRequestMySchemafor the foo140 EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Buildertest for issue #140 (error for type that implements multiple interfaces)
Get theBuilderfor the CTP_Foo140_CTS, as expected by the foo140 query.getGraphQLRequest(String fullRequest) Get theGraphQLRequestMySchemafor full request.getIfGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the if EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor 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 theGraphQLRequestMySchemafor the implements EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderTest for PR 177 (on server side, the returned value is the content of the if input parameter)
Get theBuilderfor the String, as expected by the implements query.getImportGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the import EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the import query.getInstanceofGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the instanceof EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the instanceof query.getInterfaceGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the interface EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the interface query.getIntGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the int EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor 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 theGraphQLRequestMySchemafor the issue128 EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Buildertest for issue #128 (compilation error when a Query returns a type 'Client')
Get theBuilderfor the CIP_Client_CIS, as expected by the issue128 query.getIssue200GraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the issue200 EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the Boolean, as expected by the issue200 query.getIssue217GraphQLRequest(String partialRequest) Issue 217: issue when a field name starts with an uppercase letter
Get theGraphQLRequestMySchemafor the Issue217 EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderIssue 217: issue when a field name starts with an uppercase letter
Get theBuilderfor the String, as expected by the Issue217 query.getIssue53GraphQLRequest(String partialRequest)
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
Get theGraphQLRequestMySchemafor the issue53 EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Builder
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
Get theBuilderfor the Date, as expected by the issue53 query.getIssue82FloatGraphQLRequest(String partialRequest)
#issue82 is about hard coded values as parameters.com.graphql_java_generator.client.request.Builder
#issue82 is about hard coded values as parameters.getIssue82IDGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the issue82ID EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the issue82ID query.getJsonGraphQLRequest(String partialRequest) Test of JSON scalar, for issue #205
Get theGraphQLRequestMySchemafor the json EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderTest of JSON scalar, for issue #205
Get theBuilderfor the ObjectNode, as expected by the json query.getJsonsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the jsons EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the ObjectNode, as expected by the jsons query.getJsonsWithInputGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the jsonsWithInput EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_TypeWithJson_CTS, as expected by the jsonsWithInput query.getJsonWithInputGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the jsonWithInput EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_TypeWithJson_CTS, as expected by the jsonWithInput query.getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the listOfEnumWithReservedJavaKeywordAsValues query.getLongGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the long EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the long query.getNativeGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the native EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the native query.getNewGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the new EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the new query.getNullGraphQLRequest(String partialRequest) Issue #188: null is not identified as a java keyword
Get theGraphQLRequestMySchemafor the null EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderIssue #188: null is not identified as a java keyword
Get theBuilderfor the String, as expected by the null query.getObjectGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the object EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the Object, as expected by the object query.getObjectsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the objects EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the Object, as expected by the objects query.getObjectsWithInputGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the objectsWithInput EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_TypeWithObject_CTS, as expected by the objectsWithInput query.getObjectWithInputGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the objectWithInput EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_TypeWithObject_CTS, as expected by the objectWithInput query.getPackageGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the package EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the package query.getPrivateGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the private EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the private query.getProtectedGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the protected EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the protected query.getPublicGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the public EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the public query.getRelayGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the relay EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_MyQueryType_CTS, as expected by the relay query.getReservedJavaKeywordAllFieldCasesGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the reservedJavaKeywordAllFieldCases EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_ReservedJavaKeywordAllFieldCases_CTS, as expected by the reservedJavaKeywordAllFieldCases query.com.graphql_java_generator.client.request.BuilderGet theBuilderfor a full request, as expected by the exec and execWithBindValues methods.getReturnEnumGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnEnum EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnEnum query.getReturnGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the return EXECUTOR, created with the given Partial request.getReturnListOfEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnListOfEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfEnums query.getReturnListOfListOfEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnListOfListOfEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfListOfEnums query.getReturnListOfMandatoryEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfMandatoryEnums query.getReturnMandatoryEnumGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnMandatoryEnum EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryEnum query.getReturnMandatoryListOfEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryListOfEnums query.getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryListOfMandatoryEnums query.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the return query.getShortGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the short EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the short query.getStaticGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the static EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the static query.getStrictfpGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the strictfp EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the strictfp query.getSuperGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the super EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the super query.getSwitchGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the switch EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the switch query.getSynchronizedGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the synchronized EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor 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 theGraphQLRequestMySchemafor the testBase64String EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderTest for issue #174: a custom scalar which Java type is an array
Get theBuilderfor the byte, as expected by the testBase64String query.getThisGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the this EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the this query.getThrowGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the throw EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the throw query.getThrowsGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the throws EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the throws query.getTransientGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the transient EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the transient query.getTryGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the try EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the try query.getUnionTestGraphQLRequest(String partialRequest)
################################################################################
# Test for unions
Get theGraphQLRequestMySchemafor the unionTest EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Builder
################################################################################
# Test for unions
Get theBuilderfor the CUP_AnyCharacter_CUS, as expected by the unionTest query.getVoidGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the void EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the void query.getVolatileGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the volatile EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the volatile query.getWhileGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the while EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the String, as expected by the while query.getWithEnumGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the withEnum EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CIP_Character_CIS, 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 theGraphQLRequestMySchemafor the withList EXECUTOR, created with the given Partial request.getWithListOfListGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the withListOfList EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_AllFieldCases_CTS, as expected by the withListOfList query.com.graphql_java_generator.client.request.Builder
################################################################################
# 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 theBuilderfor the CIP_Character_CIS, as expected by the withList query.getWithOneMandatoryParamDefaultValueGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the withOneMandatoryParamDefaultValue EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the Integer, as expected by the withOneMandatoryParamDefaultValue query.getWithOneMandatoryParamGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the withOneMandatoryParam EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CIP_Character_CIS, as expected by the withOneMandatoryParam query.getWithOneOptionalParamGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the withOneOptionalParam EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CIP_Character_CIS, as expected by the withOneOptionalParam query.getWithoutParametersGraphQLRequest(String partialRequest)
This is a description to describe the field withoutParameters
on two lines
Get theGraphQLRequestMySchemafor the withoutParameters EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.Builder
This is a description to describe the field withoutParameters
on two lines
Get theBuilderfor the CIP_Character_CIS, as expected by the withoutParameters query.getWithTwoMandatoryParamDefaultValGraphQLRequest(String partialRequest) Get theGraphQLRequestMySchemafor the withTwoMandatoryParamDefaultVal EXECUTOR, created with the given Partial request.com.graphql_java_generator.client.request.BuilderGet theBuilderfor the CTP_Droid_CTS, as expected by the withTwoMandatoryParamDefaultVal query.issue128(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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.Issue217(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String AnArg, Object... paramsAndValues) Issue 217: issue when a field name starts with an uppercase letter
This method is expected by the graphql-java framework.Issue 217: issue when a field name starts with an uppercase letter
This method executes a partial query on the Issue217 query against the GraphQL server.Issue217WithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String AnArg, Map<String, Object> parameters) Issue 217: issue when a field name starts with an uppercase letter
This method is expected by the graphql-java framework.Issue 217: issue when a field name starts with an uppercase letter
This method executes a partial query on the Issue217 query against the GraphQL server.issue53(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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.ObjectNodejson(com.graphql_java_generator.client.request.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.ObjectNodejson(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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<CINP_InputWithJson_CINS> input, Object... paramsAndValues) This method is expected by the graphql-java framework.jsonsWithInput(String queryResponseDef, List<CINP_InputWithJson_CINS> input, Object... paramsAndValues) This method executes a partial query on the jsonsWithInput query against the GraphQL server.jsonsWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<CINP_InputWithJson_CINS> input, Map<String, Object> parameters) This method is expected by the graphql-java framework.jsonsWithInputWithBindValues(String queryResponseDef, List<CINP_InputWithJson_CINS> input, Map<String, Object> parameters) This method executes a partial query on the jsonsWithInput query against the GraphQL server.com.fasterxml.jackson.databind.node.ObjectNodejsonWithBindValues(com.graphql_java_generator.client.request.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.ObjectNodejsonWithBindValues(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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_InputWithJson_CINS input, Object... paramsAndValues) This method is expected by the graphql-java framework.jsonWithInput(String queryResponseDef, CINP_InputWithJson_CINS input, Object... paramsAndValues) This method executes a partial query on the jsonWithInput query against the GraphQL server.jsonWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_InputWithJson_CINS input, Map<String, Object> parameters) This method is expected by the graphql-java framework.jsonWithInputWithBindValues(String queryResponseDef, CINP_InputWithJson_CINS input, Map<String, Object> parameters) This method executes a partial query on the jsonWithInput query against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CEP_EnumWithReservedJavaKeywordAsValues_CES param1, List<CEP_EnumWithReservedJavaKeywordAsValues_CES> param2, Object... paramsAndValues) This method is expected by the graphql-java framework.listOfEnumWithReservedJavaKeywordAsValues(String queryResponseDef, CEP_EnumWithReservedJavaKeywordAsValues_CES param1, List<CEP_EnumWithReservedJavaKeywordAsValues_CES> param2, Object... paramsAndValues) This method executes a partial query on the listOfEnumWithReservedJavaKeywordAsValues query against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CEP_EnumWithReservedJavaKeywordAsValues_CES param1, List<CEP_EnumWithReservedJavaKeywordAsValues_CES> param2, Map<String, Object> parameters) This method is expected by the graphql-java framework.listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, CEP_EnumWithReservedJavaKeywordAsValues_CES param1, List<CEP_EnumWithReservedJavaKeywordAsValues_CES> param2, Map<String, Object> parameters) This method executes a partial query on the listOfEnumWithReservedJavaKeywordAsValues query against the GraphQL server.object(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<CINP_InputWithObject_CINS> input, Object... paramsAndValues) This method is expected by the graphql-java framework.objectsWithInput(String queryResponseDef, List<CINP_InputWithObject_CINS> input, Object... paramsAndValues) This method executes a partial query on the objectsWithInput query against the GraphQL server.objectsWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<CINP_InputWithObject_CINS> input, Map<String, Object> parameters) This method is expected by the graphql-java framework.objectsWithInputWithBindValues(String queryResponseDef, List<CINP_InputWithObject_CINS> input, Map<String, Object> parameters) This method executes a partial query on the objectsWithInput query against the GraphQL server.objectWithBindValues(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_InputWithObject_CINS input, Object... paramsAndValues) This method is expected by the graphql-java framework.objectWithInput(String queryResponseDef, CINP_InputWithObject_CINS input, Object... paramsAndValues) This method executes a partial query on the objectWithInput query against the GraphQL server.objectWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_InputWithObject_CINS input, Map<String, Object> parameters) This method is expected by the graphql-java framework.objectWithInputWithBindValues(String queryResponseDef, CINP_InputWithObject_CINS input, Map<String, Object> parameters) This method executes a partial query on the objectWithInput query against the GraphQL server.relay(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_HumanInput_CINS human1, CINP_HumanInput_CINS human2, CINP_DroidInput_CINS droid1, CINP_DroidInput_CINS droid2, Object... paramsAndValues)
################################################################################
# Test for unions
This method is expected by the graphql-java framework.unionTest(String queryResponseDef, CINP_HumanInput_CINS human1, CINP_HumanInput_CINS human2, CINP_DroidInput_CINS droid1, CINP_DroidInput_CINS droid2, Object... paramsAndValues)
################################################################################
# Test for unions
This method executes a partial query on the unionTest query against the GraphQL server.unionTestWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_HumanInput_CINS human1, CINP_HumanInput_CINS human2, CINP_DroidInput_CINS droid1, CINP_DroidInput_CINS droid2, Map<String, Object> parameters)
################################################################################
# Test for unions
This method is expected by the graphql-java framework.unionTestWithBindValues(String queryResponseDef, CINP_HumanInput_CINS human1, CINP_HumanInput_CINS human2, CINP_DroidInput_CINS droid1, CINP_DroidInput_CINS droid2, Map<String, Object> parameters)
################################################################################
# Test for unions
This method executes a partial query on the unionTest query against the GraphQL server.withEnum(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CEP_Episode_CES episode, Object... paramsAndValues) This method is expected by the graphql-java framework.withEnum(String queryResponseDef, CEP_Episode_CES episode, Object... paramsAndValues) This method executes a partial query on the withEnum query against the GraphQL server.withEnumWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CEP_Episode_CES episode, Map<String, Object> parameters) This method is expected by the graphql-java framework.withEnumWithBindValues(String queryResponseDef, CEP_Episode_CES episode, Map<String, Object> parameters) This method executes a partial query on the withEnum query against the GraphQL server.withList(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String firstName, List<CINP_CharacterInput_CINS> 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<CINP_CharacterInput_CINS> 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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String firstName, List<CINP_CharacterInput_CINS> 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<CINP_CharacterInput_CINS> 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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_CharacterInput_CINS character, Object... paramsAndValues) This method is expected by the graphql-java framework.withOneMandatoryParam(String queryResponseDef, CINP_CharacterInput_CINS character, Object... paramsAndValues) This method executes a partial query on the withOneMandatoryParam query against the GraphQL server.withOneMandatoryParamDefaultValue(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_CharacterInput_CINS character, Map<String, Object> parameters) This method is expected by the graphql-java framework.withOneMandatoryParamWithBindValues(String queryResponseDef, CINP_CharacterInput_CINS character, Map<String, Object> parameters) This method executes a partial query on the withOneMandatoryParam query against the GraphQL server.withOneOptionalParam(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_CharacterInput_CINS character, Object... paramsAndValues) This method is expected by the graphql-java framework.withOneOptionalParam(String queryResponseDef, CINP_CharacterInput_CINS character, Object... paramsAndValues) This method executes a partial query on the withOneOptionalParam query against the GraphQL server.withOneOptionalParamWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_CharacterInput_CINS character, Map<String, Object> parameters) This method is expected by the graphql-java framework.withOneOptionalParamWithBindValues(String queryResponseDef, CINP_CharacterInput_CINS character, Map<String, Object> parameters) This method executes a partial query on the withOneOptionalParam query against the GraphQL server.withoutParameters(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.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(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_DroidInput_CINS theHero, Integer num, Object... paramsAndValues) This method is expected by the graphql-java framework.withTwoMandatoryParamDefaultVal(String queryResponseDef, CINP_DroidInput_CINS theHero, Integer num, Object... paramsAndValues) This method executes a partial query on the withTwoMandatoryParamDefaultVal query against the GraphQL server.withTwoMandatoryParamDefaultValWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_DroidInput_CINS theHero, Integer num, Map<String, Object> parameters) This method is expected by the graphql-java framework.withTwoMandatoryParamDefaultValWithBindValues(String queryResponseDef, CINP_DroidInput_CINS theHero, Integer num, Map<String, Object> parameters) This method executes a partial query on the withTwoMandatoryParamDefaultVal query against the GraphQL server.
-
Constructor Details
-
MyQueryTypeExecutorMySchema
public MyQueryTypeExecutorMySchema()
-
-
Method Details
-
execWithBindValues
public MyQueryTypeResponse execWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 aDatefor theGraphQLScalarTypeDate). The parameters which value is missing in this map will be ignored.- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public MyQueryTypeResponse exec(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
execWithBindValues
public MyQueryTypeResponse execWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public MyQueryTypeResponse exec(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getResponseBuilder
public com.graphql_java_generator.client.request.Builder getResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor a full request, as expected by the exec and execWithBindValues methods.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getGraphQLRequest
public GraphQLRequestMySchema getGraphQLRequest(String fullRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor full request. For instance:GraphQLRequestMySchema request = new GraphQLRequest(fullRequest);
- Parameters:
fullRequest- The full GraphQL Request, as specified in the GraphQL specification- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withoutParametersWithBindValues
public List<CIP_Character_CIS> withoutParametersWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithoutParametersof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withoutParameters
public List<CIP_Character_CIS> withoutParameters(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithoutParametersof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withoutParametersWithBindValues
public List<CIP_Character_CIS> withoutParametersWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withoutParameters
public List<CIP_Character_CIS> withoutParameters(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithoutParametersResponseBuilder
public com.graphql_java_generator.client.request.Builder getWithoutParametersResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
This is a description to describe the field withoutParameters
on two lines
Get theBuilderfor the CIP_Character_CIS, as expected by the withoutParameters query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWithoutParametersGraphQLRequest
public GraphQLRequestMySchema getWithoutParametersGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
This is a description to describe the field withoutParameters
on two lines
Get theGraphQLRequestMySchemafor the withoutParameters EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withOneOptionalParamWithBindValues
public CIP_Character_CIS withOneOptionalParamWithBindValues(String queryResponseDef, CINP_CharacterInput_CINS character, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithOneOptionalParamof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneOptionalParam
public CIP_Character_CIS withOneOptionalParam(String queryResponseDef, CINP_CharacterInput_CINS character, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithOneOptionalParamof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneOptionalParamWithBindValues
public CIP_Character_CIS withOneOptionalParamWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_CharacterInput_CINS character, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneOptionalParam
public CIP_Character_CIS withOneOptionalParam(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_CharacterInput_CINS character, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithOneOptionalParamResponseBuilder
public com.graphql_java_generator.client.request.Builder getWithOneOptionalParamResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CIP_Character_CIS, as expected by the withOneOptionalParam query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWithOneOptionalParamGraphQLRequest
public GraphQLRequestMySchema getWithOneOptionalParamGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the withOneOptionalParam EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withOneMandatoryParamWithBindValues
public CIP_Character_CIS withOneMandatoryParamWithBindValues(String queryResponseDef, CINP_CharacterInput_CINS character, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithOneMandatoryParamof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParam
public CIP_Character_CIS withOneMandatoryParam(String queryResponseDef, CINP_CharacterInput_CINS character, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithOneMandatoryParamof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParamWithBindValues
public CIP_Character_CIS withOneMandatoryParamWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_CharacterInput_CINS character, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParam
public CIP_Character_CIS withOneMandatoryParam(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_CharacterInput_CINS character, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithOneMandatoryParamResponseBuilder
public com.graphql_java_generator.client.request.Builder getWithOneMandatoryParamResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CIP_Character_CIS, as expected by the withOneMandatoryParam query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWithOneMandatoryParamGraphQLRequest
public GraphQLRequestMySchema getWithOneMandatoryParamGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the withOneMandatoryParam EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withOneMandatoryParamDefaultValueWithBindValues
public Integer withOneMandatoryParamDefaultValueWithBindValues(String queryResponseDef, Integer intParam, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithOneMandatoryParamDefaultValueof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParamDefaultValue
public Integer withOneMandatoryParamDefaultValue(String queryResponseDef, Integer intParam, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithOneMandatoryParamDefaultValueof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParamDefaultValueWithBindValues
public Integer withOneMandatoryParamDefaultValueWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Integer intParam, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withOneMandatoryParamDefaultValue
public Integer withOneMandatoryParamDefaultValue(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Integer intParam, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithOneMandatoryParamDefaultValueResponseBuilder
public com.graphql_java_generator.client.request.Builder getWithOneMandatoryParamDefaultValueResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the Integer, as expected by the withOneMandatoryParamDefaultValue query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWithOneMandatoryParamDefaultValueGraphQLRequest
public GraphQLRequestMySchema getWithOneMandatoryParamDefaultValueGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the withOneMandatoryParamDefaultValue EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withTwoMandatoryParamDefaultValWithBindValues
public CTP_Droid_CTS withTwoMandatoryParamDefaultValWithBindValues(String queryResponseDef, CINP_DroidInput_CINS theHero, Integer num, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithTwoMandatoryParamDefaultValof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withTwoMandatoryParamDefaultVal
public CTP_Droid_CTS withTwoMandatoryParamDefaultVal(String queryResponseDef, CINP_DroidInput_CINS theHero, Integer num, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithTwoMandatoryParamDefaultValof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withTwoMandatoryParamDefaultValWithBindValues
public CTP_Droid_CTS withTwoMandatoryParamDefaultValWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_DroidInput_CINS theHero, Integer num, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withTwoMandatoryParamDefaultVal
public CTP_Droid_CTS withTwoMandatoryParamDefaultVal(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_DroidInput_CINS theHero, Integer num, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithTwoMandatoryParamDefaultValResponseBuilder
public com.graphql_java_generator.client.request.Builder getWithTwoMandatoryParamDefaultValResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_Droid_CTS, as expected by the withTwoMandatoryParamDefaultVal query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWithTwoMandatoryParamDefaultValGraphQLRequest
public GraphQLRequestMySchema getWithTwoMandatoryParamDefaultValGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the withTwoMandatoryParamDefaultVal EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withEnumWithBindValues
public CIP_Character_CIS withEnumWithBindValues(String queryResponseDef, CEP_Episode_CES episode, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithEnumof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withEnum
public CIP_Character_CIS withEnum(String queryResponseDef, CEP_Episode_CES episode, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithEnumof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withEnumWithBindValues
public CIP_Character_CIS withEnumWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CEP_Episode_CES episode, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withEnum
public CIP_Character_CIS withEnum(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CEP_Episode_CES episode, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithEnumResponseBuilder
public com.graphql_java_generator.client.request.Builder getWithEnumResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CIP_Character_CIS, as expected by the withEnum query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWithEnumGraphQLRequest
public GraphQLRequestMySchema getWithEnumGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the withEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withListOfListWithBindValues
public CTP_AllFieldCases_CTS withListOfListWithBindValues(String queryResponseDef, List<List<Double>> matrix, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithListOfListof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withListOfList
public CTP_AllFieldCases_CTS withListOfList(String queryResponseDef, List<List<Double>> matrix, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithListOfListof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withListOfListWithBindValues
public CTP_AllFieldCases_CTS withListOfListWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<List<Double>> matrix, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withListOfList
public CTP_AllFieldCases_CTS withListOfList(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<List<Double>> matrix, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithListOfListResponseBuilder
public com.graphql_java_generator.client.request.Builder getWithListOfListResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_AllFieldCases_CTS, as expected by the withListOfList query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWithListOfListGraphQLRequest
public GraphQLRequestMySchema getWithListOfListGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the withListOfList EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withListWithBindValues
public List<CIP_Character_CIS> withListWithBindValues(String queryResponseDef, String firstName, List<CINP_CharacterInput_CINS> characters, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithListof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withList
public List<CIP_Character_CIS> withList(String queryResponseDef, String firstName, List<CINP_CharacterInput_CINS> characters, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thewithListof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withListWithBindValues
public List<CIP_Character_CIS> withListWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String firstName, List<CINP_CharacterInput_CINS> characters, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
withList
public List<CIP_Character_CIS> withList(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String firstName, List<CINP_CharacterInput_CINS> characters, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWithListResponseBuilder
public com.graphql_java_generator.client.request.Builder getWithListResponseBuilder() throws com.graphql_java_generator.exception.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 theBuilderfor the CIP_Character_CIS, as expected by the withList query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWithListGraphQLRequest
public GraphQLRequestMySchema getWithListGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.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 theGraphQLRequestMySchemafor the withList EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
allFieldCasesWithBindValues
public CTP_AllFieldCases_CTS allFieldCasesWithBindValues(String queryResponseDef, CINP_AllFieldCasesInput_CINS input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theallFieldCasesof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allFieldCases
public CTP_AllFieldCases_CTS allFieldCases(String queryResponseDef, CINP_AllFieldCasesInput_CINS input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theallFieldCasesof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allFieldCasesWithBindValues
public CTP_AllFieldCases_CTS allFieldCasesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_AllFieldCasesInput_CINS input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allFieldCases
public CTP_AllFieldCases_CTS allFieldCases(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_AllFieldCasesInput_CINS input, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getAllFieldCasesResponseBuilder
public com.graphql_java_generator.client.request.Builder getAllFieldCasesResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
################################################################################
# Complementary tests with the AllFieldCases Object
Get theBuilderfor the CTP_AllFieldCases_CTS, as expected by the allFieldCases query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getAllFieldCasesGraphQLRequest
public GraphQLRequestMySchema getAllFieldCasesGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
################################################################################
# Complementary tests with the AllFieldCases Object
Get theGraphQLRequestMySchemafor the allFieldCases EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
unionTestWithBindValues
public List<CUP_AnyCharacter_CUS> unionTestWithBindValues(String queryResponseDef, CINP_HumanInput_CINS human1, CINP_HumanInput_CINS human2, CINP_DroidInput_CINS droid1, CINP_DroidInput_CINS droid2, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theunionTestof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
unionTest
public List<CUP_AnyCharacter_CUS> unionTest(String queryResponseDef, CINP_HumanInput_CINS human1, CINP_HumanInput_CINS human2, CINP_DroidInput_CINS droid1, CINP_DroidInput_CINS droid2, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theunionTestof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
unionTestWithBindValues
public List<CUP_AnyCharacter_CUS> unionTestWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_HumanInput_CINS human1, CINP_HumanInput_CINS human2, CINP_DroidInput_CINS droid1, CINP_DroidInput_CINS droid2, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
unionTest
public List<CUP_AnyCharacter_CUS> unionTest(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_HumanInput_CINS human1, CINP_HumanInput_CINS human2, CINP_DroidInput_CINS droid1, CINP_DroidInput_CINS droid2, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getUnionTestResponseBuilder
public com.graphql_java_generator.client.request.Builder getUnionTestResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
################################################################################
# Test for unions
Get theBuilderfor the CUP_AnyCharacter_CUS, as expected by the unionTest query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getUnionTestGraphQLRequest
public GraphQLRequestMySchema getUnionTestGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
################################################################################
# Test for unions
Get theGraphQLRequestMySchemafor the unionTest EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
errorWithBindValues
public CIP_Character_CIS errorWithBindValues(String queryResponseDef, String errorLabel, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theerrorof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
error
public CIP_Character_CIS error(String queryResponseDef, String errorLabel, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theerrorof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
errorWithBindValues
public CIP_Character_CIS errorWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String errorLabel, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
error
public CIP_Character_CIS error(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String errorLabel, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getErrorResponseBuilder
public com.graphql_java_generator.client.request.Builder getErrorResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
################################################################################
# error always returns an error! (used to check the error management)
Get theBuilderfor the CIP_Character_CIS, as expected by the error query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getErrorGraphQLRequest
public GraphQLRequestMySchema getErrorGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
################################################################################
# error always returns an error! (used to check the error management)
Get theGraphQLRequestMySchemafor the error EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
aBreakWithBindValues
public CTP_break_CTS aBreakWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theaBreakof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
aBreak
public CTP_break_CTS aBreak(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theaBreakof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
aBreakWithBindValues
public CTP_break_CTS aBreakWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
aBreak
public CTP_break_CTS aBreak(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getABreakResponseBuilder
public com.graphql_java_generator.client.request.Builder getABreakResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionCheck for GraphQL identifier that are java keywords
Get theBuilderfor the CTP_break_CTS, as expected by the aBreak query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getABreakGraphQLRequest
public GraphQLRequestMySchema getABreakGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Check for GraphQL identifier that are java keywords
Get theGraphQLRequestMySchemafor the aBreak EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
directiveOnQueryWithBindValues
public List<String> directiveOnQueryWithBindValues(String queryResponseDef, Boolean uppercase, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thedirectiveOnQueryof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnQuery
public List<String> directiveOnQuery(String queryResponseDef, Boolean uppercase, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thedirectiveOnQueryof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnQueryWithBindValues
public List<String> directiveOnQueryWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Boolean uppercase, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnQuery
public List<String> directiveOnQuery(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Boolean uppercase, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getDirectiveOnQueryResponseBuilder
public com.graphql_java_generator.client.request.Builder getDirectiveOnQueryResponseBuilder() throws com.graphql_java_generator.exception.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 theBuilderfor the String, as expected by the directiveOnQuery query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getDirectiveOnQueryGraphQLRequest
public GraphQLRequestMySchema getDirectiveOnQueryGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.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 theGraphQLRequestMySchemafor the directiveOnQuery EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
directiveOnFieldWithBindValues
public CIP_Character_CIS directiveOnFieldWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thedirectiveOnFieldof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnField
public CIP_Character_CIS directiveOnField(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thedirectiveOnFieldof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnFieldWithBindValues
public CIP_Character_CIS directiveOnFieldWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
directiveOnField
public CIP_Character_CIS directiveOnField(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getDirectiveOnFieldResponseBuilder
public com.graphql_java_generator.client.request.Builder getDirectiveOnFieldResponseBuilder() throws com.graphql_java_generator.exception.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 theBuilderfor the CIP_Character_CIS, as expected by the directiveOnField query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getDirectiveOnFieldGraphQLRequest
public GraphQLRequestMySchema getDirectiveOnFieldGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.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 theGraphQLRequestMySchemafor the directiveOnField EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnEnumWithBindValues
public CEP_EnumWithReservedJavaKeywordAsValues_CES returnEnumWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnEnumof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnum
public CEP_EnumWithReservedJavaKeywordAsValues_CES returnEnum(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnEnumof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnumWithBindValues
public CEP_EnumWithReservedJavaKeywordAsValues_CES returnEnumWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnum
public CEP_EnumWithReservedJavaKeywordAsValues_CES returnEnum(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnEnumResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnEnumResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnEnum query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnEnumGraphQLRequest
public GraphQLRequestMySchema getReturnEnumGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnMandatoryEnumWithBindValues
public CEP_EnumWithReservedJavaKeywordAsValues_CES returnMandatoryEnumWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnMandatoryEnumof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnum
public CEP_EnumWithReservedJavaKeywordAsValues_CES returnMandatoryEnum(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnMandatoryEnumof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnumWithBindValues
public CEP_EnumWithReservedJavaKeywordAsValues_CES returnMandatoryEnumWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnum
public CEP_EnumWithReservedJavaKeywordAsValues_CES returnMandatoryEnum(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryEnumResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnMandatoryEnumResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryEnum query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnMandatoryEnumGraphQLRequest
public GraphQLRequestMySchema getReturnMandatoryEnumGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnMandatoryEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnListOfEnumsWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnListOfEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnums
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfEnums(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnListOfEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnumsWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnums
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnListOfEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfEnums query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnListOfEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnListOfEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnListOfListOfEnumsWithBindValues
public List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> returnListOfListOfEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnListOfListOfEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnums
public List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> returnListOfListOfEnums(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnListOfListOfEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnumsWithBindValues
public List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> returnListOfListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnums
public List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> returnListOfListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfListOfEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnListOfListOfEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfListOfEnums query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnListOfListOfEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnListOfListOfEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnListOfListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnListOfMandatoryEnumsWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfMandatoryEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnListOfMandatoryEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnums
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfMandatoryEnums(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnListOfMandatoryEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnumsWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfMandatoryEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnums
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnListOfMandatoryEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfMandatoryEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnListOfMandatoryEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfMandatoryEnums query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnListOfMandatoryEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnMandatoryListOfEnumsWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnMandatoryListOfEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnums
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfEnums(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnMandatoryListOfEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnumsWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnums
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryListOfEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnMandatoryListOfEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryListOfEnums query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnMandatoryListOfEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnMandatoryListOfEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
returnMandatoryListOfMandatoryEnumsWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfMandatoryEnumsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnMandatoryListOfMandatoryEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnums
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfMandatoryEnums(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereturnMandatoryListOfMandatoryEnumsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnumsWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfMandatoryEnumsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnums
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> returnMandatoryListOfMandatoryEnums(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryListOfMandatoryEnumsResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnMandatoryListOfMandatoryEnumsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryListOfMandatoryEnums query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnMandatoryListOfMandatoryEnumsGraphQLRequest
public GraphQLRequestMySchema getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
connectionWithoutParametersWithBindValues
public List<CIP_Character_CIS> connectionWithoutParametersWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theconnectionWithoutParametersof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionWithoutParameters
public List<CIP_Character_CIS> connectionWithoutParameters(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theconnectionWithoutParametersof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionWithoutParametersWithBindValues
public List<CIP_Character_CIS> connectionWithoutParametersWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionWithoutParameters
public List<CIP_Character_CIS> connectionWithoutParameters(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getConnectionWithoutParametersResponseBuilder
public com.graphql_java_generator.client.request.Builder getConnectionWithoutParametersResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CIP_Character_CIS, as expected by the connectionWithoutParameters query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getConnectionWithoutParametersGraphQLRequest
public GraphQLRequestMySchema getConnectionWithoutParametersGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the connectionWithoutParameters EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
connectionOnHumanWithBindValues
public List<CTP_Human_CTS> connectionOnHumanWithBindValues(String queryResponseDef, String planet, CEP_Episode_CES episode, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theconnectionOnHumanof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionOnHuman
public List<CTP_Human_CTS> connectionOnHuman(String queryResponseDef, String planet, CEP_Episode_CES episode, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theconnectionOnHumanof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionOnHumanWithBindValues
public List<CTP_Human_CTS> connectionOnHumanWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String planet, CEP_Episode_CES episode, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
connectionOnHuman
public List<CTP_Human_CTS> connectionOnHuman(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String planet, CEP_Episode_CES episode, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getConnectionOnHumanResponseBuilder
public com.graphql_java_generator.client.request.Builder getConnectionOnHumanResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_Human_CTS, as expected by the connectionOnHuman query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getConnectionOnHumanGraphQLRequest
public GraphQLRequestMySchema getConnectionOnHumanGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the connectionOnHuman EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
checkOverriddenControllerWithBindValues
public String checkOverriddenControllerWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thecheckOverriddenControllerof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
checkOverriddenController
public String checkOverriddenController(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thecheckOverriddenControllerof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
checkOverriddenControllerWithBindValues
public String checkOverriddenControllerWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
checkOverriddenController
public String checkOverriddenController(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getCheckOverriddenControllerResponseBuilder
public com.graphql_java_generator.client.request.Builder getCheckOverriddenControllerResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the checkOverriddenController query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getCheckOverriddenControllerGraphQLRequest
public GraphQLRequestMySchema getCheckOverriddenControllerGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the checkOverriddenController EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
issue53WithBindValues
public Date issue53WithBindValues(String queryResponseDef, Date date, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue53of 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53
public Date issue53(String queryResponseDef, Date date, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue53of 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53WithBindValues
public Date issue53WithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Date date, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53
public Date issue53(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Date date, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue53ResponseBuilder
public com.graphql_java_generator.client.request.Builder getIssue53ResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
Get theBuilderfor the Date, as expected by the issue53 query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIssue53GraphQLRequest
public GraphQLRequestMySchema getIssue53GraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException
#issue53 is about custom scalars as parameter for a query/mutation/subscription,
that was not properly serialized/deserialized
Get theGraphQLRequestMySchemafor the issue53 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
issue200WithBindValues
public Boolean issue200WithBindValues(String queryResponseDef, Boolean param, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue200of 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue200
public Boolean issue200(String queryResponseDef, Boolean param, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue200of 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue200WithBindValues
public Boolean issue200WithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Boolean param, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue200
public Boolean issue200(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Boolean param, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue200ResponseBuilder
public com.graphql_java_generator.client.request.Builder getIssue200ResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the Boolean, as expected by the issue200 query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIssue200GraphQLRequest
public GraphQLRequestMySchema getIssue200GraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the issue200 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
issue82FloatWithBindValues
public Double issue82FloatWithBindValues(String queryResponseDef, Double aFloat, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue82Floatof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82Float
public Double issue82Float(String queryResponseDef, Double aFloat, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue82Floatof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82FloatWithBindValues
public Double issue82FloatWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Double aFloat, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82Float
public Double issue82Float(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Double aFloat, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue82FloatResponseBuilder
public com.graphql_java_generator.client.request.Builder getIssue82FloatResponseBuilder() throws com.graphql_java_generator.exception.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 theBuilderfor the Double, as expected by the issue82Float query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIssue82FloatGraphQLRequest
public GraphQLRequestMySchema getIssue82FloatGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.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 theGraphQLRequestMySchemafor the issue82Float EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
issue82IDWithBindValues
public String issue82IDWithBindValues(String queryResponseDef, String aID, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue82IDof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82ID
public String issue82ID(String queryResponseDef, String aID, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue82IDof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82IDWithBindValues
public String issue82IDWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String aID, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue82ID
public String issue82ID(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String aID, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue82IDResponseBuilder
public com.graphql_java_generator.client.request.Builder getIssue82IDResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the issue82ID query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIssue82IDGraphQLRequest
public GraphQLRequestMySchema getIssue82IDGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the issue82ID EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
Issue217WithBindValues
public String Issue217WithBindValues(String queryResponseDef, String AnArg, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue 217: issue when a field name starts with an uppercase letter
This method executes a partial query on the Issue217 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 theIssue217of 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)AnArg- Parameter for the Issue217 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
Issue217
public String Issue217(String queryResponseDef, String AnArg, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue 217: issue when a field name starts with an uppercase letter
This method executes a partial query on the Issue217 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 theIssue217of 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)AnArg- Parameter for the Issue217 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
Issue217WithBindValues
public String Issue217WithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String AnArg, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionExceptionIssue 217: issue when a field name starts with an uppercase letter
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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetIssue217GraphQLRequest(java.lang.String)method.AnArg- Parameter for the Issue217 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
Issue217
public String Issue217(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String AnArg, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException Issue 217: issue when a field name starts with an uppercase letter
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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema POJO, as returned by thegetIssue217GraphQLRequest(java.lang.String)method.AnArg- Parameter for the Issue217 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue217ResponseBuilder
public com.graphql_java_generator.client.request.Builder getIssue217ResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue 217: issue when a field name starts with an uppercase letter
Get theBuilderfor the String, as expected by the Issue217 query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIssue217GraphQLRequest
public GraphQLRequestMySchema getIssue217GraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue 217: issue when a field name starts with an uppercase letter
Get theGraphQLRequestMySchemafor the Issue217 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
issue128WithBindValues
public CIP_Client_CIS issue128WithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue128of 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue128
public CIP_Client_CIS issue128(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theissue128of 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue128WithBindValues
public CIP_Client_CIS issue128WithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue128
public CIP_Client_CIS issue128(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue128ResponseBuilder
public com.graphql_java_generator.client.request.Builder getIssue128ResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptiontest for issue #128 (compilation error when a Query returns a type 'Client')
Get theBuilderfor the CIP_Client_CIS, as expected by the issue128 query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIssue128GraphQLRequest
public GraphQLRequestMySchema getIssue128GraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException test for issue #128 (compilation error when a Query returns a type 'Client')
Get theGraphQLRequestMySchemafor the issue128 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
enumWithReservedJavaKeywordAsValuesWithBindValues
public CEP_EnumWithReservedJavaKeywordAsValues_CES enumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theenumWithReservedJavaKeywordAsValuesof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValues
public CEP_EnumWithReservedJavaKeywordAsValues_CES enumWithReservedJavaKeywordAsValues(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theenumWithReservedJavaKeywordAsValuesof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValuesWithBindValues
public CEP_EnumWithReservedJavaKeywordAsValues_CES enumWithReservedJavaKeywordAsValuesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValues
public CEP_EnumWithReservedJavaKeywordAsValues_CES enumWithReservedJavaKeywordAsValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getEnumWithReservedJavaKeywordAsValuesResponseBuilder
public com.graphql_java_generator.client.request.Builder getEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptiontest for issue #139 (use of java reserved keyword)
Get theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the enumWithReservedJavaKeywordAsValues query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getEnumWithReservedJavaKeywordAsValuesGraphQLRequest
public GraphQLRequestMySchema getEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
Get theGraphQLRequestMySchemafor the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, CEP_EnumWithReservedJavaKeywordAsValues_CES param1, List<CEP_EnumWithReservedJavaKeywordAsValues_CES> param2, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thelistOfEnumWithReservedJavaKeywordAsValuesof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> listOfEnumWithReservedJavaKeywordAsValues(String queryResponseDef, CEP_EnumWithReservedJavaKeywordAsValues_CES param1, List<CEP_EnumWithReservedJavaKeywordAsValues_CES> param2, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thelistOfEnumWithReservedJavaKeywordAsValuesof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CEP_EnumWithReservedJavaKeywordAsValues_CES param1, List<CEP_EnumWithReservedJavaKeywordAsValues_CES> param2, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValues
public List<CEP_EnumWithReservedJavaKeywordAsValues_CES> listOfEnumWithReservedJavaKeywordAsValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CEP_EnumWithReservedJavaKeywordAsValues_CES param1, List<CEP_EnumWithReservedJavaKeywordAsValues_CES> param2, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder
public com.graphql_java_generator.client.request.Builder getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the listOfEnumWithReservedJavaKeywordAsValues query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest
public GraphQLRequestMySchema getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
reservedJavaKeywordAllFieldCasesWithBindValues
public CTP_ReservedJavaKeywordAllFieldCases_CTS reservedJavaKeywordAllFieldCasesWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereservedJavaKeywordAllFieldCasesof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
reservedJavaKeywordAllFieldCases
public CTP_ReservedJavaKeywordAllFieldCases_CTS reservedJavaKeywordAllFieldCases(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thereservedJavaKeywordAllFieldCasesof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
reservedJavaKeywordAllFieldCasesWithBindValues
public CTP_ReservedJavaKeywordAllFieldCases_CTS reservedJavaKeywordAllFieldCasesWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
reservedJavaKeywordAllFieldCases
public CTP_ReservedJavaKeywordAllFieldCases_CTS reservedJavaKeywordAllFieldCases(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReservedJavaKeywordAllFieldCasesResponseBuilder
public com.graphql_java_generator.client.request.Builder getReservedJavaKeywordAllFieldCasesResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_ReservedJavaKeywordAllFieldCases_CTS, as expected by the reservedJavaKeywordAllFieldCases query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReservedJavaKeywordAllFieldCasesGraphQLRequest
public GraphQLRequestMySchema getReservedJavaKeywordAllFieldCasesGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the reservedJavaKeywordAllFieldCases EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_ifWithBindValues
public String _ifWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_ifof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public String _if(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_ifof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_ifWithBindValues
public String _ifWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public String _if(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIfResponseBuilder
public com.graphql_java_generator.client.request.Builder getIfResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the if query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIfGraphQLRequest
public GraphQLRequestMySchema getIfGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the if EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_implementsWithBindValues
public String _implementsWithBindValues(String queryResponseDef, String _if, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_implementsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public String _implements(String queryResponseDef, String _if, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_implementsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implementsWithBindValues
public String _implementsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String _if, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public String _implements(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String _if, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getImplementsResponseBuilder
public com.graphql_java_generator.client.request.Builder getImplementsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionTest for PR 177 (on server side, the returned value is the content of the if input parameter)
Get theBuilderfor the String, as expected by the implements query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getImplementsGraphQLRequest
public GraphQLRequestMySchema getImplementsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Test for PR 177 (on server side, the returned value is the content of the if input parameter)
Get theGraphQLRequestMySchemafor the implements EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_importWithBindValues
public String _importWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_importof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_import
public String _import(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_importof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_importWithBindValues
public String _importWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_import
public String _import(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getImportResponseBuilder
public com.graphql_java_generator.client.request.Builder getImportResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the import query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getImportGraphQLRequest
public GraphQLRequestMySchema getImportGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the import EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_instanceofWithBindValues
public String _instanceofWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_instanceofof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_instanceof
public String _instanceof(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_instanceofof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_instanceofWithBindValues
public String _instanceofWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_instanceof
public String _instanceof(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getInstanceofResponseBuilder
public com.graphql_java_generator.client.request.Builder getInstanceofResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the instanceof query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getInstanceofGraphQLRequest
public GraphQLRequestMySchema getInstanceofGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the instanceof EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_intWithBindValues
public String _intWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_intof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_int
public String _int(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_intof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_intWithBindValues
public String _intWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_int
public String _int(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIntResponseBuilder
public com.graphql_java_generator.client.request.Builder getIntResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the int query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getIntGraphQLRequest
public GraphQLRequestMySchema getIntGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the int EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_interfaceWithBindValues
public String _interfaceWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_interfaceof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_interface
public String _interface(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_interfaceof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_interfaceWithBindValues
public String _interfaceWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_interface
public String _interface(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getInterfaceResponseBuilder
public com.graphql_java_generator.client.request.Builder getInterfaceResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the interface query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getInterfaceGraphQLRequest
public GraphQLRequestMySchema getInterfaceGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the interface EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_longWithBindValues
public String _longWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_longof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_long
public String _long(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_longof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_longWithBindValues
public String _longWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_long
public String _long(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getLongResponseBuilder
public com.graphql_java_generator.client.request.Builder getLongResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the long query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getLongGraphQLRequest
public GraphQLRequestMySchema getLongGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the long EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_nativeWithBindValues
public String _nativeWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_nativeof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_native
public String _native(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_nativeof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_nativeWithBindValues
public String _nativeWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_native
public String _native(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getNativeResponseBuilder
public com.graphql_java_generator.client.request.Builder getNativeResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the native query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getNativeGraphQLRequest
public GraphQLRequestMySchema getNativeGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the native EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_newWithBindValues
public String _newWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_newof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_new
public String _new(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_newof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_newWithBindValues
public String _newWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_new
public String _new(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getNewResponseBuilder
public com.graphql_java_generator.client.request.Builder getNewResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the new query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getNewGraphQLRequest
public GraphQLRequestMySchema getNewGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the new EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_nullWithBindValues
public String _nullWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_nullof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_null
public String _null(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_nullof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_nullWithBindValues
public String _nullWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_null
public String _null(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getNullResponseBuilder
public com.graphql_java_generator.client.request.Builder getNullResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionIssue #188: null is not identified as a java keyword
Get theBuilderfor the String, as expected by the null query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getNullGraphQLRequest
public GraphQLRequestMySchema getNullGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Issue #188: null is not identified as a java keyword
Get theGraphQLRequestMySchemafor the null EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_packageWithBindValues
public String _packageWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_packageof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_package
public String _package(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_packageof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_packageWithBindValues
public String _packageWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_package
public String _package(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getPackageResponseBuilder
public com.graphql_java_generator.client.request.Builder getPackageResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the package query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getPackageGraphQLRequest
public GraphQLRequestMySchema getPackageGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the package EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_privateWithBindValues
public String _privateWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_privateof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_private
public String _private(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_privateof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_privateWithBindValues
public String _privateWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_private
public String _private(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getPrivateResponseBuilder
public com.graphql_java_generator.client.request.Builder getPrivateResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the private query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getPrivateGraphQLRequest
public GraphQLRequestMySchema getPrivateGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the private EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_protectedWithBindValues
public String _protectedWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_protectedof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_protected
public String _protected(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_protectedof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_protectedWithBindValues
public String _protectedWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_protected
public String _protected(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getProtectedResponseBuilder
public com.graphql_java_generator.client.request.Builder getProtectedResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the protected query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getProtectedGraphQLRequest
public GraphQLRequestMySchema getProtectedGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the protected EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_publicWithBindValues
public String _publicWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_publicof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_public
public String _public(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_publicof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_publicWithBindValues
public String _publicWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_public
public String _public(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getPublicResponseBuilder
public com.graphql_java_generator.client.request.Builder getPublicResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the public query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getPublicGraphQLRequest
public GraphQLRequestMySchema getPublicGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the public EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_returnWithBindValues
public String _returnWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_returnof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_return
public String _return(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_returnof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_returnWithBindValues
public String _returnWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_return
public String _return(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnResponseBuilder
public com.graphql_java_generator.client.request.Builder getReturnResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the return query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getReturnGraphQLRequest
public GraphQLRequestMySchema getReturnGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the return EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_shortWithBindValues
public String _shortWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_shortof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_short
public String _short(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_shortof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_shortWithBindValues
public String _shortWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_short
public String _short(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getShortResponseBuilder
public com.graphql_java_generator.client.request.Builder getShortResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the short query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getShortGraphQLRequest
public GraphQLRequestMySchema getShortGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the short EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_staticWithBindValues
public String _staticWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_staticof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_static
public String _static(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_staticof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_staticWithBindValues
public String _staticWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_static
public String _static(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getStaticResponseBuilder
public com.graphql_java_generator.client.request.Builder getStaticResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the static query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getStaticGraphQLRequest
public GraphQLRequestMySchema getStaticGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the static EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_strictfpWithBindValues
public String _strictfpWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_strictfpof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_strictfp
public String _strictfp(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_strictfpof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_strictfpWithBindValues
public String _strictfpWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_strictfp
public String _strictfp(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getStrictfpResponseBuilder
public com.graphql_java_generator.client.request.Builder getStrictfpResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the strictfp query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getStrictfpGraphQLRequest
public GraphQLRequestMySchema getStrictfpGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the strictfp EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_superWithBindValues
public String _superWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_superof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_super
public String _super(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_superof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_superWithBindValues
public String _superWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_super
public String _super(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSuperResponseBuilder
public com.graphql_java_generator.client.request.Builder getSuperResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the super query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getSuperGraphQLRequest
public GraphQLRequestMySchema getSuperGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the super EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_switchWithBindValues
public String _switchWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_switchof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_switch
public String _switch(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_switchof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_switchWithBindValues
public String _switchWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_switch
public String _switch(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSwitchResponseBuilder
public com.graphql_java_generator.client.request.Builder getSwitchResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the switch query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getSwitchGraphQLRequest
public GraphQLRequestMySchema getSwitchGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the switch EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_synchronizedWithBindValues
public String _synchronizedWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_synchronizedof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_synchronized
public String _synchronized(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_synchronizedof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_synchronizedWithBindValues
public String _synchronizedWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_synchronized
public String _synchronized(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSynchronizedResponseBuilder
public com.graphql_java_generator.client.request.Builder getSynchronizedResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the synchronized query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getSynchronizedGraphQLRequest
public GraphQLRequestMySchema getSynchronizedGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the synchronized EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_thisWithBindValues
public String _thisWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_thisof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_this
public String _this(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_thisof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_thisWithBindValues
public String _thisWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_this
public String _this(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getThisResponseBuilder
public com.graphql_java_generator.client.request.Builder getThisResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the this query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getThisGraphQLRequest
public GraphQLRequestMySchema getThisGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the this EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_throwWithBindValues
public String _throwWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_throwof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throw
public String _throw(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_throwof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throwWithBindValues
public String _throwWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throw
public String _throw(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getThrowResponseBuilder
public com.graphql_java_generator.client.request.Builder getThrowResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the throw query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getThrowGraphQLRequest
public GraphQLRequestMySchema getThrowGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the throw EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_throwsWithBindValues
public String _throwsWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_throwsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throws
public String _throws(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_throwsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throwsWithBindValues
public String _throwsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_throws
public String _throws(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getThrowsResponseBuilder
public com.graphql_java_generator.client.request.Builder getThrowsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the throws query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getThrowsGraphQLRequest
public GraphQLRequestMySchema getThrowsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the throws EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_transientWithBindValues
public String _transientWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_transientof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_transient
public String _transient(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_transientof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_transientWithBindValues
public String _transientWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_transient
public String _transient(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getTransientResponseBuilder
public com.graphql_java_generator.client.request.Builder getTransientResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the transient query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getTransientGraphQLRequest
public GraphQLRequestMySchema getTransientGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the transient EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_tryWithBindValues
public String _tryWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_tryof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_try
public String _try(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_tryof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_tryWithBindValues
public String _tryWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_try
public String _try(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getTryResponseBuilder
public com.graphql_java_generator.client.request.Builder getTryResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the try query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getTryGraphQLRequest
public GraphQLRequestMySchema getTryGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the try EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_voidWithBindValues
public String _voidWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_voidof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_void
public String _void(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_voidof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_voidWithBindValues
public String _voidWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_void
public String _void(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getVoidResponseBuilder
public com.graphql_java_generator.client.request.Builder getVoidResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the void query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getVoidGraphQLRequest
public GraphQLRequestMySchema getVoidGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the void EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_volatileWithBindValues
public String _volatileWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_volatileof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_volatile
public String _volatile(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_volatileof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_volatileWithBindValues
public String _volatileWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_volatile
public String _volatile(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getVolatileResponseBuilder
public com.graphql_java_generator.client.request.Builder getVolatileResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the volatile query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getVolatileGraphQLRequest
public GraphQLRequestMySchema getVolatileGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the volatile EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
_whileWithBindValues
public String _whileWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_whileof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_while
public String _while(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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_whileof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_whileWithBindValues
public String _whileWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_while
public String _while(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getWhileResponseBuilder
public com.graphql_java_generator.client.request.Builder getWhileResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the while query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getWhileGraphQLRequest
public GraphQLRequestMySchema getWhileGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the while EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
foo140WithBindValues
public CTP_Foo140_CTS foo140WithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thefoo140of 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
foo140
public CTP_Foo140_CTS foo140(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thefoo140of 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
foo140WithBindValues
public CTP_Foo140_CTS foo140WithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
foo140
public CTP_Foo140_CTS foo140(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getFoo140ResponseBuilder
public com.graphql_java_generator.client.request.Builder getFoo140ResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptiontest for issue #140 (error for type that implements multiple interfaces)
Get theBuilderfor the CTP_Foo140_CTS, as expected by the foo140 query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getFoo140GraphQLRequest
public GraphQLRequestMySchema getFoo140GraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException test for issue #140 (error for type that implements multiple interfaces)
Get theGraphQLRequestMySchemafor the foo140 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
testBase64StringWithBindValues
public byte[] testBase64StringWithBindValues(String queryResponseDef, byte[] input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thetestBase64Stringof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
testBase64String
public byte[] testBase64String(String queryResponseDef, byte[] input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thetestBase64Stringof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
testBase64StringWithBindValues
public byte[] testBase64StringWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, byte[] input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
testBase64String
public byte[] testBase64String(com.graphql_java_generator.client.request.ObjectResponse objectResponse, byte[] input, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getTestBase64StringResponseBuilder
public com.graphql_java_generator.client.request.Builder getTestBase64StringResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionTest for issue #174: a custom scalar which Java type is an array
Get theBuilderfor the byte, as expected by the testBase64String query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getTestBase64StringGraphQLRequest
public GraphQLRequestMySchema getTestBase64StringGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Test for issue #174: a custom scalar which Java type is an array
Get theGraphQLRequestMySchemafor the testBase64String EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
jsonWithBindValues
public com.fasterxml.jackson.databind.node.ObjectNode jsonWithBindValues(String queryResponseDef, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thejsonof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
json
public com.fasterxml.jackson.databind.node.ObjectNode json(String queryResponseDef, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thejsonof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithBindValues
public com.fasterxml.jackson.databind.node.ObjectNode jsonWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
json
public com.fasterxml.jackson.databind.node.ObjectNode json(com.graphql_java_generator.client.request.ObjectResponse objectResponse, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonResponseBuilder
public com.graphql_java_generator.client.request.Builder getJsonResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionTest of JSON scalar, for issue #205
Get theBuilderfor the ObjectNode, as expected by the json query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getJsonGraphQLRequest
public GraphQLRequestMySchema getJsonGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Test of JSON scalar, for issue #205
Get theGraphQLRequestMySchemafor the json EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.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 com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thejsonsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsons
public List<com.fasterxml.jackson.databind.node.ObjectNode> jsons(String queryResponseDef, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thejsonsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithBindValues
public List<com.fasterxml.jackson.databind.node.ObjectNode> jsonsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsons
public List<com.fasterxml.jackson.databind.node.ObjectNode> jsons(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonsResponseBuilder
public com.graphql_java_generator.client.request.Builder getJsonsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the ObjectNode, as expected by the jsons query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getJsonsGraphQLRequest
public GraphQLRequestMySchema getJsonsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the jsons EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
jsonWithInputWithBindValues
public CTP_TypeWithJson_CTS jsonWithInputWithBindValues(String queryResponseDef, CINP_InputWithJson_CINS input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thejsonWithInputof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithInput
public CTP_TypeWithJson_CTS jsonWithInput(String queryResponseDef, CINP_InputWithJson_CINS input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thejsonWithInputof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithInputWithBindValues
public CTP_TypeWithJson_CTS jsonWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_InputWithJson_CINS input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithInput
public CTP_TypeWithJson_CTS jsonWithInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_InputWithJson_CINS input, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonWithInputResponseBuilder
public com.graphql_java_generator.client.request.Builder getJsonWithInputResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_TypeWithJson_CTS, as expected by the jsonWithInput query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getJsonWithInputGraphQLRequest
public GraphQLRequestMySchema getJsonWithInputGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the jsonWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
jsonsWithInputWithBindValues
public List<CTP_TypeWithJson_CTS> jsonsWithInputWithBindValues(String queryResponseDef, List<CINP_InputWithJson_CINS> input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thejsonsWithInputof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInput
public List<CTP_TypeWithJson_CTS> jsonsWithInput(String queryResponseDef, List<CINP_InputWithJson_CINS> input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 thejsonsWithInputof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInputWithBindValues
public List<CTP_TypeWithJson_CTS> jsonsWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<CINP_InputWithJson_CINS> input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInput
public List<CTP_TypeWithJson_CTS> jsonsWithInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<CINP_InputWithJson_CINS> input, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonsWithInputResponseBuilder
public com.graphql_java_generator.client.request.Builder getJsonsWithInputResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_TypeWithJson_CTS, as expected by the jsonsWithInput query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getJsonsWithInputGraphQLRequest
public GraphQLRequestMySchema getJsonsWithInputGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the jsonsWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
objectWithBindValues
public Object objectWithBindValues(String queryResponseDef, Object object, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theobjectof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
object
public Object object(String queryResponseDef, Object object, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theobjectof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectWithBindValues
public Object objectWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object object, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
object
public Object object(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object object, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getObjectResponseBuilder
public com.graphql_java_generator.client.request.Builder getObjectResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the Object, as expected by the object query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getObjectGraphQLRequest
public GraphQLRequestMySchema getObjectGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the object EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
objectsWithBindValues
public List<Object> objectsWithBindValues(String queryResponseDef, List<Object> objects, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theobjectsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objects
public List<Object> objects(String queryResponseDef, List<Object> objects, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theobjectsof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithBindValues
public List<Object> objectsWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<Object> objects, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objects
public List<Object> objects(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<Object> objects, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getObjectsResponseBuilder
public com.graphql_java_generator.client.request.Builder getObjectsResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the Object, as expected by the objects query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getObjectsGraphQLRequest
public GraphQLRequestMySchema getObjectsGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the objects EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
objectWithInputWithBindValues
public CTP_TypeWithObject_CTS objectWithInputWithBindValues(String queryResponseDef, CINP_InputWithObject_CINS input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theobjectWithInputof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectWithInput
public CTP_TypeWithObject_CTS objectWithInput(String queryResponseDef, CINP_InputWithObject_CINS input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theobjectWithInputof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectWithInputWithBindValues
public CTP_TypeWithObject_CTS objectWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_InputWithObject_CINS input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectWithInput
public CTP_TypeWithObject_CTS objectWithInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, CINP_InputWithObject_CINS input, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getObjectWithInputResponseBuilder
public com.graphql_java_generator.client.request.Builder getObjectWithInputResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_TypeWithObject_CTS, as expected by the objectWithInput query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getObjectWithInputGraphQLRequest
public GraphQLRequestMySchema getObjectWithInputGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the objectWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
objectsWithInputWithBindValues
public List<CTP_TypeWithObject_CTS> objectsWithInputWithBindValues(String queryResponseDef, List<CINP_InputWithObject_CINS> input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theobjectsWithInputof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInput
public List<CTP_TypeWithObject_CTS> objectsWithInput(String queryResponseDef, List<CINP_InputWithObject_CINS> input, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 theobjectsWithInputof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInputWithBindValues
public List<CTP_TypeWithObject_CTS> objectsWithInputWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<CINP_InputWithObject_CINS> input, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInput
public List<CTP_TypeWithObject_CTS> objectsWithInput(com.graphql_java_generator.client.request.ObjectResponse objectResponse, List<CINP_InputWithObject_CINS> input, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getObjectsWithInputResponseBuilder
public com.graphql_java_generator.client.request.Builder getObjectsWithInputResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_TypeWithObject_CTS, as expected by the objectsWithInput query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getObjectsWithInputGraphQLRequest
public GraphQLRequestMySchema getObjectsWithInputGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the objectsWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
relayWithBindValues
public CTP_MyQueryType_CTS relayWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 therelayof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
relay
public CTP_MyQueryType_CTS relay(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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 therelayof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
relayWithBindValues
public CTP_MyQueryType_CTS relayWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
relay
public CTP_MyQueryType_CTS relay(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getRelayResponseBuilder
public com.graphql_java_generator.client.request.Builder getRelayResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP_MyQueryType_CTS, as expected by the relay query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
getRelayGraphQLRequest
public GraphQLRequestMySchema getRelayGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the relay EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
__schemaWithBindValues
public CTP___Schema_CTS __schemaWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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__schemaof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__schema
public CTP___Schema_CTS __schema(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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__schemaof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__schemaWithBindValues
public CTP___Schema_CTS __schemaWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__schema
public CTP___Schema_CTS __schema(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
get__schemaResponseBuilder
public com.graphql_java_generator.client.request.Builder get__schemaResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP___Schema_CTS, as expected by the __schema query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
get__schemaGraphQLRequest
public GraphQLRequestMySchema get__schemaGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the __schema EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
__typeWithBindValues
public CTP___Type_CTS __typeWithBindValues(String queryResponseDef, String name, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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__typeof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__type
public CTP___Type_CTS __type(String queryResponseDef, String name, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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__typeof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typeWithBindValues
public CTP___Type_CTS __typeWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String name, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__type
public CTP___Type_CTS __type(com.graphql_java_generator.client.request.ObjectResponse objectResponse, String name, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
get__typeResponseBuilder
public com.graphql_java_generator.client.request.Builder get__typeResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the CTP___Type_CTS, as expected by the __type query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
get__typeGraphQLRequest
public GraphQLRequestMySchema get__typeGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the __type EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
__typenameWithBindValues
public String __typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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__typenameof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typename
public String __typename(String queryResponseDef, Object... paramsAndValues) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.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__typenameof 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:
com.graphql_java_generator.exception.GraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponsecom.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typenameWithBindValues
public String __typenameWithBindValues(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Map<String, Object> parameters) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typename
public String __typename(com.graphql_java_generator.client.request.ObjectResponse objectResponse, Object... paramsAndValues) throws com.graphql_java_generator.exception.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: theObjectResponsetype of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestMySchema 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:
com.graphql_java_generator.exception.GraphQLRequestExecutionException- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
get__typenameResponseBuilder
public com.graphql_java_generator.client.request.Builder get__typenameResponseBuilder() throws com.graphql_java_generator.exception.GraphQLRequestPreparationExceptionGet theBuilderfor the String, as expected by the __typename query.- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-
get__typenameGraphQLRequest
public GraphQLRequestMySchema get__typenameGraphQLRequest(String partialRequest) throws com.graphql_java_generator.exception.GraphQLRequestPreparationException Get theGraphQLRequestMySchemafor the __typename EXECUTOR, created with the given Partial request.- Parameters:
partialRequest- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
com.graphql_java_generator.exception.GraphQLRequestPreparationException
-