org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRulepublic class RemoveRedundantCastExpressionsRule extends AbstractRemoveRedundantTypeExpressionsRule
Before plan__parent %OPERATOR( $v1 : cast( \@input_expression, \@type_expression ) ) plan__child Where treat \@type_expression is the same as the return type of \@input_expression. After plan__parent %OPERATOR( $v1 : \@input_expression ) plan__child
| Constructor | Description |
|---|---|
RemoveRedundantCastExpressionsRule() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier |
getSearchFunction() |
|
boolean |
matchesAllInstancesOf(SequenceType sTypeArg,
SequenceType sTypeOutput) |
hasTypeArgument, rewritePost, rewritePreprotected org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier getSearchFunction()
getSearchFunction in class AbstractRemoveRedundantTypeExpressionsRulepublic boolean matchesAllInstancesOf(SequenceType sTypeArg, SequenceType sTypeOutput)
matchesAllInstancesOf in class AbstractRemoveRedundantTypeExpressionsRuleCopyright © 2019 Apache Software Foundation. All rights reserved.