public class SQLDataTypeImpl extends SQLObjectImpl implements SQLDataType
SQLDataType.Constants
Constructor and Description |
---|
SQLDataTypeImpl() |
SQLDataTypeImpl(String name) |
SQLDataTypeImpl(String name,
int precision) |
SQLDataTypeImpl(String name,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
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, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public SQLDataTypeImpl()
public SQLDataTypeImpl(String name)
public SQLDataTypeImpl(String name, int precision)
public SQLDataTypeImpl(String name, int precision, int scale)
public String getName()
getName
in interface SQLDataType
public long nameHashCode64()
nameHashCode64
in interface SQLDataType
public void setName(String name)
setName
in interface SQLDataType
public List<SQLExpr> getArguments()
getArguments
in interface SQLDataType
public void addArgument(SQLExpr argument)
public Boolean getWithTimeZone()
getWithTimeZone
in interface SQLDataType
public void setWithTimeZone(Boolean withTimeZone)
setWithTimeZone
in interface SQLDataType
public boolean isWithLocalTimeZone()
isWithLocalTimeZone
in interface SQLDataType
public void setWithLocalTimeZone(boolean withLocalTimeZone)
setWithLocalTimeZone
in interface SQLDataType
public String getDbType()
getDbType
in interface SQLDataType
public void setDbType(String dbType)
setDbType
in interface SQLDataType
public SQLDataTypeImpl clone()
clone
in interface SQLDataType
clone
in interface SQLObject
clone
in class SQLObjectImpl
public void cloneTo(SQLDataTypeImpl x)
public String toString()
toString
in class SQLObjectImpl
public boolean isUnsigned()
public void setUnsigned(boolean unsigned)
public boolean isZerofill()
public void setZerofill(boolean zerofill)
Copyright © 2013–2017 Alibaba Group. All rights reserved.