use of com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlAnalyzeStatement in project druid by alibaba.
the class MySqlStatementParser method parseAnalyze.
public MySqlAnalyzeStatement parseAnalyze() {
accept(Token.ANALYZE);
accept(Token.TABLE);
MySqlAnalyzeStatement stmt = new MySqlAnalyzeStatement();
List<SQLName> names = new ArrayList<SQLName>();
this.exprParser.names(names, stmt);
for (SQLName name : names) {
stmt.addTableSource(new SQLExprTableSource(name));
}
return stmt;
}
Aggregations