public class SQLUnique extends SQLConstraintImpl implements SQLUniqueConstraint, SQLTableElement
| 限定符和类型 | 字段和说明 |
|---|---|
protected SQLIndexDefinition |
indexDefinition |
attributes, hint, parent, sourceColumn, sourceLine| 构造器和说明 |
|---|
SQLUnique() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
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, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentprotected final SQLIndexDefinition indexDefinition
public SQLName getName()
getName 在接口中 SQLConstraintgetName 在类中 SQLConstraintImplpublic void setName(SQLName name)
setName 在接口中 SQLConstraintsetName 在类中 SQLConstraintImplpublic void setName(String name)
setName 在类中 SQLConstraintImplpublic SQLExpr getComment()
getComment 在接口中 SQLConstraintgetComment 在类中 SQLConstraintImplpublic void setComment(SQLExpr x)
setComment 在接口中 SQLConstraintsetComment 在类中 SQLConstraintImplpublic SQLIndexDefinition getIndexDefinition()
public List<SQLSelectOrderByItem> getColumns()
getColumns 在接口中 SQLUniqueConstraintpublic void addColumn(SQLExpr column)
public void addColumn(SQLSelectOrderByItem column)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLObjectImplpublic boolean containsColumn(String column)
containsColumn 在接口中 SQLUniqueConstraintpublic boolean containsColumn(long columnNameHash)
containsColumn 在接口中 SQLUniqueConstraintpublic void cloneTo(SQLUnique x)
public SQLUnique clone()
clone 在接口中 SQLObjectclone 在接口中 SQLTableElementclone 在类中 SQLObjectImplpublic void simplify()
simplify 在接口中 SQLConstraintsimplify 在类中 SQLConstraintImplpublic boolean applyColumnRename(SQLName columnName, SQLColumnDefinition to)
public boolean applyDropColumn(SQLName columnName)
Copyright © 2013–2023. All rights reserved.