org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRulepublic class ConvertToAlgebricksExpressionsRule extends Object implements org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
 Before
 
   plan__parent
   %OPERATOR( $v1 : xquery_expression( \@input_expression ) )
   plan__child
 
   where xquery_expression has a known equivalent in Algebricks,
     such as conditional expressions and a check for null.
     The expression may include the boolean function to ensure only
     a true or false result.
 
 After
 
   plan__parent
   %OPERATOR( $v1 : algebricks_function( \@input_expression ) )
   plan__child
 | Constructor | Description | 
|---|---|
| ConvertToAlgebricksExpressionsRule() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | checkAllFunctionExpressions(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> search,
                           org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context) | |
| boolean | convertFunctionToAlgebricksExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> searchM,
                                     org.apache.hyracks.algebricks.core.algebra.expressions.AbstractFunctionCallExpression functionCall,
                                     org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context,
                                     Map<org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier,org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier> map) | |
| 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 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.AlgebricksExceptionpublic boolean convertFunctionToAlgebricksExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> searchM,
                                                     org.apache.hyracks.algebricks.core.algebra.expressions.AbstractFunctionCallExpression functionCall,
                                                     org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context,
                                                     Map<org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier,org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier> map)
public boolean checkAllFunctionExpressions(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> search,
                                           org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context)
Copyright © 2019 Apache Software Foundation. All Rights Reserved.