org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRulepublic class ConvertFromAlgebricksExpressionsRule extends Object implements org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
Before plan__parent %OPERATOR( $v1 : algebricks_function( \@input_expression ) ) plan__child where the function annotation contains a hint on which xquery expression is represented by the algebricks function. After plan__parent %OPERATOR( $v1 :xquery_expression( \@input_expression ) ) ) plan__child note the xquery_expression may include the boolean function to ensure only a true or false result.
| Constructor | Description |
|---|---|
ConvertFromAlgebricksExpressionsRule() |
| Modifier and Type | Method | Description |
|---|---|---|
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 ConvertFromAlgebricksExpressionsRule()
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.IAlgebraicRewriteRuleorg.apache.hyracks.algebricks.common.exceptions.AlgebricksExceptionpublic 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.IAlgebraicRewriteRuleorg.apache.hyracks.algebricks.common.exceptions.AlgebricksExceptionCopyright © 2019 Apache Software Foundation. All rights reserved.