Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

17.4.7 ResultSetMetaData interface

Organization of this subsection
(1) Overview
(2) Methods
(3) Package and class names
(4) Notes

(1) Overview

The ResultSetMetaData interface provides the following principal function:

(2) Methods

Table 17-20 lists the methods of the ResultSetMetaData interface. The interface does not support methods that are not listed in the table. If an unsupported method is specified, the interface throws an SQLException.

Table 17-20 ResultSetMetaData interface methods

Method Remarks
getCatalogName(int column) --
getColumnClassName(int column) --
getColumnCount() --
getColumnDisplaySize(int column) --
getColumnLabel(int column) --
getColumnName(int column) --
getColumnType(int column) --
getColumnTypeName(int column) --
getPrecision(int column) --
getScale(int column) --
getSchemaName(int column) --
getTableName(int column) --
isAutoIncrement(int column) --
isCaseSensitive(int column) --
isCurrency(int column) --
isDefinitelyWritable(int column) --
isNullable(int column) --
isReadOnly(int column) --
isSearchable(int column) --
isSigned(int column) --
isWritable(int column) --

Legend:
--: None

(3) Package and class names

The names of the package and class for installing this interface are as follows:

Package name: JP.co.Hitachi.soft.HiRDB.JDBC

Class name: PrdbResultSetMetaData

(4) Notes

(a) getColumnName and getColumnLabel methods

The getColumnName and getColumnLabel methods get retrieval item names from SQLNAME in the Column Name Descriptor Area (SQLCNDA) that the HiRDB driver sends to the JDBC driver. The methods then convert the names to Java internal codes and return them. For a description of the return values of these methods for specified columns, see C.1 Organization and contents of the Column Name Descriptor Area.