public MySqlCreateTableStatement clone() { MySqlCreateTableStatement x = new MySqlCreateTableStatement(); cloneTo(x); return x; }
@Override public boolean visit(MySqlKillStatement x) { if (MySqlKillStatement.Type.CONNECTION.equals(x.getType())) { print0(ucase ? "KILL CONNECTION " : "kill connection "); } else if (MySqlKillStatement.Type.QUERY.equals(x.getType())) { print0(ucase ? "KILL QUERY " : "kill query "); } else { print0(ucase ? "KILL " : "kill "); } printAndAccept(x.getThreadIds(), ", "); return false; }
public MySqlPartitionByKey clone() { MySqlPartitionByKey x = new MySqlPartitionByKey(); cloneTo(x); return x; } }
public MySqlSubPartitionByKey clone() { MySqlSubPartitionByKey x = new MySqlSubPartitionByKey(); cloneTo(x); return x; } }
public SQLInsertStatement clone() { MySqlInsertStatement x = new MySqlInsertStatement(); cloneTo(x); return x; } }
public MySqlSubPartitionByList clone() { MySqlSubPartitionByList x = new MySqlSubPartitionByList(); cloneTo(x); return x; } }
@Override public boolean visit(MySqlPartitionByKey x) { accept(x.getColumns()); return false; }
public void setSchedule(MySqlEventSchedule schedule) { if (schedule != null) { schedule.setParent(this); } this.schedule = schedule; }
public MySqlAlterTableOption(String name, SQLObject value){ this.name = name; this.setValue(value); }
public MySqlAlterEventStatement() { setDbType(JdbcConstants.MYSQL); }
protected void accept0(SQLASTVisitor visitor) { accept0((MySqlASTVisitor) visitor); }
protected MySqlUpdateStatement createUpdateStatement() { return new MySqlUpdateStatement(); }
public MySqlCreateEventStatement() { setDbType(JdbcConstants.MYSQL); }
public void accept0(MySqlASTVisitor visitor) { if (visitor.visit(this)) { acceptChild(visitor, definer); acceptChild(visitor, name); acceptChild(visitor, schedule); acceptChild(visitor, renameTo); acceptChild(visitor, comment); acceptChild(visitor, eventBody); } visitor.endVisit(this); }
@Override public boolean visit(MySqlShowEnginesStatement x) { if (x.isStorage()) { print0(ucase ? "SHOW STORAGE ENGINES" : "show storage engines"); } else { print0(ucase ? "SHOW ENGINES" : "show engines"); } return false; }
public void setSchedule(MySqlEventSchedule schedule) { if (schedule != null) { schedule.setParent(this); } this.schedule = schedule; }