Class CardinalityBasedGreedyJoinPlanOptimizerImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.simple.JoinPlanOptimizerBase
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.simple.CardinalityBasedGreedyJoinPlanOptimizerImpl
- All Implemented Interfaces:
JoinPlanOptimizer
This class implements a query optimizer[1] that builds left-deep query plans,
for which it uses a greedy approach to determine the join order based on cardinality estimation,
and then choose physical algorithm according to the estimated number of request to execute the join.
[1] Heling, Lars, and Maribel Acosta. "Federated SPARQL query processing over heterogeneous linked data fragments." Proceedings of the ACM Web Conference 2022.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
Nested classes/interfaces inherited from class se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.simple.JoinPlanOptimizerBase
JoinPlanOptimizerBase.EnumerationAlgorithm
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.simple.JoinPlanOptimizerBase
determineJoinPlan
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.simple.JoinPlanOptimizer
determineJoinPlan
-
Field Details
-
fedAccessMgr
-
-
Constructor Details
-
CardinalityBasedGreedyJoinPlanOptimizerImpl
-
-
Method Details
-
initializeEnumerationAlgorithm
public JoinPlanOptimizerBase.EnumerationAlgorithm initializeEnumerationAlgorithm(List<PhysicalPlan> subplans) - Specified by:
initializeEnumerationAlgorithm
in classJoinPlanOptimizerBase
-