Class MySqlAlterTableAlterColumn
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.MySqlObjectImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlAlterTableAlterColumn
-
- All Implemented Interfaces:
SQLObject,SQLAlterTableItem,MySqlObject
public class MySqlAlterTableAlterColumn extends MySqlObjectImpl implements SQLAlterTableItem
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description MySqlAlterTableAlterColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(MySqlASTVisitor visitor)SQLNamegetColumn()SQLExprgetDefaultExpr()StringgetVisibleType()booleanisDropDefault()voidsetColumn(SQLName column)voidsetDefaultExpr(SQLExpr defaultExpr)voidsetDropDefault(boolean dropDefault)voidsetVisibleType(String visibleType)-
Methods inherited from class com.alibaba.druid.sql.dialect.mysql.ast.MySqlObjectImpl
accept0
-
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
-
-
-
-
Method Detail
-
accept0
public void accept0(MySqlASTVisitor visitor)
- Specified by:
accept0in interfaceMySqlObject- Specified by:
accept0in classMySqlObjectImpl
-
isDropDefault
public boolean isDropDefault()
-
setDropDefault
public void setDropDefault(boolean dropDefault)
-
getVisibleType
public String getVisibleType()
-
setVisibleType
public void setVisibleType(String visibleType)
-
getDefaultExpr
public SQLExpr getDefaultExpr()
-
setDefaultExpr
public void setDefaultExpr(SQLExpr defaultExpr)
-
getColumn
public SQLName getColumn()
-
setColumn
public void setColumn(SQLName column)
-
-