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(String column) |
List<SQLSelectOrderByItem> |
getColumns() |
void |
simplify() |
cloneTo, cloneTo, getDbType, getEnable, getHints, getName, getRely, getValidate, setDbType, setEnable, setHints, setName, setName, setRely, setValidate
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public List<SQLSelectOrderByItem> getColumns()
getColumns
in interface SQLUniqueConstraint
public void addColumn(SQLExpr column)
public void addColumn(SQLSelectOrderByItem column)
public boolean containsColumn(String column)
containsColumn
in interface SQLUniqueConstraint
public void cloneTo(SQLUnique x)
public SQLUnique clone()
clone
in interface SQLObject
clone
in interface SQLTableElement
clone
in class SQLObjectImpl
public void simplify()
simplify
in interface SQLConstraint
simplify
in class SQLConstraintImpl
public boolean applyDropColumn(SQLName columnName)
Copyright © 2013–2017 Alibaba Group. All rights reserved.