public class SQLDataTypeImpl extends SQLObjectImpl implements SQLDataType
SQLDataType.Constants| 限定符和类型 | 字段和说明 |
|---|---|
protected List<SQLExpr> |
arguments |
private String |
dbType |
private String |
name |
private long |
nameHashCode64 |
private boolean |
unsigned |
private boolean |
withLocalTimeZone |
private Boolean |
withTimeZone |
private boolean |
zerofill |
attributes, parent| 构造器和说明 |
|---|
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() |
String |
getDbType() |
String |
getName() |
Boolean |
getWithTimeZone() |
int |
hashCode() |
boolean |
isUnsigned() |
boolean |
isWithLocalTimeZone() |
boolean |
isZerofill() |
long |
nameHashCode64() |
void |
setDbType(String dbType) |
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, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentprivate String name
private long nameHashCode64
private Boolean withTimeZone
private boolean withLocalTimeZone
private String dbType
private boolean unsigned
private boolean zerofill
public 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 String getDbType()
getDbType 在接口中 SQLDataTypepublic void setDbType(String 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)
Copyright © 2013–2019 Alibaba Group. All rights reserved.