public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElement, SQLObjectWithDataType, SQLReplaceable, SQLDbTypedObject
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SQLColumnDefinition.Identity |
attributes, parent| 构造器和说明 |
|---|
SQLColumnDefinition() |
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentprotected String dbType
protected SQLName name
protected SQLDataType dataType
protected SQLExpr defaultExpr
protected final List<SQLColumnConstraint> constraints
protected SQLExpr comment
protected Boolean enable
protected Boolean validate
protected Boolean rely
protected boolean autoIncrement
protected SQLExpr onUpdate
protected SQLExpr format
protected SQLExpr storage
protected SQLExpr charsetExpr
protected SQLExpr collateExpr
protected SQLExpr asExpr
protected boolean stored
protected boolean virtual
protected boolean visible
protected AutoIncrementType sequenceType
protected boolean preSort
protected int preSortOrder
protected SQLColumnDefinition.Identity identity
protected SQLExpr generatedAlawsAs
protected SQLExpr delimiter
protected SQLExpr delimiterTokenizer
protected SQLExpr nlpTokenizer
protected SQLExpr valueType
protected boolean disableIndex
protected SQLExpr jsonIndexAttrsExpr
private SQLExpr unitCount
private SQLExpr unitIndex
private SQLExpr step
private SQLCharExpr encode
private SQLCharExpr compression
private List<SQLAssignItem> mappedBy
private List<SQLAssignItem> colProperties
public SQLColumnDefinition.Identity getIdentity()
public void setIdentity(SQLColumnDefinition.Identity identity)
public Boolean getEnable()
public void setEnable(Boolean enable)
public Boolean getValidate()
public void setValidate(Boolean validate)
public Boolean getRely()
public void setRely(Boolean rely)
public SQLName getName()
public String getColumnName()
public long nameHashCode64()
public String getNameAsString()
public void setName(SQLName name)
public void setName(String name)
public SQLDataType getDataType()
getDataType 在接口中 SQLObjectWithDataTypepublic void setDataType(SQLDataType dataType)
setDataType 在接口中 SQLObjectWithDataTypepublic SQLExpr getDefaultExpr()
public void setDefaultExpr(SQLExpr defaultExpr)
public List<SQLColumnConstraint> getConstraints()
public boolean isPrimaryKey()
public boolean isOnlyPrimaryKey()
public boolean isPartitionBy()
public void addConstraint(SQLColumnConstraint constraint)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLObjectImplpublic SQLExpr getComment()
public void setComment(String comment)
public void setComment(SQLExpr comment)
public boolean isVirtual()
public void setVirtual(boolean virtual)
public boolean isStored()
public void setStored(boolean stored)
public SQLExpr getCharsetExpr()
public void setCharsetExpr(SQLExpr charsetExpr)
public SQLExpr getCollateExpr()
public void setCollateExpr(SQLExpr x)
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 getFormat()
public void setFormat(SQLExpr format)
public SQLExpr getStorage()
public void setStorage(SQLExpr storage)
public boolean replace(SQLExpr expr, SQLExpr target)
replace 在接口中 SQLReplaceablepublic void setUnitCount(SQLExpr unitCount)
public String computeAlias()
public SQLColumnDefinition clone()
clone 在接口中 SQLObjectclone 在接口中 SQLTableElementclone 在类中 SQLObjectImplpublic String getDbType()
getDbType 在接口中 SQLDbTypedObjectpublic void setDbType(String dbType)
public void simplify()
public boolean containsNotNullConstaint()
public SQLExpr getGeneratedAlawsAs()
public void setGeneratedAlawsAs(SQLExpr x)
public boolean isVisible()
public void setVisible(boolean visible)
public SQLExpr getDelimiter()
public boolean isDisableIndex()
public void setDisableIndex(boolean disableIndex)
public void setDelimiter(SQLExpr x)
public SQLExpr getDelimiterTokenizer()
public void setDelimiterTokenizer(SQLExpr delimiterTokenizer)
public SQLExpr getNlpTokenizer()
public void setNlpTokenizer(SQLExpr nlpTokenizer)
public SQLExpr getValueType()
public void setValueType(SQLExpr x)
public boolean isPreSort()
public void setPreSort(boolean preSort)
public int getPreSortOrder()
public void setPreSortOrder(int preSortOrder)
public SQLExpr getJsonIndexAttrsExpr()
public void setJsonIndexAttrsExpr(SQLExpr jsonIndexAttrsExpr)
public AutoIncrementType getSequenceType()
public void setSequenceType(AutoIncrementType sequenceType)
public String toString()
toString 在类中 SQLObjectImplpublic SQLExpr getUnitCount()
public SQLExpr getUnitIndex()
public void setUnitIndex(SQLExpr unitIndex)
public SQLExpr getNplTokenizer()
public void setNplTokenizer(SQLExpr x)
public SQLExpr getStep()
public void setStep(SQLExpr step)
public List<SQLAssignItem> getMappedBy()
public List<SQLAssignItem> getMappedByDirect()
public List<SQLAssignItem> getColProperties()
public SQLCharExpr getEncode()
public void setEncode(SQLCharExpr encode)
public SQLCharExpr getCompression()
public void setCompression(SQLCharExpr compression)
public List<SQLAssignItem> getColPropertiesDirect()
Copyright © 2013–2019 Alibaba Group. All rights reserved.