public class SQLAlterTableAddIndex extends SQLObjectImpl implements SQLAlterTableItem
| 限定符和类型 | 字段和说明 |
|---|---|
protected SQLExpr |
comment |
private List<SQLSelectOrderByItem> |
items |
private boolean |
key |
private SQLName |
name |
private String |
type |
private boolean |
unique |
private String |
using |
attributes, parent| 构造器和说明 |
|---|
SQLAlterTableAddIndex() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
void |
addItem(SQLSelectOrderByItem item) |
void |
cloneTo(MySqlKey x) |
void |
cloneTo(MySqlTableIndex x) |
SQLExpr |
getComment() |
List<SQLSelectOrderByItem> |
getItems() |
SQLName |
getName() |
String |
getType() |
String |
getUsing() |
boolean |
isKey() |
boolean |
isUnique() |
void |
setComment(SQLExpr comment) |
void |
setKey(boolean key) |
void |
setName(SQLName name) |
void |
setType(String type) |
void |
setUnique(boolean unique) |
void |
setUsing(String using) |
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentprivate boolean unique
private SQLName name
private final List<SQLSelectOrderByItem> items
private String type
private String using
private boolean key
protected SQLExpr comment
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLObjectImplpublic boolean isUnique()
public void setUnique(boolean unique)
public List<SQLSelectOrderByItem> getItems()
public void addItem(SQLSelectOrderByItem item)
public SQLName getName()
public void setName(SQLName name)
public String getType()
public void setType(String type)
public String getUsing()
public void setUsing(String using)
public boolean isKey()
public void setKey(boolean key)
public void cloneTo(MySqlTableIndex x)
public void cloneTo(MySqlKey x)
public SQLExpr getComment()
public void setComment(SQLExpr comment)
Copyright © 2013–2019 Alibaba Group. All rights reserved.