Interface FederatedServiceResolver
-
- All Known Subinterfaces:
EvaluationStrategy
- All Known Implementing Classes:
AbstractFederatedServiceResolver,DefaultEvaluationStrategy,DelegateFederatedServiceResolver,ExtendedEvaluationStrategy,FederationEvalStrategy,SailFederationEvalStrategy,SparqlFederationEvalStrategy,SPARQLServiceResolver,StrictEvaluationStrategy,TupleFunctionEvaluationStrategy
public interface FederatedServiceResolverTheFederatedServiceResolveris used to manage a set ofFederatedServiceinstances, which are used to evaluate SERVICE expressions for particular service Urls.Lookup can be done via the serviceUrl using the method
getService(String).- Author:
- Andreas Schwarte, James Leigh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FederatedServicegetService(String serviceUrl)Retrieve theFederatedServiceregistered for serviceUrl.
-
-
-
Method Detail
-
getService
FederatedService getService(String serviceUrl) throws QueryEvaluationException
Retrieve theFederatedServiceregistered for serviceUrl. If there is no service registered for serviceUrl, a neworg.eclipse.rdf4j.query.algebra.evaluation.federation.SPARQLFederatedServiceis created and registered.- Parameters:
serviceUrl- locator for the federation service- Returns:
- the
FederatedService, created fresh if necessary - Throws:
QueryEvaluationException- If there was an exception generated while retrieving the service.
-
-