org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
public 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, rewritePreTrackingUsedVariables
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) throws org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
processOperator
in class AbstractUsedVariablesProcessingRule
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
Copyright © 2019 Apache Software Foundation. All rights reserved.