public boolean visit(SQLCreateTableStatement x) { for (SQLTableElement e : x.getTableElementList()) { e.setParent(x); } String tableName = x.getName().toString(); TableStat stat = getTableStat(tableName); stat.incrementCreateCount(); setCurrentTable(x, tableName); accept(x.getTableElementList()); restoreCurrentTable(x); return false; }
public void endVisit(SQLSelect x) { restoreCurrentTable(x); }