Search in sources :

Example 1 with GenerateColumnNameVisitor

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

the class SqlppQueryRewriter method generateColumnNames.

protected void generateColumnNames() throws CompilationException {
    // Generate column names if they are missing in the user query.
    GenerateColumnNameVisitor generateColumnNameVisitor = new GenerateColumnNameVisitor(context);
    topExpr.accept(generateColumnNameVisitor, null);
}
Also used : GenerateColumnNameVisitor(org.apache.asterix.lang.sqlpp.rewrites.visitor.GenerateColumnNameVisitor)

Aggregations

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