Package org.allGraphQLCases.server
Interface DataFetchersDelegateMyQueryType
- All Known Implementing Classes:
DataFetchersDelegateMyQueryTypeImpl
public interface DataFetchersDelegateMyQueryType
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when
fetching fields for the MyQueryType GraphQL type, as defined in the provided GraphQL schema. Please read the
wiki server page
for more information on this.
- Author:
- generated by graphql-java-generator
- See Also:
-
Method Summary
Modifier and TypeMethodDescription_if(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.if._implements(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, String _if) Description for the implements field:
Test for PR 177 (on server side, the returned value is the content of the if input parameter)
This method loads the data for MyQueryType.implements._import(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.import._instanceof(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.instanceof._int(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.int._interface(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.interface._long(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.long._native(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.native._new(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.new._null(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the null field:
Issue #188: null is not identified as a java keyword
This method loads the data for MyQueryType.null._package(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.package._private(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.private._protected(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.protected._public(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.public._return(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.return._short(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.short._static(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.static._strictfp(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.strictfp._super(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.super._switch(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.switch._synchronized(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.synchronized._this(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.this._throw(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.throw._throws(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.throws._transient(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.transient._try(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.try._void(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.void._volatile(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.volatile._while(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.while.aBreak(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the aBreak field:
Check for GraphQL identifier that are java keywords
This method loads the data for MyQueryType.aBreak.allFieldCases(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_AllFieldCasesInput_SINS input) Description for the allFieldCases field:
################################################################################ # Complementary tests with the AllFieldCases Object
This method loads the data for MyQueryType.allFieldCases.connectionOnHuman(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, String planet, SEP_Episode_SES episode) This method loads the data for MyQueryType.connectionOnHuman.connectionWithoutParameters(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.connectionWithoutParameters.directiveOnField(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the directiveOnField field:
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the @directiveOnQuerydirectiveOnQuery(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, Boolean uppercase) Description for the directiveOnQuery field:
# Returns the value, and potentially the anotherValue of the @testDirective directive set on the directiveOnQuery queryenumWithReservedJavaKeywordAsValues(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the enumWithReservedJavaKeywordAsValues field:
test for issue #139 (use of java reserved keyword)
This method loads the data for MyQueryType.enumWithReservedJavaKeywordAsValues.Description for the error field:
################################################################################ # error always returns an error!foo140(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the foo140 field:
test for issue #140 (error for type that implements multiple interfaces)
This method loads the data for MyQueryType.foo140.issue128(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the issue128 field:
test for issue #128 (compilation error when a Query returns a type 'Client')
This method loads the data for MyQueryType.issue128.This method loads the data for MyQueryType.issue200.Description for the Issue217 field:
Issue 217: issue when a field name starts with an uppercase letter
This method loads the data for MyQueryType.Issue217.Description for the issue53 field:
#issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method loads the data for MyQueryType.issue53.issue82Float(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, Double aFloat) Description for the issue82Float field:
#issue82 is about hard coded values as parameters.This method loads the data for MyQueryType.issue82ID.json(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, com.fasterxml.jackson.databind.node.ObjectNode json) Description for the json field:
Test of JSON scalar, for issue #205
This method loads the data for MyQueryType.json.jsons(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons) This method loads the data for MyQueryType.jsons.jsonsWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<SINP_InputWithJson_SINS> input) This method loads the data for MyQueryType.jsonsWithInput.jsonWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_InputWithJson_SINS input) This method loads the data for MyQueryType.jsonWithInput.listOfEnumWithReservedJavaKeywordAsValues(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SEP_EnumWithReservedJavaKeywordAsValues_SES param1, List<SEP_EnumWithReservedJavaKeywordAsValues_SES> param2) This method loads the data for MyQueryType.listOfEnumWithReservedJavaKeywordAsValues.This method loads the data for MyQueryType.object.This method loads the data for MyQueryType.objects.objectsWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<SINP_InputWithObject_SINS> input) This method loads the data for MyQueryType.objectsWithInput.objectWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_InputWithObject_SINS input) This method loads the data for MyQueryType.objectWithInput.relay(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.relay.reservedJavaKeywordAllFieldCases(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.reservedJavaKeywordAllFieldCases.returnEnum(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.returnEnum.returnListOfEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.returnListOfEnums.returnListOfListOfEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.returnListOfListOfEnums.returnListOfMandatoryEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.returnListOfMandatoryEnums.returnMandatoryEnum(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.returnMandatoryEnum.returnMandatoryListOfEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.returnMandatoryListOfEnums.returnMandatoryListOfMandatoryEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.returnMandatoryListOfMandatoryEnums.testBase64String(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, byte[] input) Description for the testBase64String field:
Test for issue #174: a custom scalar which Java type is an array
This method loads the data for MyQueryType.testBase64String.unionTest(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_HumanInput_SINS human1, SINP_HumanInput_SINS human2, SINP_DroidInput_SINS droid1, SINP_DroidInput_SINS droid2) Description for the unionTest field:
################################################################################ # Test for unions
This method loads the data for MyQueryType.unionTest.withEnum(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SEP_Episode_SES episode) This method loads the data for MyQueryType.withEnum.withList(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, String firstName, List<SINP_CharacterInput_SINS> characters) Description for the withList field:
################################################################################ # withList return a list of Characters, matching the given list of CharacterInputwithListOfList(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<List<Double>> matrix) This method loads the data for MyQueryType.withListOfList.withOneMandatoryParam(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_CharacterInput_SINS character) This method loads the data for MyQueryType.withOneMandatoryParam.withOneMandatoryParamDefaultValue(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, Integer intParam) This method loads the data for MyQueryType.withOneMandatoryParamDefaultValue.withOneOptionalParam(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_CharacterInput_SINS character) This method loads the data for MyQueryType.withOneOptionalParam.withoutParameters(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the withoutParameters field:
This is a description to describe the field withoutParameters on two lines
This method loads the data for MyQueryType.withoutParameters.withTwoMandatoryParamDefaultVal(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_DroidInput_SINS theHero, Integer num) This method loads the data for MyQueryType.withTwoMandatoryParamDefaultVal.
-
Method Details
-
withoutParameters
Description for the withoutParameters field:
This is a description to describe the field withoutParameters on two lines
This method loads the data for MyQueryType.withoutParameters. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.SIP_Character_SIS>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.SIP_Character_SIS>> or a Flux<List<org.allGraphQLCases.server.SIP_Character_SIS>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.SIP_Character_SIS>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.SIP_Character_SIS>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
withOneOptionalParam
Object withOneOptionalParam(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_CharacterInput_SINS character) This method loads the data for MyQueryType.withOneOptionalParam. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SIP_Character_SIS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SIP_Character_SIS> or a Flux<org.allGraphQLCases.server.SIP_Character_SIS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SIP_Character_SIS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SIP_Character_SIS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetchercharacter- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
withOneMandatoryParam
Object withOneMandatoryParam(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_CharacterInput_SINS character) This method loads the data for MyQueryType.withOneMandatoryParam. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SIP_Character_SIS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SIP_Character_SIS> or a Flux<org.allGraphQLCases.server.SIP_Character_SIS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SIP_Character_SIS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SIP_Character_SIS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetchercharacter- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
withOneMandatoryParamDefaultValue
Object withOneMandatoryParamDefaultValue(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, Integer intParam) This method loads the data for MyQueryType.withOneMandatoryParamDefaultValue. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.Integer)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.Integer> or a Flux<java.lang.Integer>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.Integer>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.Integer>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherintParam- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
withTwoMandatoryParamDefaultVal
Object withTwoMandatoryParamDefaultVal(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_DroidInput_SINS theHero, Integer num) This method loads the data for MyQueryType.withTwoMandatoryParamDefaultVal. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_Droid_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_Droid_STS> or a Flux<org.allGraphQLCases.server.STP_Droid_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_Droid_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_Droid_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetchertheHero- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.num- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
withEnum
Object withEnum(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SEP_Episode_SES episode) This method loads the data for MyQueryType.withEnum. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SIP_Character_SIS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SIP_Character_SIS> or a Flux<org.allGraphQLCases.server.SIP_Character_SIS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SIP_Character_SIS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SIP_Character_SIS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherepisode- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
withListOfList
Object withListOfList(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<List<Double>> matrix) This method loads the data for MyQueryType.withListOfList. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_AllFieldCases_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_AllFieldCases_STS> or a Flux<org.allGraphQLCases.server.STP_AllFieldCases_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_AllFieldCases_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_AllFieldCases_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetchermatrix- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
withList
Object withList(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, String firstName, List<SINP_CharacterInput_SINS> characters) Description for the withList field:
################################################################################ # 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 loads the data for MyQueryType.withList. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.SIP_Character_SIS>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.SIP_Character_SIS>> or a Flux<List<org.allGraphQLCases.server.SIP_Character_SIS>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.SIP_Character_SIS>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.SIP_Character_SIS>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherfirstName- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.characters- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
allFieldCases
Object allFieldCases(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_AllFieldCasesInput_SINS input) Description for the allFieldCases field:
################################################################################ # Complementary tests with the AllFieldCases Object
This method loads the data for MyQueryType.allFieldCases. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_AllFieldCases_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_AllFieldCases_STS> or a Flux<org.allGraphQLCases.server.STP_AllFieldCases_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_AllFieldCases_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_AllFieldCases_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherinput- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
unionTest
Object unionTest(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_HumanInput_SINS human1, SINP_HumanInput_SINS human2, SINP_DroidInput_SINS droid1, SINP_DroidInput_SINS droid2) Description for the unionTest field:
################################################################################ # Test for unions
This method loads the data for MyQueryType.unionTest. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.SUP_AnyCharacter_SUS>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.SUP_AnyCharacter_SUS>> or a Flux<List<org.allGraphQLCases.server.SUP_AnyCharacter_SUS>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.SUP_AnyCharacter_SUS>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.SUP_AnyCharacter_SUS>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherhuman1- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.human2- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.droid1- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.droid2- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
error
Description for the error field:
################################################################################ # error always returns an error! (used to check the error management)
This method loads the data for MyQueryType.error. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SIP_Character_SIS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SIP_Character_SIS> or a Flux<org.allGraphQLCases.server.SIP_Character_SIS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SIP_Character_SIS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SIP_Character_SIS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetchererrorLabel- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
aBreak
Description for the aBreak field:
Check for GraphQL identifier that are java keywords
This method loads the data for MyQueryType.aBreak. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_break_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_break_STS> or a Flux<org.allGraphQLCases.server.STP_break_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_break_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_break_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
directiveOnQuery
Object directiveOnQuery(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, Boolean uppercase) Description for the directiveOnQuery field:
# 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 loads the data for MyQueryType.directiveOnQuery. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<java.lang.String>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<java.lang.String>> or a Flux<List<java.lang.String>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<java.lang.String>>
- A CompletableFuture<?>, for instance CompletableFuture<List<java.lang.String>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcheruppercase- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
directiveOnField
Description for the directiveOnField field:
# 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 loads the data for MyQueryType.directiveOnField. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SIP_Character_SIS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SIP_Character_SIS> or a Flux<org.allGraphQLCases.server.SIP_Character_SIS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SIP_Character_SIS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SIP_Character_SIS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
returnEnum
This method loads the data for MyQueryType.returnEnum. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES> or a Flux<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
returnMandatoryEnum
This method loads the data for MyQueryType.returnMandatoryEnum. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES> or a Flux<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
returnListOfEnums
This method loads the data for MyQueryType.returnListOfEnums. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>> or a Flux<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
returnListOfListOfEnums
This method loads the data for MyQueryType.returnListOfListOfEnums. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>> or a Flux<List<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>>
- A CompletableFuture<?>, for instance CompletableFuture<List<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
returnListOfMandatoryEnums
This method loads the data for MyQueryType.returnListOfMandatoryEnums. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>> or a Flux<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
returnMandatoryListOfEnums
This method loads the data for MyQueryType.returnMandatoryListOfEnums. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>> or a Flux<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
returnMandatoryListOfMandatoryEnums
Object returnMandatoryListOfMandatoryEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.returnMandatoryListOfMandatoryEnums. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>> or a Flux<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
connectionWithoutParameters
This method loads the data for MyQueryType.connectionWithoutParameters. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SIP_CharacterConnection_SIS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SIP_CharacterConnection_SIS> or a Flux<org.allGraphQLCases.server.SIP_CharacterConnection_SIS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SIP_CharacterConnection_SIS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SIP_CharacterConnection_SIS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
connectionOnHuman
Object connectionOnHuman(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, String planet, SEP_Episode_SES episode) This method loads the data for MyQueryType.connectionOnHuman. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_HumanConnection_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_HumanConnection_STS> or a Flux<org.allGraphQLCases.server.STP_HumanConnection_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_HumanConnection_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_HumanConnection_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherplanet- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.episode- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
issue53
Description for the issue53 field:
#issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method loads the data for MyQueryType.issue53. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.util.Date)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.util.Date> or a Flux<java.util.Date>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.util.Date>
- A CompletableFuture<?>, for instance CompletableFuture<java.util.Date>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherdate- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
issue200
This method loads the data for MyQueryType.issue200. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.Boolean)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.Boolean> or a Flux<java.lang.Boolean>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.Boolean>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.Boolean>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherparam- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
issue82Float
Description for the issue82Float field:
#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 loads the data for MyQueryType.issue82Float. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.Double)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.Double> or a Flux<java.lang.Double>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.Double>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.Double>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcheraFloat- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
issue82ID
This method loads the data for MyQueryType.issue82ID. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.util.UUID)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.util.UUID> or a Flux<java.util.UUID>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.util.UUID>
- A CompletableFuture<?>, for instance CompletableFuture<java.util.UUID>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcheraID- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
Issue217
Description for the Issue217 field:
Issue 217: issue when a field name starts with an uppercase letter
This method loads the data for MyQueryType.Issue217. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcheranArg- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
issue128
Description for the issue128 field:
test for issue #128 (compilation error when a Query returns a type 'Client')
This method loads the data for MyQueryType.issue128. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SIP_Client_SIS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SIP_Client_SIS> or a Flux<org.allGraphQLCases.server.SIP_Client_SIS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SIP_Client_SIS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SIP_Client_SIS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
enumWithReservedJavaKeywordAsValues
Object enumWithReservedJavaKeywordAsValues(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the enumWithReservedJavaKeywordAsValues field:
test for issue #139 (use of java reserved keyword)
This method loads the data for MyQueryType.enumWithReservedJavaKeywordAsValues. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES> or a Flux<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
listOfEnumWithReservedJavaKeywordAsValues
Object listOfEnumWithReservedJavaKeywordAsValues(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SEP_EnumWithReservedJavaKeywordAsValues_SES param1, List<SEP_EnumWithReservedJavaKeywordAsValues_SES> param2) This method loads the data for MyQueryType.listOfEnumWithReservedJavaKeywordAsValues. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>> or a Flux<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.SEP_EnumWithReservedJavaKeywordAsValues_SES>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherparam1- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.param2- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
reservedJavaKeywordAllFieldCases
Object reservedJavaKeywordAllFieldCases(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for MyQueryType.reservedJavaKeywordAllFieldCases. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_ReservedJavaKeywordAllFieldCases_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_ReservedJavaKeywordAllFieldCases_STS> or a Flux<org.allGraphQLCases.server.STP_ReservedJavaKeywordAllFieldCases_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_ReservedJavaKeywordAllFieldCases_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_ReservedJavaKeywordAllFieldCases_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_if
This method loads the data for MyQueryType.if. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_implements
Description for the implements field:
Test for PR 177 (on server side, the returned value is the content of the if input parameter)
This method loads the data for MyQueryType.implements. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherif- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_import
This method loads the data for MyQueryType.import. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_instanceof
This method loads the data for MyQueryType.instanceof. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_int
This method loads the data for MyQueryType.int. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_interface
This method loads the data for MyQueryType.interface. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_long
This method loads the data for MyQueryType.long. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_native
This method loads the data for MyQueryType.native. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_new
This method loads the data for MyQueryType.new. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_null
Description for the null field:
Issue #188: null is not identified as a java keyword
This method loads the data for MyQueryType.null. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_package
This method loads the data for MyQueryType.package. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_private
This method loads the data for MyQueryType.private. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_protected
This method loads the data for MyQueryType.protected. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_public
This method loads the data for MyQueryType.public. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_return
This method loads the data for MyQueryType.return. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_short
This method loads the data for MyQueryType.short. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_static
This method loads the data for MyQueryType.static. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_strictfp
This method loads the data for MyQueryType.strictfp. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_super
This method loads the data for MyQueryType.super. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_switch
This method loads the data for MyQueryType.switch. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_synchronized
This method loads the data for MyQueryType.synchronized. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_this
This method loads the data for MyQueryType.this. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_throw
This method loads the data for MyQueryType.throw. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_throws
This method loads the data for MyQueryType.throws. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_transient
This method loads the data for MyQueryType.transient. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_try
This method loads the data for MyQueryType.try. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_void
This method loads the data for MyQueryType.void. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_volatile
This method loads the data for MyQueryType.volatile. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
_while
This method loads the data for MyQueryType.while. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.String)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.String> or a Flux<java.lang.String>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.String>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.String>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
foo140
Description for the foo140 field:
test for issue #140 (error for type that implements multiple interfaces)
This method loads the data for MyQueryType.foo140. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_Foo140_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_Foo140_STS> or a Flux<org.allGraphQLCases.server.STP_Foo140_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_Foo140_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_Foo140_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
testBase64String
Object testBase64String(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, byte[] input) Description for the testBase64String field:
Test for issue #174: a custom scalar which Java type is an array
This method loads the data for MyQueryType.testBase64String. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a byte[])
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<byte[]> or a Flux<byte[]>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<byte[]>
- A CompletableFuture<?>, for instance CompletableFuture<byte[]>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherinput- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
json
Object json(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, com.fasterxml.jackson.databind.node.ObjectNode json) Description for the json field:
Test of JSON scalar, for issue #205
This method loads the data for MyQueryType.json. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a com.fasterxml.jackson.databind.node.ObjectNode)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<com.fasterxml.jackson.databind.node.ObjectNode> or a Flux<com.fasterxml.jackson.databind.node.ObjectNode>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<com.fasterxml.jackson.databind.node.ObjectNode>
- A CompletableFuture<?>, for instance CompletableFuture<com.fasterxml.jackson.databind.node.ObjectNode>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherjson- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
jsons
Object jsons(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons) This method loads the data for MyQueryType.jsons. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<com.fasterxml.jackson.databind.node.ObjectNode>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<com.fasterxml.jackson.databind.node.ObjectNode>> or a Flux<List<com.fasterxml.jackson.databind.node.ObjectNode>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<com.fasterxml.jackson.databind.node.ObjectNode>>
- A CompletableFuture<?>, for instance CompletableFuture<List<com.fasterxml.jackson.databind.node.ObjectNode>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherjsons- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
jsonWithInput
Object jsonWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_InputWithJson_SINS input) This method loads the data for MyQueryType.jsonWithInput. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_TypeWithJson_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_TypeWithJson_STS> or a Flux<org.allGraphQLCases.server.STP_TypeWithJson_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_TypeWithJson_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_TypeWithJson_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherinput- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
jsonsWithInput
Object jsonsWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<SINP_InputWithJson_SINS> input) This method loads the data for MyQueryType.jsonsWithInput. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.STP_TypeWithJson_STS>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.STP_TypeWithJson_STS>> or a Flux<List<org.allGraphQLCases.server.STP_TypeWithJson_STS>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.STP_TypeWithJson_STS>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.STP_TypeWithJson_STS>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherinput- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
object
This method loads the data for MyQueryType.object. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a java.lang.Object)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<java.lang.Object> or a Flux<java.lang.Object>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<java.lang.Object>
- A CompletableFuture<?>, for instance CompletableFuture<java.lang.Object>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherobject- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
objects
Object objects(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<Object> objects) This method loads the data for MyQueryType.objects. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<java.lang.Object>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<java.lang.Object>> or a Flux<List<java.lang.Object>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<java.lang.Object>>
- A CompletableFuture<?>, for instance CompletableFuture<List<java.lang.Object>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherobjects- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
objectWithInput
Object objectWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_InputWithObject_SINS input) This method loads the data for MyQueryType.objectWithInput. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_TypeWithObject_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_TypeWithObject_STS> or a Flux<org.allGraphQLCases.server.STP_TypeWithObject_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_TypeWithObject_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_TypeWithObject_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherinput- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
objectsWithInput
Object objectsWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<SINP_InputWithObject_SINS> input) This method loads the data for MyQueryType.objectsWithInput. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a List<org.allGraphQLCases.server.STP_TypeWithObject_STS>)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<List<org.allGraphQLCases.server.STP_TypeWithObject_STS>> or a Flux<List<org.allGraphQLCases.server.STP_TypeWithObject_STS>>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<List<org.allGraphQLCases.server.STP_TypeWithObject_STS>>
- A CompletableFuture<?>, for instance CompletableFuture<List<org.allGraphQLCases.server.STP_TypeWithObject_STS>>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcherinput- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-
relay
This method loads the data for MyQueryType.relay. It may return whatever is accepted by the Spring Controller, that is:- A resolved value of any type (typically, a org.allGraphQLCases.server.STP_MyQueryType_STS)
- Mono and Flux for asynchronous value(s). Supported for controller methods and for any DataFetcher as described in Reactive DataFetcher. This would typically be a Mono<org.allGraphQLCases.server.STP_MyQueryType_STS> or a Flux<org.allGraphQLCases.server.STP_MyQueryType_STS>
- Kotlin coroutine and Flow are adapted to Mono and Flux
- java.util.concurrent.Callable to have the value(s) produced asynchronously. For this to work, AnnotatedControllerConfigurer must be configured with an Executor. This would typically by a Callable<org.allGraphQLCases.server.STP_MyQueryType_STS>
- A CompletableFuture<?>, for instance CompletableFuture<org.allGraphQLCases.server.STP_MyQueryType_STS>. This allows to use graphql-java java-dataloader to highly optimize the number of requests to the server. The principle is this one: The data loader collects all the data to load, avoid to load several times the same data, and allows parallel execution of the queries, if multiple queries are to be run.
- A Publisher (instead of a Flux), for Subscription for instance
- Parameters:
dataFetchingEnvironment- The GraphQLDataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException- This method may return aNoSuchElementExceptionexception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use theOptional.get()method directly, without caring of whether or not there is a value. The generated code will take care of theNoSuchElementExceptionexception.
-