org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
public class RemoveRedundantDataExpressionsRule extends AbstractRemoveRedundantTypeExpressionsRule
Before plan__parent %OPERATOR( $v1 : data( \@input_expression ) ) plan__child Where \@input_expression creates an atomic value. After plan__parent %OPERATOR( $v1 : \@input_expression ) plan__child
Constructor | Description |
---|---|
RemoveRedundantDataExpressionsRule() |
Modifier and Type | Method | Description |
---|---|---|
protected org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier |
getSearchFunction() |
|
boolean |
hasTypeArgument() |
|
boolean |
matchesAllInstancesOf(SequenceType sTypeArg,
SequenceType sTypeOutput) |
rewritePost, rewritePre
protected org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier getSearchFunction()
getSearchFunction
in class AbstractRemoveRedundantTypeExpressionsRule
public boolean hasTypeArgument()
hasTypeArgument
in class AbstractRemoveRedundantTypeExpressionsRule
public boolean matchesAllInstancesOf(SequenceType sTypeArg, SequenceType sTypeOutput)
matchesAllInstancesOf
in class AbstractRemoveRedundantTypeExpressionsRule
Copyright © 2019 Apache Software Foundation. All rights reserved.