org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRulepublic class RemoveRedundantBooleanExpressionsRule extends AbstractRemoveRedundantTypeExpressionsRule
Before plan__parent %OPERATOR( $v1 : boolean( \@input_expression ) ) plan__child Where treat \@input_expression is known to be a boolean value. After plan__parent %OPERATOR( $v1 : \@input_expression ) plan__child
| Constructor | Description |
|---|---|
RemoveRedundantBooleanExpressionsRule() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier |
getSearchFunction() |
|
boolean |
hasTypeArgument() |
|
boolean |
matchesAllInstancesOf(SequenceType sTypeArg,
SequenceType sTypeOutput) |
rewritePost, rewritePrepublic RemoveRedundantBooleanExpressionsRule()
protected org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier getSearchFunction()
getSearchFunction in class AbstractRemoveRedundantTypeExpressionsRulepublic boolean hasTypeArgument()
hasTypeArgument in class AbstractRemoveRedundantTypeExpressionsRulepublic boolean matchesAllInstancesOf(SequenceType sTypeArg, SequenceType sTypeOutput)
matchesAllInstancesOf in class AbstractRemoveRedundantTypeExpressionsRuleCopyright © 2019 Apache Software Foundation. All rights reserved.