org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRulepublic class RemoveUnusedUnnestIterateRule extends AbstractUsedVariablesProcessingRule
Before plan__parent UNNEST( $v2 : iterate( $v1 ) ) UNNEST( $v1 : $v ) plan__child Where $v1 is not used in plan__parent. After plan__parent ASSIGN( $v2 : $v1 ) UNNEST( $v1 : $v ) plan__child
hasRun, usedVariables| Constructor | Description |
|---|---|
RemoveUnusedUnnestIterateRule() |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
processOperator(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context) |
rewritePost, rewritePre, rewritePreTrackingUsedVariablesprotected boolean processOperator(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
processOperator in class AbstractUsedVariablesProcessingRuleorg.apache.hyracks.algebricks.common.exceptions.AlgebricksExceptionCopyright © 2019 Apache Software Foundation. All rights reserved.