org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
RemoveRedundantBooleanExpressionsRule
, RemoveRedundantCastExpressionsRule
, RemoveRedundantDataExpressionsRule
, RemoveRedundantPromoteExpressionsRule
, RemoveRedundantTreatExpressionsRule
public abstract class AbstractRemoveRedundantTypeExpressionsRule extends Object implements org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
Constructor | Description |
---|---|
AbstractRemoveRedundantTypeExpressionsRule() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier |
getSearchFunction() |
|
boolean |
hasTypeArgument() |
|
abstract boolean |
matchesAllInstancesOf(SequenceType sTypeArg,
SequenceType sTypeOutput) |
|
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 AbstractRemoveRedundantTypeExpressionsRule()
protected abstract org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier getSearchFunction()
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
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 abstract boolean matchesAllInstancesOf(SequenceType sTypeArg, SequenceType sTypeOutput)
public boolean hasTypeArgument()
Copyright © 2019 Apache Software Foundation. All rights reserved.