org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRulepublic class EliminateSubplanForSinglePathsRule extends Object implements org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
Before
plan__parent
SUBPLAN{
plan__nested
NESTEDTUPLESOURCE
}
plan__child
Where |plan__child| == 1
After
plan__parent
plan__nested
plan__child
| Constructor | Description |
|---|---|
EliminateSubplanForSinglePathsRule() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
rewritePost(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context) |
|
boolean |
rewritePre(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context) |
public boolean rewritePost(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context)
throws org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
rewritePost in interface org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRuleorg.apache.hyracks.algebricks.common.exceptions.AlgebricksExceptionpublic boolean rewritePre(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context)
rewritePre in interface org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRuleCopyright © 2019 Apache Software Foundation. All rights reserved.