public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElement, SQLObjectWithDataType, SQLReplaceable, SQLDbTypedObject
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLColumnDefinition.Identity |
| Constructor and Description |
|---|
SQLColumnDefinition() |
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentpublic 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 in interface SQLObjectWithDataTypepublic void setDataType(SQLDataType dataType)
setDataType in interface 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)
public 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 in interface SQLReplaceablepublic void setUnitCount(SQLExpr unitCount)
public String computeAlias()
public SQLColumnDefinition clone()
clone in interface SQLObjectclone in interface SQLTableElementclone in class SQLObjectImplpublic String getDbType()
getDbType in interface 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 in class 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–2020 Alibaba Group. All rights reserved.