Search in sources :

Example 1 with OperatorExpressionVisitor

use of org.apache.asterix.lang.sqlpp.rewrites.visitor.OperatorExpressionVisitor in project asterixdb by apache.

the class SqlppQueryRewriter method rewriteOperatorExpression.

protected void rewriteOperatorExpression() throws CompilationException {
    // Rewrites like/not-like/in/not-in operators into function call expressions.
    OperatorExpressionVisitor operatorExpressionVisitor = new OperatorExpressionVisitor(context);
    topExpr.accept(operatorExpressionVisitor, null);
}
Also used : OperatorExpressionVisitor(org.apache.asterix.lang.sqlpp.rewrites.visitor.OperatorExpressionVisitor)

Aggregations

OperatorExpressionVisitor (org.apache.asterix.lang.sqlpp.rewrites.visitor.OperatorExpressionVisitor)1