Class MySqlUnique
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
com.alibaba.druid.sql.ast.statement.SQLUnique
com.alibaba.druid.sql.dialect.mysql.ast.MySqlKey
com.alibaba.druid.sql.dialect.mysql.ast.MySqlUnique
- All Implemented Interfaces:
SQLDbTypedObject,SQLIndex,SQLObject,SQLConstraint,SQLTableConstraint,SQLTableElement,SQLUniqueConstraint
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLUnique
disableNovalidate, indexDefinitionFields inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
dbType, enable, hints, rely, validateFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.alibaba.druid.sql.dialect.mysql.ast.MySqlKey
accept0, accept0, cloneTo, getIndexType, getKeyBlockSize, isHasConstraint, setHasConstraint, setIndexType, setKeyBlockSizeMethods inherited from class com.alibaba.druid.sql.ast.statement.SQLUnique
addColumn, addColumn, applyColumnRename, applyDropColumn, cloneTo, containsColumn, containsColumn, getColumns, getComment, getCovering, getIndexDefinition, getName, isDisableNovalidate, setComment, setDisableNovalidate, setName, setName, simplifyMethods inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
cloneTo, cloneTo, getDbType, getEnable, getHints, getRely, getValidate, replace, setDbType, setEnable, setHints, setRely, setValidateMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.statement.SQLConstraint
getComment, getName, setComment, setName, simplifyMethods inherited from interface com.alibaba.druid.sql.ast.SQLIndex
getColumns, getCoveringMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentMethods inherited from interface com.alibaba.druid.sql.ast.statement.SQLUniqueConstraint
containsColumn, containsColumn, getColumns
-
Constructor Details
-
MySqlUnique
public MySqlUnique()
-
-
Method Details
-
accept0
-
clone
-
getDbPartitionBy
-
setDbPartitionBy
-
isGlobal
public boolean isGlobal() -
setGlobal
public void setGlobal(boolean global) -
isLocal
public boolean isLocal() -
setLocal
public void setLocal(boolean local) -
getTablePartitions
-
setTablePartitions
-
getTablePartitionBy
-
setTablePartitionBy
-