Interface FederationMember
- All Known Subinterfaces:
BRTPFServer,GraphQLEndpoint,Neo4jServer,RDFBasedFederationMember,RESTEndpoint,SPARQLEndpoint,TPFServer,WrappedFederationMember,WrappedRESTEndpoint
- All Known Implementing Classes:
BaseForFederationMember,BaseForRDFBasedFederationMember,BRTPFServerImpl,GraphQLEndpointImpl,Neo4jServerImpl,RESTEndpointImpl,SPARQLEndpointImpl,TPFServerImpl,WrappedRESTEndpointImpl
public interface FederationMember
This interface captures any kind of federation member.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the authentication information of this federation member ornullif there is no authentication information for this federation member (in which case it can be assumed that this federation member can be accessed without authentication).intgetID()Returns an identifier of this federation member, which should be unique (independent of the type of federation member).Returns the (unique) service URI of this federation member.booleanReturnstrueif this federation member supports answering the given graph patterns in a single request.booleanReturnsfalseif the only types of graph patterns that can be answered by a single request to this federation member are triple patterns.
-
Method Details
-
getID
int getID()Returns an identifier of this federation member, which should be unique (independent of the type of federation member). -
getServiceURI
String getServiceURI()Returns the (unique) service URI of this federation member. The service URI is the URI via which the federation member is referred to in the SERVICE clauses. -
getAuthenticationInformation
AuthenticationInformation getAuthenticationInformation()Returns the authentication information of this federation member ornullif there is no authentication information for this federation member (in which case it can be assumed that this federation member can be accessed without authentication). -
supportsMoreThanTriplePatterns
boolean supportsMoreThanTriplePatterns()Returnsfalseif 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
truedoes 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, useisSupportedPattern(SPARQLGraphPattern). -
isSupportedPattern
Returnstrueif this federation member supports answering the given graph patterns in a single request.
-