Package org.allGraphQLCases.demo
Interface PartialQueries
- All Known Subinterfaces:
PartialRequestGraphQLRepository
- All Known Implementing Classes:
PartialDirectQueries,PartialPreparedQueries,PartialPreparedQueriesDeprecatedWay
public interface PartialQueries
These are samples of partialQueries that can be used with GraphQL against the allGraphQLCases GraphQL schema. There
are implemented in three ways in these classes:
You can see use of these partialQueries in the JUnit tests.
These samples tests the execution of partial partialQueries, that is: calling for one of the query, mutation or subscription that is defined in a Query, a Mutation or a Subscription object.
For instance:
PartialDirectQueries, PartialWithBuilder,
PartialPreparedQueries.You can see use of these partialQueries in the JUnit tests.
These samples tests the execution of partial partialQueries, that is: calling for one of the query, mutation or subscription that is defined in a Query, a Mutation or a Subscription object.
For instance:
CIP_Character_CIS character = query.withEnum("{id name appearsIn homePlanet friends{name}}", "180");
- Author:
- etienne-sf
-
Method Summary
Modifier and TypeMethodDescriptionaBreak(CEP_extends_CES test, String $if) allFieldCases(CINP_AllFieldCasesInput_CINS allFieldCasesInput, Boolean uppercase, String textToAppendToTheForname, long nbItemsWithId, Date date, OffsetDateTime dateTime, List<Date> dates, Boolean uppercaseNameList, String textToAppendToTheFornameWithId, CINP_FieldParameterInput_CINS input, int nbItemsWithoutId, CINP_FieldParameterInput_CINS inputList, String textToAppendToTheFornameWithoutId) createHuman(CINP_HumanInput_CINS human) withEnum(CEP_Episode_CES episode) withList(String name, List<CINP_CharacterInput_CINS> friends) withOneMandatoryParam(CINP_CharacterInput_CINS character) withOneOptionalParam(CINP_CharacterInput_CINS character)
-
Method Details
-
withoutParameters
List<CIP_Character_CIS> withoutParameters() throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException- Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withOneOptionalParam
CIP_Character_CIS withOneOptionalParam(CINP_CharacterInput_CINS character) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withOneMandatoryParam
CIP_Character_CIS withOneMandatoryParam(CINP_CharacterInput_CINS character) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withEnum
CIP_Character_CIS withEnum(CEP_Episode_CES episode) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-
withList
List<CIP_Character_CIS> withList(String name, List<CINP_CharacterInput_CINS> friends) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-
error
CIP_Character_CIS error(String errorLabel) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-
allFieldCases
CTP_AllFieldCases_CTS allFieldCases(CINP_AllFieldCasesInput_CINS allFieldCasesInput, Boolean uppercase, String textToAppendToTheForname, long nbItemsWithId, Date date, OffsetDateTime dateTime, List<Date> dates, Boolean uppercaseNameList, String textToAppendToTheFornameWithId, CINP_FieldParameterInput_CINS input, int nbItemsWithoutId, CINP_FieldParameterInput_CINS inputList, String textToAppendToTheFornameWithoutId) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-
aBreak
CTP_break_CTS aBreak(CEP_extends_CES test, String $if) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-
createHuman
CTP_Human_CTS createHuman(CINP_HumanInput_CINS human) throws com.graphql_java_generator.exception.GraphQLRequestExecutionException, com.graphql_java_generator.exception.GraphQLRequestPreparationException - Throws:
com.graphql_java_generator.exception.GraphQLRequestExecutionExceptioncom.graphql_java_generator.exception.GraphQLRequestPreparationException
-