count elements will be returned.
- *
- * Each row of the result set will have two columns. The first will be
+ * array and up to count
elements will be returned.
+ *
+ *
Each row of the result set will have two columns. The first will be
* the index into the array of that row's contents. The second will be
* the actual value of that array element. The specified Map
* will be used to override selected default mappings of SQL types to
- * Java classes.
+ * Java classes.
*
* @param offset The index into the array to start returning elements from.
* @param length The requested number of elements to return.
Index: java/sql/DatabaseMetaData.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/sql/DatabaseMetaData.java,v
retrieving revision 1.12
diff -u -r1.12 DatabaseMetaData.java
--- java/sql/DatabaseMetaData.java 13 Oct 2003 06:29:48 -0000 1.12
+++ java/sql/DatabaseMetaData.java 18 Apr 2004 10:36:08 -0000
@@ -412,7 +412,7 @@
* each table.
*
* @return true
if the database uses a separate file for each
- * table false otherwise.
+ * table false
otherwise.
*
* @exception SQLException If an error occurs.
*/
@@ -433,8 +433,8 @@
* This method tests whether or not the database treats mixed case
* identifiers as all upper case.
*
- * @exception true
if the database treats all identifiers as
- * upper case, false
otherwise.
+ * @return true
if the database treats all identifiers as
+ * upper case, false
otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesUpperCaseIdentifiers() throws SQLException;
@@ -443,8 +443,8 @@
* This method tests whether or not the database treats mixed case
* identifiers as all lower case.
*
- * @exception true
if the database treats all identifiers as
- * lower case, false
otherwise.
+ * @return true
if the database treats all identifiers as
+ * lower case, false
otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesLowerCaseIdentifiers() throws SQLException;
@@ -473,8 +473,8 @@
* This method tests whether or not the database treats mixed case
* quoted identifiers as all upper case.
*
- * @exception true
if the database treats all quoted identifiers
- * as upper case, false
otherwise.
+ * @return true
if the database treats all quoted identifiers
+ * as upper case, false
otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesUpperCaseQuotedIdentifiers() throws SQLException;
@@ -483,8 +483,8 @@
* This method tests whether or not the database treats mixed case
* quoted identifiers as all lower case.
*
- * @exception true
if the database treats all quoted identifiers
- * as lower case, false
otherwise.
+ * @return true
if the database treats all quoted identifiers
+ * as lower case, false
otherwise.
* @exception SQLException If an error occurs.
*/
boolean storesLowerCaseQuotedIdentifiers() throws SQLException;
@@ -1377,18 +1377,18 @@
*
*
* - PROCEDURE_CAT - The catalog the procedure is in, which may be
- *
null
.
+ * null
.
* - PROCEDURE_SCHEM - The schema the procedures is in, which may be
- *
null
.
- * - PROCEDURE_NAME - The name of the procedure.
- *
- Unused
- *
- Unused
- *
- Unused
- *
- REMARKS - A description of the procedure
+ *
null
.
+ * - PROCEDURE_NAME - The name of the procedure.
+ * - Unused
+ * - Unused
+ * - Unused
+ * - REMARKS - A description of the procedure
* - PROCEDURE_TYPE - Indicates the return type of the procedure, which
* is one of the contstants defined in this class
* (
procedureResultUnknown
, procedureNoResult
, or
- * procedureReturnsResult
).
+ * procedureReturnsResult
).
*
*
* @param catalog The name of the catalog to return stored procedured from,
@@ -1409,27 +1409,27 @@
*
*
* - PROCEDURE_CAT - The catalog the procedure is in, which may be
- *
null
.
+ * null
.
* - PROCEDURE_SCHEM - The schema the procedures is in, which may be
- *
null
.
- * - PROCEDURE_NAME - The name of the procedure.
- *
- COLUMN_NAME - The name of the column
+ *
null
.
+ * - PROCEDURE_NAME - The name of the procedure.
+ * - COLUMN_NAME - The name of the column
* - COLUMN_TYPE - The type of the column, which will be one of the
* contants defined in this class (
procedureColumnUnknown
,
* procedureColumnIn
, procedureColumnInOut
,
* procedureColumnOut
, procedureColumnReturn
,
- * or procedureColumnResult
).
+ * or procedureColumnResult
).
* - DATA_TYPE - The SQL type of the column. This is one of the constants
- * defined in
Types
.
- * - TYPE_NAME - The string name of the data type for this column.
- *
- PRECISION - The precision of the column.
- *
- LENGTH - The length of the column in bytes
- *
- SCALE - The scale of the column.
- *
- RADIX - The radix of the column.
+ * defined in
Types
.
+ * - TYPE_NAME - The string name of the data type for this column.
+ * - PRECISION - The precision of the column.
+ * - LENGTH - The length of the column in bytes
+ * - SCALE - The scale of the column.
+ * - RADIX - The radix of the column.
* - NULLABLE - Whether or not the column is NULLABLE. This is one of
* the constants defined in this class (
procedureNoNulls
,
- * procedureNullable
, or procedureNullableUnknown
)
- * - REMARKS - A description of the column.
+ *
procedureNullable
, or procedureNullableUnknown
)
+ * - REMARKS - A description of the column.
*
*
* @param catalog The name of the catalog to return stored procedured from,
@@ -1448,14 +1448,14 @@
/**
* This method returns a list of the requested table as a
* ResultSet
with the following columns:
- *
+ *
*
- * - TABLE_CAT - The catalog the table is in, which may be
null
.
- * - TABLE_SCHEM - The schema the table is in, which may be
null
.
- * - TABLE_NAME - The name of the table.
+ *
- TABLE_CAT - The catalog the table is in, which may be
null
.
+ * - TABLE_SCHEM - The schema the table is in, which may be
null
.
+ * - TABLE_NAME - The name of the table.
* - TABLE_TYPE - A string describing the table type. This will be one
- * of the values returned by the
getTableTypes()
method.
- * - REMARKS - Comments about the table.
+ * of the values returned by the
getTableTypes()
method.
+ * - REMARKS - Comments about the table.
*
*
* @param catalog The name of the catalog to return tables from,
@@ -1507,29 +1507,29 @@
*
*
* - TABLE_CAT - The catalog the table is in, which may be
- *
null
.
+ * null
.
* - TABLE_SCHEM - The schema the tables is in, which may be
- *
null
.
- * - TABLE_NAME - The name of the table.
- *
- COLUMN_NAME - The name of the column
+ *
null
.
+ * - TABLE_NAME - The name of the table.
+ * - COLUMN_NAME - The name of the column
* - DATA_TYPE - The SQL type of the column. This is one of the constants
- * defined in
Types
.
- * - TYPE_NAME - The string name of the data type for this column.
- *
- COLUMN_SIZE - The size of the column.
- *
- Unused
- *
- NUM_PREC_RADIX - The radix of the column.
+ * defined in
Types
.
+ * - TYPE_NAME - The string name of the data type for this column.
+ * - COLUMN_SIZE - The size of the column.
+ * - Unused
+ * - NUM_PREC_RADIX - The radix of the column.
* - NULLABLE - Whether or not the column is NULLABLE. This is one of
* the constants defined in this class (
tableNoNulls
,
- * tableNullable
, or tableNullableUnknown
)
- * - REMARKS - A description of the column.
- *
- COLUMN_DEF - The default value for the column, may be
null
.
- * - SQL_DATA_TYPE - Unused
- *
- SQL_DATETIME_SUB - Unused
+ *
tableNullable
, or tableNullableUnknown
)
+ * - REMARKS - A description of the column.
+ * - COLUMN_DEF - The default value for the column, may be
null
.
+ * - SQL_DATA_TYPE - Unused
+ * - SQL_DATETIME_SUB - Unused
* - CHAR_OCTET_LENGTH - For character columns, the maximum number of bytes
- * in the column.
- *
- ORDINAL_POSITION - The index of the column in the table.
+ * in the column.
+ * - ORDINAL_POSITION - The index of the column in the table.
* - IS_NULLABLE - "NO" means no, "YES" means maybe, and an empty string
- * means unknown.
+ * means unknown.
*
*
* @param catalog The name of the catalog to return table from,
@@ -1548,19 +1548,19 @@
* This method returns the access rights that have been granted to the
* requested columns. This information is returned as a ResultSet
* with the following columns:
- *
+ *
*
* - TABLE_CAT - The catalog the table is in, which may be
- *
null
.
+ * null
.
* - TABLE_SCHEM - The schema the tables is in, which may be
- *
null
.
- * - TABLE_NAME - The name of the table.
- *
- COLUMN_NAME - The name of the column.
- *
- GRANTOR - The entity that granted the access.
- *
- GRANTEE - The entity granted the access.
- *
- PRIVILEGE - The name of the privilege granted.
+ *
null
.
+ * - TABLE_NAME - The name of the table.
+ * - COLUMN_NAME - The name of the column.
+ * - GRANTOR - The entity that granted the access.
+ * - GRANTEE - The entity granted the access.
+ * - PRIVILEGE - The name of the privilege granted.
* - IS_GRANTABLE - "YES" if the grantee can grant the privilege to
- * others, "NO" if not, and
null
if unknown.
+ * others, "NO" if not, and null
if unknown.
*
*
* @param catalog The catalog to retrieve information from, or the empty string
@@ -1580,18 +1580,18 @@
* This method returns the access rights that have been granted to the
* requested tables. This information is returned as a ResultSet
* with the following columns:
- *
+ *
*
* - TABLE_CAT - The catalog the table is in, which may be
- *
null
.
+ * null
.
* - TABLE_SCHEM - The schema the tables is in, which may be
- *
null
.
- * - TABLE_NAME - The name of the table.
- *
- GRANTOR - The entity that granted the access.
- *
- GRANTEE - The entity granted the access.
- *
- PRIVILEGE - The name of the privilege granted.
+ *
null
.
+ * - TABLE_NAME - The name of the table.
+ * - GRANTOR - The entity that granted the access.
+ * - GRANTEE - The entity granted the access.
+ * - PRIVILEGE - The name of the privilege granted.
* - IS_GRANTABLE - "YES" if the grantee can grant the privilege to
- * others, "NO" if not, and
null
if unknown.
+ * others, "NO" if not, and null
if unknown.
*
*
* @param catalog The catalog to retrieve information from, or the empty string
@@ -1611,22 +1611,22 @@
* This method returns the best set of columns for uniquely identifying
* a row. It returns this information as a ResultSet
with
* the following columns:
- *
+ *
*
* - SCOPE - The scope of the results returned. This is one of the
* constants defined in this class (
bestRowTemporary
,
- * bestRowTransaction
, or bestRowSession
).
- * - COLUMN_NAME - The name of the column.
+ *
bestRowTransaction
, or bestRowSession
).
+ * - COLUMN_NAME - The name of the column.
* - DATA_TYPE - The SQL type of the column. This is one of the constants
- * defined in
Types
.
- * - TYPE_NAME - The string name of the data type for this column.
- *
- COLUMN_SIZE - The precision of the columns
- *
- BUFFER_LENGTH - Unused
- *
- DECIMAL_DIGITS - The scale of the column.
+ * defined in
Types
.
+ * - TYPE_NAME - The string name of the data type for this column.
+ * - COLUMN_SIZE - The precision of the columns
+ * - BUFFER_LENGTH - Unused
+ * - DECIMAL_DIGITS - The scale of the column.
* - PSEUDO_COLUMN - Whether or not the best row identifier is a
* pseudo_column. This is one of the constants defined in this class
* (
bestRowUnknown
, bestRowNotPseudo
, or
- * bestRowPseudo
).
+ * bestRowPseudo
).
*
*
* @param catalog The catalog to retrieve information from, or the empty string
@@ -1649,20 +1649,20 @@
* This method returns the set of columns that are automatically updated
* when the row is update. It returns this information as a
* ResultSet
with the following columns:
- *
+ *
*
- * - SCOPE - Unused
- *
- COLUMN_NAME - The name of the column.
+ *
- SCOPE - Unused
+ * - COLUMN_NAME - The name of the column.
* - DATA_TYPE - The SQL type of the column. This is one of the constants
- * defined in
Types
.
- * - TYPE_NAME - The string name of the data type for this column.
- *
- COLUMN_SIZE - The precision of the columns
- *
- BUFFER_LENGTH - Unused
- *
- DECIMAL_DIGITS - The scale of the column.
+ * defined in
Types
.
+ * - TYPE_NAME - The string name of the data type for this column.
+ * - COLUMN_SIZE - The precision of the columns
+ * - BUFFER_LENGTH - Unused
+ * - DECIMAL_DIGITS - The scale of the column.
* - PSEUDO_COLUMN - Whether or not the best row identifier is a
* pseudo_column. This is one of the constants defined in this class
* (
versionRowUnknown
, versionRowNotPseudo
, or
- * versionRowPseudo
).
+ * versionRowPseudo
).
*
*
* @param catalog The catalog to retrieve information from, or the empty string
@@ -1681,14 +1681,14 @@
/**
* This method returns a list of a table's primary key columns. These
* are returned as a ResultSet
with the following columns.
- *
+ *
*
- * - TABLE_CAT - The catalog of the table, which may be
null
.
- * - TABLE_SCHEM - The schema of the table, which may be
null
.
- * - TABLE_NAME - The name of the table.
- *
- COLUMN_NAME - The name of the column.
- *
- KEY_SEQ - The sequence number of the column within the primary key.
- *
- PK_NAME - The name of the primary key, which may be
null
.
+ * - TABLE_CAT - The catalog of the table, which may be
null
.
+ * - TABLE_SCHEM - The schema of the table, which may be
null
.
+ * - TABLE_NAME - The name of the table.
+ * - COLUMN_NAME - The name of the column.
+ * - KEY_SEQ - The sequence number of the column within the primary key.
+ * - PK_NAME - The name of the primary key, which may be
null
.
*
*
* @param catalog The catalog to retrieve information from, or the empty string
@@ -1707,32 +1707,32 @@
/**
* This method returns a list of the table's foreign keys. These are
* returned as a ResultSet
with the following columns:
- *
+ *
*
- * - PKTABLE_CAT - The catalog of the table the key was imported from.
- *
- PKTABLE_SCHEM - The schema of the table the key was imported from.
- *
- PKTABLE_NAME - The name of the table the key was imported from.
- *
- PKCOLUMN_NAME - The name of the column that was imported.
- *
- FKTABLE_CAT - The foreign key catalog name.
- *
- FKTABLE_SCHEM - The foreign key schema name.
- *
- FKTABLE_NAME - The foreign key table name.
- *
- FKCOLUMN_NAME - The foreign key column name.
- *
- KEY_SEQ - The sequence number of the column within the foreign key.
+ *
- PKTABLE_CAT - The catalog of the table the key was imported from.
+ * - PKTABLE_SCHEM - The schema of the table the key was imported from.
+ * - PKTABLE_NAME - The name of the table the key was imported from.
+ * - PKCOLUMN_NAME - The name of the column that was imported.
+ * - FKTABLE_CAT - The foreign key catalog name.
+ * - FKTABLE_SCHEM - The foreign key schema name.
+ * - FKTABLE_NAME - The foreign key table name.
+ * - FKCOLUMN_NAME - The foreign key column name.
+ * - KEY_SEQ - The sequence number of the column within the foreign key.
* - UPDATE_RULE - How the foreign key behaves when the primary key is
* updated. This is one of the constants defined in this class
* (
importedNoAction
, importedKeyCascade
,
* importedKeySetNull
, importedKeySetDefault
, or
- * importedKeyRestrict
).
+ * importedKeyRestrict
).
* - DELETE_RULE - How the foreign key behaves when the primary key is
* deleted. This is one of the constants defined in this class
* (
importedNoAction
, importedKeyCascade
,
- * importedKeySetNull
, or importedKeySetDefault
)
- * - FK_NAME - The name of the foreign key.
- *
- PK_NAME - The name of the primary key.
+ *
importedKeySetNull
, or importedKeySetDefault
)
+ * - FK_NAME - The name of the foreign key.
+ * - PK_NAME - The name of the primary key.
* - DEFERRABILITY - The deferrability value. This is one of the
* constants defined in this table (
importedKeyInitiallyDeferred
,
* importedKeyInitiallyImmediate
, or
- * importedKeyNotDeferrable
).
+ * importedKeyNotDeferrable
).
*
*
* @param catalog The catalog to retrieve information from, or the empty string
@@ -1753,32 +1753,32 @@
* This method returns a list of the table's which use this table's
* primary key as a foreign key. The information is
* returned as a ResultSet
with the following columns:
- *
+ *
*
- * - PKTABLE_CAT - The catalog of the table the key was imported from.
- *
- PKTABLE_SCHEM - The schema of the table the key was imported from.
- *
- PKTABLE_NAME - The name of the table the key was imported from.
- *
- PKCOLUMN_NAME - The name of the column that was imported.
- *
- FKTABLE_CAT - The foreign key catalog name.
- *
- FKTABLE_SCHEM - The foreign key schema name.
- *
- FKTABLE_NAME - The foreign key table name.
- *
- FKCOLUMN_NAME - The foreign key column name.
- *
- KEY_SEQ - The sequence number of the column within the foreign key.
+ *
- PKTABLE_CAT - The catalog of the table the key was imported from.
+ * - PKTABLE_SCHEM - The schema of the table the key was imported from.
+ * - PKTABLE_NAME - The name of the table the key was imported from.
+ * - PKCOLUMN_NAME - The name of the column that was imported.
+ * - FKTABLE_CAT - The foreign key catalog name.
+ * - FKTABLE_SCHEM - The foreign key schema name.
+ * - FKTABLE_NAME - The foreign key table name.
+ * - FKCOLUMN_NAME - The foreign key column name.
+ * - KEY_SEQ - The sequence number of the column within the foreign key.
* - UPDATE_RULE - How the foreign key behaves when the primary key is
* updated. This is one of the constants defined in this class
* (
importedNoAction
, importedKeyCascade
,
* importedKeySetNull
, importedKeySetDefault
, or
- * importedKeyRestrict
).
+ * importedKeyRestrict
).
* - DELETE_RULE - How the foreign key behaves when the primary key is
* deleted. This is one of the constants defined in this class
* (
importedNoAction
, importedKeyCascade
,
- * importedKeySetNull
, or importedKeySetDefault
)
- * - FK_NAME - The name of the foreign key.
- *
- PK_NAME - The name of the primary key.
+ *
importedKeySetNull
, or importedKeySetDefault
)
+ * - FK_NAME - The name of the foreign key.
+ * - PK_NAME - The name of the primary key.
* - DEFERRABILITY - The deferrability value. This is one of the
* constants defined in this table (
importedKeyInitiallyDeferred
,
* importedKeyInitiallyImmediate
, or
- * importedKeyNotDeferrable
).
+ * importedKeyNotDeferrable
).
*
*
* @param catalog The catalog to retrieve information from, or the empty string
@@ -1797,32 +1797,32 @@
* This method returns a description of how one table imports another
* table's primary key as a foreign key. The information is
* returned as a ResultSet
with the following columns:
- *
+ *
*
- * - PKTABLE_CAT - The catalog of the table the key was imported from.
- *
- PKTABLE_SCHEM - The schema of the table the key was imported from.
- *
- PKTABLE_NAME - The name of the table the key was imported from.
- *
- PKCOLUMN_NAME - The name of the column that was imported.
- *
- FKTABLE_CAT - The foreign key catalog name.
- *
- FKTABLE_SCHEM - The foreign key schema name.
- *
- FKTABLE_NAME - The foreign key table name.
- *
- FKCOLUMN_NAME - The foreign key column name.
- *
- KEY_SEQ - The sequence number of the column within the foreign key.
+ *
- PKTABLE_CAT - The catalog of the table the key was imported from.
+ * - PKTABLE_SCHEM - The schema of the table the key was imported from.
+ * - PKTABLE_NAME - The name of the table the key was imported from.
+ * - PKCOLUMN_NAME - The name of the column that was imported.
+ * - FKTABLE_CAT - The foreign key catalog name.
+ * - FKTABLE_SCHEM - The foreign key schema name.
+ * - FKTABLE_NAME - The foreign key table name.
+ * - FKCOLUMN_NAME - The foreign key column name.
+ * - KEY_SEQ - The sequence number of the column within the foreign key.
* - UPDATE_RULE - How the foreign key behaves when the primary key is
* updated. This is one of the constants defined in this class
* (
importedNoAction
, importedKeyCascade
,
* importedKeySetNull
, importedKeySetDefault
, or
- * importedKeyRestrict
).
+ * importedKeyRestrict
).
* - DELETE_RULE - How the foreign key behaves when the primary key is
* deleted. This is one of the constants defined in this class
* (
importedNoAction
, importedKeyCascade
,
- * importedKeySetNull
, or importedKeySetDefault
)
- * - FK_NAME - The name of the foreign key.
- *
- PK_NAME - The name of the primary key.
+ *
importedKeySetNull
, or importedKeySetDefault
)
+ * - FK_NAME - The name of the foreign key.
+ * - PK_NAME - The name of the primary key.
* - DEFERRABILITY - The deferrability value. This is one of the
* constants defined in this table (
importedKeyInitiallyDeferred
,
* importedKeyInitiallyImmediate
, or
- * importedKeyNotDeferrable
).
+ * importedKeyNotDeferrable
).
*
*
* @param primCatalog The catalog to retrieve information from, or the empty string
@@ -1850,36 +1850,36 @@
* This method returns a list of the SQL types supported by this
* database. The information is returned as a ResultSet
* with the following columns:
- *
+ *
*
- * - TYPE_NAME - The name of the data type.
+ *
- TYPE_NAME - The name of the data type.
* - DATA_TYPE - A data type constant from
Types
for this
- * type.
- * - PRECISION - The maximum precision of this type.
+ * type.
+ * - PRECISION - The maximum precision of this type.
* - LITERAL_PREFIX - Prefix value used to quote a literal, which may be
- *
null
.
+ * null
.
* - LITERAL_SUFFIX - Suffix value used to quote a literal, which may be
- *
null
.
+ * null
.
* - CREATE_PARAMS - The parameters used to create the type, which may be
- *
null
.
+ * null
.
* - NULLABLE - Whether or not this type supports NULL values. This will
* be one of the constants defined in this interface
* (
typeNoNulls
, typeNullable
, or
- * typeNullableUnknown
).
- * - CASE_SENSITIVE - Whether or not the value is case sensitive.
+ *
typeNullableUnknown
).
+ * - CASE_SENSITIVE - Whether or not the value is case sensitive.
* - SEARCHABLE - Whether or not "LIKE" expressions are supported in
* WHERE clauses for this type. This will be one of the constants defined
* in this interface (
typePredNone
, typePredChar
,
- * typePredBasic
, or typeSearchable
).
- * - UNSIGNED_ATTRIBUTE - Is the value of this type unsigned.
- *
- FIXED_PREC_SCALE - Whether or not this type can be used for money.
- *
- AUTO_INCREMENT - Whether or not this type supports auto-incrementing.
- *
- LOCAL_TYPE_NAME - A localized name for this data type.
- *
- MINIMUM_SCALE - The minimum scale supported by this type.
- *
- MAXIMUM_SCALE - The maximum scale supported by this type.
- *
- SQL_DATA_TYPE - Unused.
- *
- SQL_DATETIME_SUB - Unused.
- *
- NUM_PREC_RADIX - The radix of this data type.
+ *
typePredBasic
, or typeSearchable
).
+ * - UNSIGNED_ATTRIBUTE - Is the value of this type unsigned.
+ * - FIXED_PREC_SCALE - Whether or not this type can be used for money.
+ * - AUTO_INCREMENT - Whether or not this type supports auto-incrementing.
+ * - LOCAL_TYPE_NAME - A localized name for this data type.
+ * - MINIMUM_SCALE - The minimum scale supported by this type.
+ * - MAXIMUM_SCALE - The maximum scale supported by this type.
+ * - SQL_DATA_TYPE - Unused.
+ * - SQL_DATETIME_SUB - Unused.
+ * - NUM_PREC_RADIX - The radix of this data type.
*
*
* @return A ResultSet
with the list of available data types.
@@ -1890,30 +1890,30 @@
/**
* This method returns information about a tables indices and statistics.
* It is returned as a ResultSet
with the following columns:
- *
+ *
*
- * - TABLE_CAT - The catalog of the table, which may be
null
.
- * - TABLE_SCHEM - The schema of the table, which may be
null
.
- * - TABLE_NAME - The name of the table.
- *
- NON_UNIQUE - Are index values non-unique?
- *
- INDEX_QUALIFIER The index catalog, which may be
null
- * - INDEX_NAME - The name of the index.
+ *
- TABLE_CAT - The catalog of the table, which may be
null
.
+ * - TABLE_SCHEM - The schema of the table, which may be
null
.
+ * - TABLE_NAME - The name of the table.
+ * - NON_UNIQUE - Are index values non-unique?
+ * - INDEX_QUALIFIER The index catalog, which may be
null
+ * - INDEX_NAME - The name of the index.
* - TYPE - The type of index, which will be one of the constants defined
* in this interface (
tableIndexStatistic
,
* tableIndexClustered
, tableIndexHashed
, or
- * tableIndexOther
).
+ * tableIndexOther
).
* - ORDINAL_POSITION - The sequence number of this column in the index.
- * This will be 0 when the index type is
tableIndexStatistic
.
- * - COLUMN_NAME - The name of this column in the index.
+ * This will be 0 when the index type is
tableIndexStatistic
.
+ * - COLUMN_NAME - The name of this column in the index.
* - ASC_OR_DESC - "A" for an ascending sort sequence, "D" for a
* descending sort sequence or
null
if a sort sequence is not
- * supported.
+ * supported.
* - CARDINALITY - The number of unique rows in the index, or the number
- * of rows in the table if the index type is
tableIndexStatistic
.
+ * of rows in the table if the index type is tableIndexStatistic
.
* - PAGES - The number of pages used for the index, or the number of pages
- * in the table if the index type is
tableIndexStatistic
.
+ * in the table if the index type is tableIndexStatistic
.
* - FILTER_CONDITION - The filter condition for this index, which may be
- *
null
.
+ * null
.
*
*
* @param catalog The catalog to retrieve information from, or the empty string
@@ -2093,16 +2093,16 @@
/**
* This method returns the list of user defined data types in use. These
* are returned as a ResultSet
with the following columns:
- *
+ *
*
- * - TYPE_CAT - The catalog name, which may be
null
.
- * - TYPE_SCEHM - The schema name, which may be
null
.
- * - TYPE_NAME - The user defined data type name.
- *
- CLASS_NAME - The Java class name this type maps to.
+ *
- TYPE_CAT - The catalog name, which may be
null
.
+ * - TYPE_SCEHM - The schema name, which may be
null
.
+ * - TYPE_NAME - The user defined data type name.
+ * - CLASS_NAME - The Java class name this type maps to.
* - DATA_TYPE - A type identifier from
Types
for this type.
* This will be one of JAVA_OBJECT
, STRUCT
, or
- * DISTINCT
.
- * - REMARKS - Comments about this data type.
+ *
DISTINCT
.
+ * - REMARKS - Comments about this data type.
*
*
* @param catalog The catalog to retrieve information from, or the empty string
Index: java/sql/ResultSet.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/sql/ResultSet.java,v
retrieving revision 1.6
diff -u -r1.6 ResultSet.java
--- java/sql/ResultSet.java 12 Oct 2003 16:38:16 -0000 1.6
+++ java/sql/ResultSet.java 18 Apr 2004 10:36:09 -0000
@@ -48,14 +48,14 @@
/**
* This interface provides access to the data set returned by a SQL
* statement. An instance of this interface is returned by the various
- * execution methods in the Statement
- * This class models a cursor, which can be stepped through one row at a
+ * execution methods in the Statement
.
+ *
+ * This class models a cursor, which can be stepped through one row at a
* time. Methods are provided for accessing columns by column name or by
- * index.
- *
- * Note that a result set is invalidated if the statement that returned
- * it is closed.
+ * index.
+ *
+ * Note that a result set is invalidated if the statement that returned
+ * it is closed.
*
* @author Aaron M. Renn (address@hidden)
*/