public class RemoveUnusedTreatRule extends Object implements edu.uci.ics.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
Before plan__parent ASSIGN( $v1 : treat( $v0, \@type_expression ) ) ASSIGN( $v0 : $$constant ) plan__child Where $$constant is of \@type_expression. After plan__parent ASSIGN( $v1 : $v0 ) ASSIGN( $v0 : $$constant ) plan__child
Constructor and Description |
---|
RemoveUnusedTreatRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
rewritePost(org.apache.commons.lang3.mutable.Mutable<edu.uci.ics.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
edu.uci.ics.hyracks.algebricks.core.algebra.base.IOptimizationContext context) |
boolean |
rewritePre(org.apache.commons.lang3.mutable.Mutable<edu.uci.ics.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
edu.uci.ics.hyracks.algebricks.core.algebra.base.IOptimizationContext context) |
public boolean rewritePre(org.apache.commons.lang3.mutable.Mutable<edu.uci.ics.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef, edu.uci.ics.hyracks.algebricks.core.algebra.base.IOptimizationContext context) throws edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException
rewritePre
in interface edu.uci.ics.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException
public boolean rewritePost(org.apache.commons.lang3.mutable.Mutable<edu.uci.ics.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef, edu.uci.ics.hyracks.algebricks.core.algebra.base.IOptimizationContext context)
rewritePost
in interface edu.uci.ics.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
Copyright © 2015 Apache Software Foundation. All Rights Reserved.