Class ApplyVocabularyMappings
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.loptimizer.ApplyVocabularyMappings
- All Implemented Interfaces:
 HeuristicForLogicalOptimization
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionapply(LogicalPlan inputPlan) Rewrites an initial logical plan into a second plan which incorporates translations of local to global vocabulary and request-operator rewriting.static LogicalPlanrewriteReqOf(SPARQLGraphPattern pattern, FederationMember fm) Creates a logical plan where all requests are TriplePatternRequests for use when a federation member's interface is a TPF-server.static LogicalPlanrewriteToUseLocalVocabulary(LogicalPlan inputPlan) Rewrites the given logical plan with a request operator as root into a logical plan that uses the local vocabulary of the federation member of the request. 
- 
Constructor Details
- 
ApplyVocabularyMappings
public ApplyVocabularyMappings() 
 - 
 - 
Method Details
- 
apply
Rewrites an initial logical plan into a second plan which incorporates translations of local to global vocabulary and request-operator rewriting. This method implements the rewriteLogPlan pseudocode of Helgesson's B.Sc thesis.- Specified by:
 applyin interfaceHeuristicForLogicalOptimization
 - 
rewriteToUseLocalVocabulary
Rewrites the given logical plan with a request operator as root into a logical plan that uses the local vocabulary of the federation member of the request. - 
rewriteReqOf
Creates a logical plan where all requests are TriplePatternRequests for use when a federation member's interface is a TPF-server. 
 -