Interface FederatedTypeResolver

  • All Implemented Interfaces:

    
    public interface FederatedTypeResolver
    
                        

    Abstraction that provides a convenient way to resolve underlying federated types based on the passed in _entities query representations. Entities need to be resolved in the same order they were specified by the list of representations. Each passed in representation should either be resolved to a target entity OR NULL if entity cannot be resolved.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String getTypeName() This is the GraphQL name of the type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getTypeName

         abstract String getTypeName()

        This is the GraphQL name of the type. It is used when running the resolvers and inspecting the GraphQL "__typename" property during the entities requests.