An object that contains information about the columns in a RowSet object. This interface is an extension of the ResultSetMetaData interface with methods for setting the values in a RowSetMetaData object. When a RowSetReader object reads data into a RowSet object, it creates a RowSetMetaData object and initializes it using the methods in the RowSetMetaData interface. Then the reader passes the RowSetMetaData object to the rowset.

The methods in this interface are invoked internally when an application calls the method RowSet.execute; an application programmer would not use them directly.

@since
1.4
The constant indicating that a column does not allow NULL values.
The constant indicating that a column allows NULL values.
The constant indicating that the nullability of a column's values is unknown.
Gets the designated column's table's catalog name.
Parameters
columnthe first column is 1, the second is 2, ...
Return
the name of the catalog for the table in which the given column appears or "" if not applicable
Throws
SQLExceptionif a database access error occurs

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column. ResultSet.getObject may return a subclass of the class returned by this method.

Parameters
columnthe first column is 1, the second is 2, ...
Return
the fully-qualified name of the class in the Java programming language that would be used by the method ResultSet.getObject to retrieve the value in the specified column. This is the class name used for custom mapping.
Throws
SQLExceptionif a database access error occurs
@since
1.2
Returns the number of columns in this ResultSet object.
Return
the number of columns
Throws
SQLExceptionif a database access error occurs
Indicates the designated column's normal maximum width in characters.
Parameters
columnthe first column is 1, the second is 2, ...
Return
the normal maximum number of characters allowed as the width of the designated column
Throws
SQLExceptionif a database access error occurs
Gets the designated column's suggested title for use in printouts and displays.
Parameters
columnthe first column is 1, the second is 2, ...
Return
the suggested column title
Throws
SQLExceptionif a database access error occurs
Get the designated column's name.
Parameters
columnthe first column is 1, the second is 2, ...
Return
column name
Throws
SQLExceptionif a database access error occurs
Retrieves the designated column's SQL type.
Parameters
columnthe first column is 1, the second is 2, ...
Return
SQL type from java.sql.Types
Throws
SQLExceptionif a database access error occurs
See Also
Retrieves the designated column's database-specific type name.
Parameters
columnthe first column is 1, the second is 2, ...
Return
type name used by the database. If the column type is a user-defined type, then a fully-qualified type name is returned.
Throws
SQLExceptionif a database access error occurs
Get the designated column's number of decimal digits.
Parameters
columnthe first column is 1, the second is 2, ...
Return
precision
Throws
SQLExceptionif a database access error occurs
Gets the designated column's number of digits to right of the decimal point.
Parameters
columnthe first column is 1, the second is 2, ...
Return
scale
Throws
SQLExceptionif a database access error occurs
Get the designated column's table's schema.
Parameters
columnthe first column is 1, the second is 2, ...
Return
schema name or "" if not applicable
Throws
SQLExceptionif a database access error occurs
Gets the designated column's table name.
Parameters
columnthe first column is 1, the second is 2, ...
Return
table name or "" if not applicable
Throws
SQLExceptionif a database access error occurs
Indicates whether the designated column is automatically numbered, thus read-only.
Parameters
columnthe first column is 1, the second is 2, ...
Return
true if so; false otherwise
Throws
SQLExceptionif a database access error occurs
Indicates whether a column's case matters.
Parameters
columnthe first column is 1, the second is 2, ...
Return
true if so; false otherwise
Throws
SQLExceptionif a database access error occurs
Indicates whether the designated column is a cash value.
Parameters
columnthe first column is 1, the second is 2, ...
Return
true if so; false otherwise
Throws
SQLExceptionif a database access error occurs
Indicates whether a write on the designated column will definitely succeed.
Parameters
columnthe first column is 1, the second is 2, ...
Return
true if so; false otherwise
Throws
SQLExceptionif a database access error occurs
Indicates the nullability of values in the designated column.
Parameters
columnthe first column is 1, the second is 2, ...
Return
the nullability status of the given column; one of columnNoNulls, columnNullable or columnNullableUnknown
Throws
SQLExceptionif a database access error occurs
Indicates whether the designated column is definitely not writable.
Parameters
columnthe first column is 1, the second is 2, ...
Return
true if so; false otherwise
Throws
SQLExceptionif a database access error occurs
Indicates whether the designated column can be used in a where clause.
Parameters
columnthe first column is 1, the second is 2, ...
Return
true if so; false otherwise
Throws
SQLExceptionif a database access error occurs
Indicates whether values in the designated column are signed numbers.
Parameters
columnthe first column is 1, the second is 2, ...
Return
true if so; false otherwise
Throws
SQLExceptionif a database access error occurs
Indicates whether it is possible for a write on the designated column to succeed.
Parameters
columnthe first column is 1, the second is 2, ...
Return
true if so; false otherwise
Throws
SQLExceptionif a database access error occurs
Sets whether the designated column is automatically numbered, and thus read-only. The default is for a RowSet object's columns not to be automatically numbered.
Parameters
columnIndexthe first column is 1, the second is 2, ...
propertytrue if the column is automatically numbered; false if it is not
Throws
SQLExceptionif a database access error occurs
Sets whether the designated column is case sensitive. The default is false.
Parameters
columnIndexthe first column is 1, the second is 2, ...
propertytrue if the column is case sensitive; false if it is not
Throws
SQLExceptionif a database access error occurs
Sets the designated column's table's catalog name, if any, to the given String.
Parameters
columnIndexthe first column is 1, the second is 2, ...
catalogNamethe column's catalog name
Throws
SQLExceptionif a database access error occurs
Sets the number of columns in the RowSet object to the given number.
Parameters
columnCountthe number of columns in the RowSet object
Throws
SQLExceptionif a database access error occurs
Sets the designated column's normal maximum width in chars to the given int.
Parameters
columnIndexthe first column is 1, the second is 2, ...
sizethe normal maximum number of characters for the designated column
Throws
SQLExceptionif a database access error occurs
Sets the suggested column title for use in printouts and displays, if any, to the given String.
Parameters
columnIndexthe first column is 1, the second is 2, ...
labelthe column title
Throws
SQLExceptionif a database access error occurs
Sets the name of the designated column to the given String.
Parameters
columnIndexthe first column is 1, the second is 2, ...
columnNamethe designated column's name
Throws
SQLExceptionif a database access error occurs
Sets the designated column's SQL type to the one given.
Parameters
columnIndexthe first column is 1, the second is 2, ...
SQLTypethe column's SQL type
Throws
SQLExceptionif a database access error occurs
See Also
Sets the designated column's type name that is specific to the data source, if any, to the given String.
Parameters
columnIndexthe first column is 1, the second is 2, ...
typeNamedata source specific type name.
Throws
SQLExceptionif a database access error occurs
Sets whether the designated column is a cash value. The default is false.
Parameters
columnIndexthe first column is 1, the second is 2, ...
propertytrue if the column is a cash value; false if it is not
Throws
SQLExceptionif a database access error occurs
Sets whether the designated column's value can be set to NULL. The default is ResultSetMetaData.columnNullableUnknown
Parameters
columnIndexthe first column is 1, the second is 2, ...
propertyone of the following constants: ResultSetMetaData.columnNoNulls, ResultSetMetaData.columnNullable, or ResultSetMetaData.columnNullableUnknown
Throws
SQLExceptionif a database access error occurs
Sets the designated column's number of decimal digits to the given int.
Parameters
columnIndexthe first column is 1, the second is 2, ...
precisionthe total number of decimal digits
Throws
SQLExceptionif a database access error occurs
Sets the designated column's number of digits to the right of the decimal point to the given int.
Parameters
columnIndexthe first column is 1, the second is 2, ...
scalethe number of digits to right of decimal point
Throws
SQLExceptionif a database access error occurs
Sets the name of the designated column's table's schema, if any, to the given String.
Parameters
columnIndexthe first column is 1, the second is 2, ...
schemaNamethe schema name
Throws
SQLExceptionif a database access error occurs
Sets whether the designated column can be used in a where clause. The default is false.
Parameters
columnIndexthe first column is 1, the second is 2, ...
propertytrue if the column can be used in a WHERE clause; false if it cannot
Throws
SQLExceptionif a database access error occurs
Sets whether the designated column is a signed number. The default is false.
Parameters
columnIndexthe first column is 1, the second is 2, ...
propertytrue if the column is a signed number; false if it is not
Throws
SQLExceptionif a database access error occurs
Sets the designated column's table name, if any, to the given String.
Parameters
columnIndexthe first column is 1, the second is 2, ...
tableNamethe column's table name
Throws
SQLExceptionif a database access error occurs