Package org.allGraphQLCases.server
Interface DataFetchersDelegateTheSubscriptionType
- All Known Implementing Classes:
DataFetchersDelegateTheSubscriptionTypeImpl
public interface DataFetchersDelegateTheSubscriptionType
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when
fetching fields for the TheSubscriptionType 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 TheSubscriptionType.if._implements
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.implements._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 TheSubscriptionType.null.org.reactivestreams.Publisher<STP_AllFieldCases_STS>
allGraphQLCasesInput
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_AllFieldCasesInput_SINS input) Description for the allGraphQLCasesInput field:
Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method loads the data for TheSubscriptionType.allGraphQLCasesInput.org.reactivestreams.Publisher<STP_AllFieldCases_STS>
allGraphQLCasesParam
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, SINP_AllFieldCasesWithoutIdSubtypeInput_SINS oneWithoutIdSubtype, List<SINP_AllFieldCasesWithoutIdSubtypeInput_SINS> listWithoutIdSubtype) This method loads the data for TheSubscriptionType.allGraphQLCasesParam.org.reactivestreams.Publisher<Optional<SEP_EnumWithReservedJavaKeywordAsValues_SES>>
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 TheSubscriptionType.enumWithReservedJavaKeywordAsValues.org.reactivestreams.Publisher<Date>
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 TheSubscriptionType.issue53.org.reactivestreams.Publisher<Optional<com.fasterxml.jackson.databind.node.ObjectNode>>
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 TheSubscriptionType.json.jsons
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons) This method loads the data for TheSubscriptionType.jsons.org.reactivestreams.Publisher<List<STP_TypeWithJson_STS>>
jsonsWithInput
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<SINP_InputWithJson_SINS> input) This method loads the data for TheSubscriptionType.jsonsWithInput.org.reactivestreams.Publisher<Optional<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>>
listOfEnumWithReservedJavaKeywordAsValues
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues.org.reactivestreams.Publisher<List<STP_TypeWithObject_STS>>
objectsWithInput
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<SINP_InputWithObject_SINS> input) This method loads the data for TheSubscriptionType.objectsWithInput.org.reactivestreams.Publisher<Optional<SEP_EnumWithReservedJavaKeywordAsValues_SES>>
returnEnum
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnEnum.org.reactivestreams.Publisher<Optional<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>>
returnListOfEnums
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnListOfEnums.org.reactivestreams.Publisher<Optional<List<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>>>
returnListOfListOfEnums
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnListOfListOfEnums.org.reactivestreams.Publisher<Optional<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>>
returnListOfMandatoryEnums
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnListOfMandatoryEnums.org.reactivestreams.Publisher<SEP_EnumWithReservedJavaKeywordAsValues_SES>
returnMandatoryEnum
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SEP_EnumWithReservedJavaKeywordAsValues_SES _enum) This method loads the data for TheSubscriptionType.returnMandatoryEnum.org.reactivestreams.Publisher<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>
returnMandatoryListOfEnums
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnMandatoryListOfEnums.org.reactivestreams.Publisher<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>
returnMandatoryListOfMandatoryEnums
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnMandatoryListOfMandatoryEnums.org.reactivestreams.Publisher<STP_Human_STS>
subscribeNewHumanForEpisode
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SEP_Episode_SES episode) Description for the subscribeNewHumanForEpisode field:
Will be notified for each Human added to this Episode
This method loads the data for TheSubscriptionType.subscribeNewHumanForEpisode.subscribeToAList
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the subscribeToAList field:
Issue 54
This method loads the data for TheSubscriptionType.subscribeToAList.subscribeToAListOfScalars
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.subscribeToAListOfScalars.org.reactivestreams.Publisher<String>
subscriptionTest
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_SubscriptionTestParam_SINS param) Description for the subscriptionTest field:
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method loads the data for TheSubscriptionType.subscriptionTest.subscriptionWithNullResponse
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the subscriptionWithNullResponse field:
Issue 122: Check Subscription behavior when notification response is null
This method loads the data for TheSubscriptionType.subscriptionWithNullResponse.
-
Method Details
-
subscribeNewHumanForEpisode
org.reactivestreams.Publisher<STP_Human_STS> subscribeNewHumanForEpisode(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SEP_Episode_SES episode) Description for the subscribeNewHumanForEpisode field:
Will be notified for each Human added to this Episode
This method loads the data for TheSubscriptionType.subscribeNewHumanForEpisode.- 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 aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
subscribeToAList
org.reactivestreams.Publisher<List<Integer>> subscribeToAList(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the subscribeToAList field:
Issue 54
This method loads the data for TheSubscriptionType.subscribeToAList.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
subscribeToAListOfScalars
org.reactivestreams.Publisher<Optional<List<Date>>> subscribeToAListOfScalars(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.subscribeToAListOfScalars.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
issue53
org.reactivestreams.Publisher<Date> issue53(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, Date date) 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 TheSubscriptionType.issue53.- 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 aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
allGraphQLCasesInput
org.reactivestreams.Publisher<STP_AllFieldCases_STS> allGraphQLCasesInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_AllFieldCasesInput_SINS input) Description for the allGraphQLCasesInput field:
Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method loads the data for TheSubscriptionType.allGraphQLCasesInput.- 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 aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
allGraphQLCasesParam
org.reactivestreams.Publisher<STP_AllFieldCases_STS> allGraphQLCasesParam(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, SINP_AllFieldCasesWithoutIdSubtypeInput_SINS oneWithoutIdSubtype, List<SINP_AllFieldCasesWithoutIdSubtypeInput_SINS> listWithoutIdSubtype) This method loads the data for TheSubscriptionType.allGraphQLCasesParam.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcherid
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.name
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.age
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.integer
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.date
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.dates
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.matrix
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.oneWithoutIdSubtype
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.listWithoutIdSubtype
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
subscriptionTest
org.reactivestreams.Publisher<String> subscriptionTest(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_SubscriptionTestParam_SINS param) Description for the subscriptionTest field:
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method loads the data for TheSubscriptionType.subscriptionTest.- 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 aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
returnEnum
org.reactivestreams.Publisher<Optional<SEP_EnumWithReservedJavaKeywordAsValues_SES>> returnEnum(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnEnum.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
returnMandatoryEnum
org.reactivestreams.Publisher<SEP_EnumWithReservedJavaKeywordAsValues_SES> returnMandatoryEnum(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SEP_EnumWithReservedJavaKeywordAsValues_SES _enum) This method loads the data for TheSubscriptionType.returnMandatoryEnum.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcherenum
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
returnListOfEnums
org.reactivestreams.Publisher<Optional<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>> returnListOfEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnListOfEnums.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
returnListOfMandatoryEnums
org.reactivestreams.Publisher<Optional<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>> returnListOfMandatoryEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnListOfMandatoryEnums.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
returnListOfListOfEnums
org.reactivestreams.Publisher<Optional<List<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>>> returnListOfListOfEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnListOfListOfEnums.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
returnMandatoryListOfEnums
org.reactivestreams.Publisher<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>> returnMandatoryListOfEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnMandatoryListOfEnums.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
returnMandatoryListOfMandatoryEnums
org.reactivestreams.Publisher<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>> returnMandatoryListOfMandatoryEnums(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.returnMandatoryListOfMandatoryEnums.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
subscriptionWithNullResponse
org.reactivestreams.Publisher<Optional<String>> subscriptionWithNullResponse(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the subscriptionWithNullResponse field:
Issue 122: Check Subscription behavior when notification response is null
This method loads the data for TheSubscriptionType.subscriptionWithNullResponse.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
enumWithReservedJavaKeywordAsValues
org.reactivestreams.Publisher<Optional<SEP_EnumWithReservedJavaKeywordAsValues_SES>> 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 TheSubscriptionType.enumWithReservedJavaKeywordAsValues.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
listOfEnumWithReservedJavaKeywordAsValues
org.reactivestreams.Publisher<Optional<List<SEP_EnumWithReservedJavaKeywordAsValues_SES>>> listOfEnumWithReservedJavaKeywordAsValues(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
_if
org.reactivestreams.Publisher<Optional<String>> _if(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.if.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
_implements
org.reactivestreams.Publisher<Optional<String>> _implements(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for TheSubscriptionType.implements.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
_null
org.reactivestreams.Publisher<Optional<String>> _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 TheSubscriptionType.null.- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher- Throws:
NoSuchElementException
- This method may return aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
json
org.reactivestreams.Publisher<Optional<com.fasterxml.jackson.databind.node.ObjectNode>> 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 TheSubscriptionType.json.- 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 aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
jsons
org.reactivestreams.Publisher<Optional<List<com.fasterxml.jackson.databind.node.ObjectNode>>> jsons(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons) This method loads the data for TheSubscriptionType.jsons.- 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 aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
jsonsWithInput
org.reactivestreams.Publisher<List<STP_TypeWithJson_STS>> jsonsWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<SINP_InputWithJson_SINS> input) This method loads the data for TheSubscriptionType.jsonsWithInput.- 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 aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-
objectsWithInput
org.reactivestreams.Publisher<List<STP_TypeWithObject_STS>> objectsWithInput(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<SINP_InputWithObject_SINS> input) This method loads the data for TheSubscriptionType.objectsWithInput.- 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 aNoSuchElementException
exception. 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 theNoSuchElementException
exception.
-