public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElement
Modifier and Type | Class and Description |
---|---|
static class |
SQLColumnDefinition.Identity |
Constructor and Description |
---|
SQLColumnDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(SQLColumnConstraint constraint) |
SQLExpr |
getAsExpr() |
SQLExpr |
getCharsetExpr() |
SQLExpr |
getComment() |
List<SQLColumnConstraint> |
getConstraints() |
SQLDataType |
getDataType() |
SQLExpr |
getDefaultExpr() |
Boolean |
getEnable() |
SQLColumnDefinition.Identity |
getIdentity() |
SQLName |
getName() |
SQLExpr |
getOnUpdate() |
SQLExpr |
getStorage() |
boolean |
isAutoIncrement() |
boolean |
isSorted() |
boolean |
isVirtual() |
void |
output(StringBuffer buf) |
void |
setAsExpr(SQLExpr asExpr) |
void |
setAutoIncrement(boolean autoIncrement) |
void |
setCharsetExpr(SQLExpr charsetExpr) |
void |
setComment(SQLExpr comment) |
void |
setDataType(SQLDataType dataType) |
void |
setDefaultExpr(SQLExpr defaultExpr) |
void |
setEnable(Boolean enable) |
void |
setIdentity(SQLColumnDefinition.Identity identity) |
void |
setName(SQLName name) |
void |
setOnUpdate(SQLExpr onUpdate) |
void |
setSorted(boolean sorted) |
void |
setStorage(SQLExpr storage) |
void |
setVirtual(boolean virtual) |
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
public SQLColumnDefinition.Identity getIdentity()
public void setIdentity(SQLColumnDefinition.Identity identity)
public Boolean getEnable()
public void setEnable(Boolean enable)
public SQLName getName()
public void setName(SQLName name)
public SQLDataType getDataType()
public void setDataType(SQLDataType dataType)
public SQLExpr getDefaultExpr()
public void setDefaultExpr(SQLExpr defaultExpr)
public List<SQLColumnConstraint> getConstraints()
public void addConstraint(SQLColumnConstraint constraint)
public void output(StringBuffer buf)
output
in interface SQLObject
output
in class SQLObjectImpl
public SQLExpr getComment()
public void setComment(SQLExpr comment)
public boolean isVirtual()
public void setVirtual(boolean virtual)
public boolean isSorted()
public void setSorted(boolean sorted)
public SQLExpr getCharsetExpr()
public void setCharsetExpr(SQLExpr charsetExpr)
public SQLExpr getAsExpr()
public void setAsExpr(SQLExpr asExpr)
public boolean isAutoIncrement()
public void setAutoIncrement(boolean autoIncrement)
public SQLExpr getOnUpdate()
public void setOnUpdate(SQLExpr onUpdate)
public SQLExpr getStorage()
public void setStorage(SQLExpr storage)
Copyright © 2013–2017 Alibaba Group. All rights reserved.