org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
public 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.IAlgebraicRewriteRule
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
public 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.IAlgebraicRewriteRule
Copyright © 2019 Apache Software Foundation. All rights reserved.