org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
ConsolidateUnnestsRule
, ConvertAssignToUnnestRule
, PushChildIntoDataScanRule
, RemoveUnusedUnnestIterateRule
public abstract class AbstractUsedVariablesProcessingRule extends Object implements org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
hasRun |
|
protected List<org.apache.hyracks.algebricks.core.algebra.base.LogicalVariable> |
usedVariables |
Constructor | Description |
---|---|
AbstractUsedVariablesProcessingRule() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract 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) |
|
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) |
|
protected boolean |
rewritePreTrackingUsedVariables(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context) |
protected List<org.apache.hyracks.algebricks.core.algebra.base.LogicalVariable> usedVariables
protected boolean hasRun
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) throws org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
rewritePre
in interface org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
protected boolean rewritePreTrackingUsedVariables(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
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
protected abstract 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
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
Copyright © 2019 Apache Software Foundation. All Rights Reserved.