Interface FederationAccessManager
- All Superinterfaces:
StatsProvider
- All Known Implementing Classes:
AsyncFederationAccessManagerImpl
,BlockingFederationAccessManagerImpl
,FederationAccessManagerBase1
,FederationAccessManagerBase2
,FederationAccessManagerWithCache
-
Method Summary
Modifier and TypeMethodDescriptiongetStats()
Requests the cardinality of the result of the given request.issueCardinalityRequest
(TPFRequest req, BRTPFServer fm) issueCardinalityRequest
(TPFRequest req, TPFServer fm) issueRequest
(BRTPFRequest req, BRTPFServer fm) issueRequest
(Neo4jRequest req, Neo4jServer fm) issueRequest
(SPARQLRequest req, SPARQLEndpoint fm) issueRequest
(TPFRequest req, BRTPFServer fm) issueRequest
(TPFRequest req, TPFServer fm) Methods inherited from interface se.liu.ida.hefquin.base.utils.StatsProvider
resetStats
-
Method Details
-
issueRequest
CompletableFuture<SolMapsResponse> issueRequest(SPARQLRequest req, SPARQLEndpoint fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueRequest
CompletableFuture<TPFResponse> issueRequest(TPFRequest req, TPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueRequest
CompletableFuture<TPFResponse> issueRequest(TPFRequest req, BRTPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueRequest
CompletableFuture<TPFResponse> issueRequest(BRTPFRequest req, BRTPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueRequest
CompletableFuture<RecordsResponse> issueRequest(Neo4jRequest req, Neo4jServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueCardinalityRequest
CompletableFuture<CardinalityResponse> issueCardinalityRequest(SPARQLRequest req, SPARQLEndpoint fm) throws FederationAccessException Requests the cardinality of the result of the given request. Assumes that the given request contains aSPARQLGraphPattern
rather than a fullSPARQLQuery
. If it does not, then this method throws anIllegalArgumentException
.- Throws:
FederationAccessException
-
issueCardinalityRequest
CompletableFuture<CardinalityResponse> issueCardinalityRequest(TPFRequest req, TPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueCardinalityRequest
CompletableFuture<CardinalityResponse> issueCardinalityRequest(TPFRequest req, BRTPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueCardinalityRequest
CompletableFuture<CardinalityResponse> issueCardinalityRequest(BRTPFRequest req, BRTPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
getStats
FederationAccessStats getStats()- Specified by:
getStats
in interfaceStatsProvider
-