com.shulie.druid.sql.ast.statement.SQLRenameUserStatement Maven / Gradle / Ivy
package com.shulie.druid.sql.ast.statement;
import com.shulie.druid.DbType;
import com.shulie.druid.sql.ast.SQLExpr;
import com.shulie.druid.sql.ast.SQLName;
import com.shulie.druid.sql.ast.SQLStatementImpl;
import com.shulie.druid.sql.ast.expr.SQLIntegerExpr;
import com.shulie.druid.sql.visitor.SQLASTVisitor;
public class SQLRenameUserStatement extends SQLStatementImpl {
private SQLName name ;
private SQLName to;
public SQLRenameUserStatement() {
dbType = DbType.mysql;
}
protected void accept0(SQLASTVisitor v) {
if (v.visit(this)) {
acceptChild(v, name);
acceptChild(v, to);
}
v.endVisit(this);
}
public SQLName getName() {
return name;
}
public void setName(SQLName name) {
this.name = name;
}
public SQLName getTo() {
return to;
}
public void setTo(SQLName to) {
this.to = to;
}
}