8.1.5 getBaseTypeName()
- Organization of this subsection
(1) Function
This method acquires the element data type of the Array object's array elements as an HADB data type name.
(2) Format
public synchronized String getBaseTypeName() throws SQLException
(3) Arguments
None.
(4) Return value
This method returns the element data type of the Array object's array elements as an HADB data type name (String object).
The following table lists the correspondences between the return value of the getBaseTypeName method and the element data types (HADB data types).
|
Element data type (HADB data type) |
Return value (character string returned) |
|---|---|
|
BIGINT |
"BIGINT"# |
|
INTEGER |
"INTEGER" |
|
SMALLINT |
"SMALLINT" |
|
REAL |
"REAL" |
|
DECIMAL or NUMERIC |
"DECIMAL" |
|
DOUBLE PRECISION or FLOAT |
"DOUBLE PRECISION" |
|
CHAR |
"CHAR" |
|
VARCHAR |
"VARCHAR" |
|
STRING |
"STRING" |
|
DATE |
"DATE" |
|
TIME |
"TIME" |
|
TIMESTAMP WITHOUT TIME ZONE |
"TIMESTAMP" |
|
TIMESTAMP WITH TIME ZONE |
"TIMESTAMP WITH TIME ZONE" |
|
BINARY |
"BINARY" |
|
VARBINARY |
"VARBINARY" |
|
ROW |
"ROW" |
|
BOOLEAN |
"BOOLEAN" |
|
UUID |
"UUID" |
- #
-
If the data format of the integer data type is legacy format, "INTEGER" is returned.
(5) Exceptions
None.