Class DataFetchersDelegateQueryTypeImpl

java.lang.Object
org.starwars.server.datafetchersdelegate.DataFetchersDelegateQueryTypeImpl
All Implemented Interfaces:
DataFetchersDelegateQueryType

@Component public class DataFetchersDelegateQueryTypeImpl extends Object implements DataFetchersDelegateQueryType
Author:
etienne-sf
  • Constructor Details

    • DataFetchersDelegateQueryTypeImpl

      public DataFetchersDelegateQueryTypeImpl()
  • Method Details

    • hero

      public Character hero(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, Episode episode)
      Description copied from interface: DataFetchersDelegateQueryType
      This method loads the data for QueryType.hero.
      Specified by:
      hero in interface DataFetchersDelegateQueryType
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      episode - The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.
    • characters

      public List<Character> characters(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, Episode episode)
      Description copied from interface: DataFetchersDelegateQueryType
      This method loads the data for QueryType.characters.
      Specified by:
      characters in interface DataFetchersDelegateQueryType
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      episode - The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.
    • human

      public Human human(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, UUID id)
      Description copied from interface: DataFetchersDelegateQueryType
      This method loads the data for QueryType.human.
      Specified by:
      human in interface DataFetchersDelegateQueryType
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      id - The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.
    • droid

      public Droid droid(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, UUID id)
      Description copied from interface: DataFetchersDelegateQueryType
      This method loads the data for QueryType.droid.
      Specified by:
      droid in interface DataFetchersDelegateQueryType
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      id - The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.