public class SQLDataTypeImpl extends SQLObjectImpl implements SQLDataType, SQLDbTypedObject
SQLDataType.Constants| 限定符和类型 | 字段和说明 |
|---|---|
protected List<SQLExpr> |
arguments |
attributes, hint, parent, sourceColumn, sourceLine| 构造器和说明 |
|---|
SQLDataTypeImpl() |
SQLDataTypeImpl(String name) |
SQLDataTypeImpl(String name,
int precision) |
SQLDataTypeImpl(String name,
int precision,
int scale) |
SQLDataTypeImpl(String name,
SQLExpr arg) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
void |
addArgument(SQLExpr argument) |
SQLDataTypeImpl |
clone() |
void |
cloneTo(SQLDataTypeImpl x) |
boolean |
equals(Object o) |
List<SQLExpr> |
getArguments() |
DbType |
getDbType() |
SQLExpr |
getIndexBy() |
String |
getName() |
Boolean |
getWithTimeZone() |
int |
hashCode() |
boolean |
hasKeyLength() |
boolean |
isInt() |
boolean |
isNumberic() |
boolean |
isString() |
boolean |
isUnsigned() |
boolean |
isWithLocalTimeZone() |
boolean |
isZerofill() |
int |
jdbcType() |
long |
nameHashCode64() |
void |
setDbType(DbType dbType) |
void |
setIndexBy(SQLExpr x) |
void |
setName(String name) |
void |
setUnsigned(boolean unsigned) |
void |
setWithLocalTimeZone(boolean withLocalTimeZone) |
void |
setWithTimeZone(Boolean withTimeZone) |
void |
setZerofill(boolean zerofill) |
String |
toString() |
accept, 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, setSourceLineaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic SQLDataTypeImpl()
public SQLDataTypeImpl(String name)
public SQLDataTypeImpl(String name, int precision)
public SQLDataTypeImpl(String name, int precision, int scale)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLObjectImplpublic String getName()
getName 在接口中 SQLDataTypepublic long nameHashCode64()
nameHashCode64 在接口中 SQLDataTypepublic void setName(String name)
setName 在接口中 SQLDataTypepublic List<SQLExpr> getArguments()
getArguments 在接口中 SQLDataTypepublic void addArgument(SQLExpr argument)
public Boolean getWithTimeZone()
getWithTimeZone 在接口中 SQLDataTypepublic void setWithTimeZone(Boolean withTimeZone)
setWithTimeZone 在接口中 SQLDataTypepublic boolean isWithLocalTimeZone()
isWithLocalTimeZone 在接口中 SQLDataTypepublic void setWithLocalTimeZone(boolean withLocalTimeZone)
setWithLocalTimeZone 在接口中 SQLDataTypepublic DbType getDbType()
getDbType 在接口中 SQLDataTypegetDbType 在接口中 SQLDbTypedObjectpublic int jdbcType()
jdbcType 在接口中 SQLDataTypepublic void setDbType(DbType dbType)
setDbType 在接口中 SQLDataTypepublic SQLDataTypeImpl clone()
clone 在接口中 SQLDataTypeclone 在接口中 SQLObjectclone 在类中 SQLObjectImplpublic void cloneTo(SQLDataTypeImpl x)
public String toString()
toString 在类中 SQLObjectImplpublic boolean isUnsigned()
public void setUnsigned(boolean unsigned)
public boolean isZerofill()
public void setZerofill(boolean zerofill)
public SQLExpr getIndexBy()
public void setIndexBy(SQLExpr x)
public boolean isInt()
isInt 在接口中 SQLDataTypepublic boolean isNumberic()
isNumberic 在接口中 SQLDataTypepublic boolean isString()
isString 在接口中 SQLDataTypepublic boolean hasKeyLength()
hasKeyLength 在接口中 SQLDataTypeCopyright © 2013–2023. All rights reserved.