Interface Queries
- All Known Implementing Classes:
PartialDirectRequests
,PartialPreparedRequests
public interface Queries
These are samples of queries that can be used with GraphQL against the Star Wars GraphQL schema. There are
implemented in three ways in these classes:
You can see use of these queries in the JUnit tests.
PartialDirectRequests
, WithBuilder
, PartialPreparedRequests
.You can see use of these queries in the JUnit tests.
- Author:
- etienne-sf
-
Method Summary
Modifier and TypeMethodDescriptioncreateHuman
(String name, String homePlanet) droidPartial
(String id) heroFriendsFriendsFriends
(Episode episode) heroFull()
heroPartial
(Episode episode) humanPartial
(String id)
-
Method Details
-
heroFull
-
heroPartial
Character heroPartial(Episode episode) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
heroFriendsFriendsFriends
Character heroFriendsFriendsFriends(Episode episode) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
humanFull
Human humanFull(String id) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
humanPartial
Human humanPartial(String id) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
humanFriendsFriendsFriends
Human humanFriendsFriendsFriends(String id) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
droidFull
Droid droidFull(String id) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
droidPartial
Droid droidPartial(String id) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
droidFriendsFriendsFriends
Droid droidFriendsFriendsFriends(String id) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
droidDoesNotExist
Droid droidDoesNotExist() throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
createHuman
Human createHuman(String name, String homePlanet) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
addFriend
Character addFriend(String idCharacter, String idNewFriend) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
-