public class SQLUnique extends SQLConstraintImpl implements SQLUniqueConstraint, SQLTableElement
hints| Constructor and Description |
|---|
SQLUnique() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(SQLExpr column) |
void |
addColumn(SQLSelectOrderByItem column) |
boolean |
applyColumnRename(SQLName columnName,
SQLColumnDefinition to) |
boolean |
applyDropColumn(SQLName columnName) |
SQLUnique |
clone() |
void |
cloneTo(SQLUnique x) |
boolean |
containsColumn(long columnNameHash) |
boolean |
containsColumn(String column) |
List<SQLSelectOrderByItem> |
getColumns() |
SQLExpr |
getComment() |
List<SQLName> |
getCovering() |
SQLIndexDefinition |
getIndexDefinition() |
SQLName |
getName() |
void |
setComment(SQLExpr x) |
void |
setName(SQLName name) |
void |
setName(String name) |
void |
simplify() |
cloneTo, cloneTo, getDbType, getEnable, getHints, getRely, getValidate, replace, setDbType, setEnable, setHints, setRely, setValidateaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic SQLName getName()
getName in interface SQLConstraintgetName in class SQLConstraintImplpublic void setName(SQLName name)
setName in interface SQLConstraintsetName in class SQLConstraintImplpublic void setName(String name)
setName in class SQLConstraintImplpublic SQLExpr getComment()
getComment in interface SQLConstraintgetComment in class SQLConstraintImplpublic void setComment(SQLExpr x)
setComment in interface SQLConstraintsetComment in class SQLConstraintImplpublic SQLIndexDefinition getIndexDefinition()
public List<SQLSelectOrderByItem> getColumns()
getColumns in interface SQLUniqueConstraintpublic void addColumn(SQLExpr column)
public void addColumn(SQLSelectOrderByItem column)
public boolean containsColumn(String column)
containsColumn in interface SQLUniqueConstraintpublic boolean containsColumn(long columnNameHash)
containsColumn in interface SQLUniqueConstraintpublic void cloneTo(SQLUnique x)
public SQLUnique clone()
clone in interface SQLObjectclone in interface SQLTableElementclone in class SQLObjectImplpublic void simplify()
simplify in interface SQLConstraintsimplify in class SQLConstraintImplpublic boolean applyColumnRename(SQLName columnName, SQLColumnDefinition to)
public boolean applyDropColumn(SQLName columnName)
Copyright © 2013–2022 Alibaba Group. All rights reserved.