8.7.1 List of the methods in the ResultSetMetaData interface
- Organization of this subsection
(1) Main functions of the ResultSetMetaData interface
The ResultSetMetaData interface provides the following main function:
-
Return of meta information, such as the data type and the data length, for each column in a ResultSet
(2) Methods in the ResultSetMetaData interface that are supported by HADB
The following table lists and describes the methods in the ResultSetMetaData interface that are supported by HADB.
No. |
Method in the ResultSetMetaData interface |
Function |
---|---|---|
1 |
Acquires the catalog name for a specified column in a table. |
|
2 |
Acquires the fully specified Java class name for the data type of a column. |
|
3 |
Acquires the number of columns in the ResultSet object. |
|
4 |
Acquires a specified column's maximum width (in characters). |
|
5 |
Acquires a recommended print or display title for a specified column. |
|
6 |
Acquires a specified column's column name. |
|
7 |
Acquires a specified column's SQL data type. |
|
8 |
Acquires a specified column's data type. |
|
9 |
Acquires a specified column's length (in digits). |
|
10 |
Acquires the number of decimal places in a specified column. |
|
11 |
Acquires a specified column's schema name. |
|
12 |
Acquires the name of a specified column's table. |
|
13 |
Returns a value indicating whether a specified column is both numbered automatically and treated as being read-only. |
|
14 |
Returns a value indicating whether a specified column is case sensitive. |
|
15 |
Returns a value indicating whether a specified column is for currency values. |
|
16 |
Returns a value indicating whether write operations on a specified column will be successful. |
|
17 |
Returns a value indicating whether the null value can be set in a specified column. |
|
18 |
Returns a value indicating whether a specified column's values are read-only. |
|
19 |
Returns a value indicating whether a specified column can be specified in a where clause. |
|
20 |
Returns a value indicating whether a specified column is for signed numeric values. |
|
21 |
Returns a value indicating whether write operations on a specified column can be successful. |
- Important
-
HADB does not support methods that are not listed in this table. If an unsupported method is executed, an SQLException might be thrown.
(3) Required package name and class name
The package and class names required in order to use the ResultSetMetaData interface are as follows:
-
Package name: com.hitachi.hadb.jdbc
-
Class name: AdbResultSetMetaData