|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for describing types in Cloudscape systems.
The values in system catalog DATATYPE columns are of type TypeDescriptor.
Field Summary | |
static int |
MAXIMUM_WIDTH_UNKNOWN
The return value from getMaximumWidth() for types where the maximum width is unknown. |
Method Summary | |
int |
getJDBCTypeId()
Get the jdbc type id for this type. |
int |
getMaximumWidth()
Returns the maximum width of the type. |
int |
getMaximumWidthInBytes()
Returns the maximum width of the type IN BYTES. |
int |
getPrecision()
Returns the number of decimal digits for the type, if applicable. |
int |
getScale()
Returns the number of digits to the right of the decimal for the type, if applicable. |
java.lang.String |
getSQLstring()
Converts this type descriptor (including length/precision) to a string suitable for appearing in a SQL type specifier. |
java.lang.String |
getTypeName()
Gets the name of this type. |
boolean |
isNullable()
Gets the nullability that values of this type have. |
Field Detail |
public static final int MAXIMUM_WIDTH_UNKNOWN
Method Detail |
public int getJDBCTypeId()
Types
public int getMaximumWidth()
public int getMaximumWidthInBytes()
public int getPrecision()
public int getScale()
public boolean isNullable()
public java.lang.String getTypeName()
public java.lang.String getSQLstring()
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |