| javax.sql.RowSetMetaData |
An interface which provides facilities for getting information about the
columns in a
RowSet
.
RowSetMetaData
extends
ResultSetMetaData
, adding new
operations for carrying out value sets.
Application code would not normally call this interface directly. It would be
called internally when
RowSet.execute
is called.
|
[Expand]
Inherited Constants
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.sql.ResultSetMetaData
|
|||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Sets automatic numbering for a specified column in the
RowSet
.
|
||||||||||
|
|
Sets the case sensitive property for a specified column in the
RowSet
.
|
||||||||||
|
|
Sets the catalog name for a specified column in the
RowSet
.
|
||||||||||
|
|
Sets the number of columns contained in the row set.
|
||||||||||
|
|
Sets the normal maximum width in characters for a specified column in the
RowSet
.
|
||||||||||
|
|
Sets the suggested name as label for the column contained in the
RowSet
.
|
||||||||||
|
|
Sets the column name for a specified column in the
RowSet
.
|
||||||||||
|
|
Sets the SQL type for a specified column in the
RowSet
.
|
||||||||||
|
|
Sets the type name for a specified column in the
RowSet
, where
the data type is specific to the data source.
|
||||||||||
|
|
Sets whether a specified column is a currency value.
|
||||||||||
|
|
Sets whether a specified column can contain SQL
NULL
values.
|
||||||||||
|
|
Sets the number of decimal digits for a specified column in the
RowSet
.
|
||||||||||
|
|
Declares how many decimal digits there should be after a decimal point
for the column specified by
columnIndex
.
|
||||||||||
|
|
Sets the schema name for a specified column in the
RowSet
.
|
||||||||||
|
|
Sets whether a specified column can be used in a search involving a
WHERE
clause.
|
||||||||||
|
|
Sets if a specified column can contain signed numbers.
|
||||||||||
|
|
Sets the table name for a specified column in the
RowSet
.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.sql.ResultSetMetaData
|
|||||||||||
From interface
java.sql.Wrapper
|
|||||||||||
Sets automatic numbering for a specified column in the
RowSet
. If
automatic numbering is on, the column is read-only. The default value for
the auto increment parameter is
false
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| autoIncrement |
true
to set automatic numbering on,
false
to
turn it off (default).
|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the case sensitive property for a specified column in the
RowSet
. The default is that the column is not case sensitive.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| caseSensitive |
true
to make the column case sensitive,
false
to make it case insensitive (default).
|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the catalog name for a specified column in the
RowSet
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| catalogName | the new catalog's name. |
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the number of columns contained in the row set.
| columnCount |
the number of columns contained in the
RowSet
.
|
|---|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the normal maximum width in characters for a specified column in the
RowSet
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| displaySize | the normal maximum column width in characters. |
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the suggested name as label for the column contained in the
RowSet
. The label is an alias for printing and displaying purposes.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| theLabel | the alias name for the column. |
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the column name for a specified column in the
RowSet
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| theColumnName | the column's label. |
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the SQL type for a specified column in the
RowSet
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| theSQLType |
the SQL Type, as defined by
java.sql.Types
.
|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the type name for a specified column in the
RowSet
, where
the data type is specific to the data source.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| theTypeName | the SQL type name for the column. |
| SQLException | if a problem occurs accessing the database. |
|---|
Sets whether a specified column is a currency value. The default value is
false
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| isCurrency |
true
if the column should be treated as a currency
value,
false
if it should not be treated as a currency
value (default).
|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets whether a specified column can contain SQL
NULL
values.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| nullability |
an integer which is one of the following values:
The default value is
|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the number of decimal digits for a specified column in the
RowSet
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| thePrecision | the number of decimal digits. |
| SQLException | if a problem occurs accessing the database. |
|---|
Declares how many decimal digits there should be after a decimal point
for the column specified by
columnIndex
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| theScale | the number of digits after the decimal point. |
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the schema name for a specified column in the
RowSet
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| theSchemaName |
a
String
containing the schema name.
|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets whether a specified column can be used in a search involving a
WHERE
clause. The default value is
false
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| isSearchable |
true
of the column can be used in a
WHERE
clause search,
false
otherwise.
|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets if a specified column can contain signed numbers.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| isSigned |
true
if the column can contain signed numbers,
false
otherwise.
|
| SQLException | if a problem occurs accessing the database. |
|---|
Sets the table name for a specified column in the
RowSet
.
| columnIndex | the index number for the column; the first column's index is 1. |
|---|---|
| theTableName | the table name for the column. |
| SQLException | if a problem occurs accessing the database. |
|---|