Interface FederatedServiceResolver
-
- All Known Subinterfaces:
EvaluationStrategy
- All Known Implementing Classes:
AbstractFederatedServiceResolver
,DefaultEvaluationStrategy
,DelegateFederatedServiceResolver
,ExtendedEvaluationStrategy
,FederationEvalStrategy
,SailFederationEvalStrategy
,SparqlFederationEvalStrategy
,SPARQLServiceResolver
,StrictEvaluationStrategy
,TupleFunctionEvaluationStrategy
public interface FederatedServiceResolver
TheFederatedServiceResolver
is used to manage a set ofFederatedService
instances, 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 FederatedService
getService(String serviceUrl)
Retrieve theFederatedService
registered for serviceUrl.
-
-
-
Method Detail
-
getService
FederatedService getService(String serviceUrl) throws QueryEvaluationException
Retrieve theFederatedService
registered for serviceUrl. If there is no service registered for serviceUrl, a neworg.eclipse.rdf4j.query.algebra.evaluation.federation.SPARQLFederatedService
is 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.
-
-