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,
SQLName to) |
boolean |
applyDropColumn(SQLName columnName) |
SQLUnique |
clone() |
void |
cloneTo(SQLUnique x) |
boolean |
containsColumn(long columnNameHash) |
boolean |
containsColumn(String column) |
List<SQLSelectOrderByItem> |
getColumns() |
void |
simplify() |
cloneTo, cloneTo, getComment, getDbType, getEnable, getHints, getName, getRely, getValidate, setComment, setDbType, setEnable, setHints, setName, setName, setRely, setValidateaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComment, getName, setComment, setNameaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentpublic 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 applyDropColumn(SQLName columnName)
Copyright © 2013–2018 Alibaba Group. All rights reserved.