Interface GraphQLEndpoint

All Superinterfaces:
FederationMember
All Known Implementing Classes:
GraphQLEndpointImpl

public interface GraphQLEndpoint extends FederationMember
  • Method Details

    • getURL

      String getURL()
      Returns the URL at which this GraphQL endpoint can be reached.
    • getSchema

      GraphQLSchema getSchema()
    • supportsMoreThanTriplePatterns

      default boolean supportsMoreThanTriplePatterns()
      Description copied from interface: FederationMember
      Returns false if the only types of graph patterns that can be answered by a single request to this federation member are triple patterns.

      Notice that a return value of true does not mean that the federation member supports arbitrary graph patterns, but only that it supports more than only triple patterns. For a more specific way of checking, use FederationMember.isSupportedPattern(SPARQLGraphPattern).

      Specified by:
      supportsMoreThanTriplePatterns in interface FederationMember
    • isSupportedPattern

      default boolean isSupportedPattern(SPARQLGraphPattern p)
      Description copied from interface: FederationMember
      Returns true if this federation member supports answering the given graph patterns in a single request.
      Specified by:
      isSupportedPattern in interface FederationMember