Class RemovePairsOfG2lAndL2g
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.loptimizer.heuristics.RemovePairsOfG2lAndL2g
- All Implemented Interfaces:
HeuristicForLogicalOptimization
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(LogicalPlan inputPlan) Applies this heuristics to the given plan and returns the resulting, potentially rewritten plan.static boolean
If a pair of g2l and l2g operators use the same vocabulary mapping, these two operators can be omitted
-
Constructor Details
-
RemovePairsOfG2lAndL2g
public RemovePairsOfG2lAndL2g()
-
-
Method Details
-
apply
Description copied from interface:HeuristicForLogicalOptimization
Applies this heuristics to the given plan and returns the resulting, potentially rewritten plan.- Specified by:
apply
in interfaceHeuristicForLogicalOptimization
-
checkIfG2lAndL2gPairsRemovable
If a pair of g2l and l2g operators use the same vocabulary mapping, these two operators can be omitted
-