Class SQLAlterTableRename
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.statement.SQLAlterTableRename
-
- All Implemented Interfaces:
SQLObject,SQLAlterTableItem
public class SQLAlterTableRename extends SQLObjectImpl implements SQLAlterTableItem
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLExprTableSourceto-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLAlterTableRename()SQLAlterTableRename(SQLExpr to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)SQLExprTableSourcegetTo()SQLNamegetToName()voidsetTo(SQLExpr to)voidsetTo(SQLExprTableSource to)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Field Detail
-
to
protected SQLExprTableSource to
-
-
Constructor Detail
-
SQLAlterTableRename
public SQLAlterTableRename()
-
SQLAlterTableRename
public SQLAlterTableRename(SQLExpr to)
-
-
Method Detail
-
getTo
public SQLExprTableSource getTo()
-
getToName
public SQLName getToName()
-
setTo
public void setTo(SQLExprTableSource to)
-
setTo
public void setTo(SQLExpr to)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
-