Search in sources :

Example 1 with InlineWithExpressionVisitor

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

the class SqlppQueryRewriter method inlineWithExpressions.

protected void inlineWithExpressions() throws CompilationException {
    String inlineWith = metadataProvider.getConfig().get(INLINE_WITH);
    if (inlineWith != null && inlineWith.equalsIgnoreCase(NOT_INLINE_WITH)) {
        return;
    }
    // Inlines with expressions.
    InlineWithExpressionVisitor inlineWithExpressionVisitor = new InlineWithExpressionVisitor(context);
    topExpr.accept(inlineWithExpressionVisitor, null);
}
Also used : InlineWithExpressionVisitor(org.apache.asterix.lang.sqlpp.rewrites.visitor.InlineWithExpressionVisitor)

Aggregations

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