Class PullUpLtgOverUnion
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.loptimizer.heuristics.PullUpLtgOverUnion
- All Implemented Interfaces:
 HeuristicForLogicalOptimization
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionapply(LogicalPlan inputPlan) Applies this heuristics to the given plan and returns the resulting, potentially rewritten plan.static booleancheckIfLtgCanBeExtractedOverUnion(LogicalPlan unionPlan) Check if l2g operator can be pulled up over union by checking: i) the root operator is a union (binary or multiway), ii) every subplan under this join has an l2g operator as its root, and iii) all these l2g operators have the same vocab.mappingprotected static LogicalPlanextractLtgOverNaryOp(LogicalPlan inputPlan)  
- 
Constructor Details
- 
PullUpLtgOverUnion
public PullUpLtgOverUnion() 
 - 
 - 
Method Details
- 
apply
Description copied from interface:HeuristicForLogicalOptimizationApplies this heuristics to the given plan and returns the resulting, potentially rewritten plan.- Specified by:
 applyin interfaceHeuristicForLogicalOptimization
 - 
checkIfLtgCanBeExtractedOverUnion
Check if l2g operator can be pulled up over union by checking: i) the root operator is a union (binary or multiway), ii) every subplan under this join has an l2g operator as its root, and iii) all these l2g operators have the same vocab.mapping - 
extractLtgOverNaryOp
 
 -