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.
| Modifier and Type | Method and Description |
|---|---|
| public void | setAutoIncrement(int
the first column is 1, the second is 2, ... columnIndex, boolean true if the column is automatically
numbered; false if it is notSets whether the designated column is automatically numbered,
The default is for a |
| public void | setCaseSensitive(int
the first column is 1, the second is 2, ... columnIndex, boolean true if the column is case sensitive;
false if it is notSets whether the designated column is case sensitive. |
| public void | setCatalogName(int
the first column is 1, the second is 2, ... columnIndex, String the column's catalog name catalogName)Sets the designated column's table's catalog name, if any, to the given
|
| public void | setColumnCount(int
the number of columns in the columnCount)RowSet objectSets the number of columns in the |
| public void | setColumnDisplaySize(int
the first column is 1, the second is 2, ... columnIndex, int the normal maximum number of characters for
the designated column size)Sets the designated column's normal maximum width in chars to the
given |
| public void | setColumnLabel(int
the first column is 1, the second is 2, ... columnIndex, String the column title label)Sets the suggested column title for use in printouts and
displays, if any, to the given |
| public void | setColumnName(int
the first column is 1, the second is 2, ... columnIndex, String the designated column's name columnName)Sets the name of the designated column to the given |
| public void | setColumnType(int
the first column is 1, the second is 2, ... columnIndex, int the column's SQL type SQLType)Sets the designated column's SQL type to the one given. |
| public void | setColumnTypeName(int
the first column is 1, the second is 2, ... columnIndex, String data source specific type name. typeName)Sets the designated column's type name that is specific to the
data source, if any, to the given |
| public void | setCurrency(int
the first column is 1, the second is 2, ... columnIndex, boolean true if the column is a cash value;
false if it is notSets whether the designated column is a cash value. |
| public void | setNullable(int
the first column is 1, the second is 2, ... columnIndex, int one of the following constants:
property)ResultSetMetaData.columnNoNulls,
ResultSetMetaData.columnNullable, or
ResultSetMetaData.columnNullableUnknownSets whether the designated column's value can be set to
|
| public void | setPrecision(int
the first column is 1, the second is 2, ... columnIndex, int the total number of decimal digits precision)Sets the designated column's number of decimal digits to the
given |
| public void | setScale(int
the first column is 1, the second is 2, ... columnIndex, int the number of digits to right of decimal point scale)Sets the designated column's number of digits to the
right of the decimal point to the given |
| public void | setSchemaName(int
the first column is 1, the second is 2, ... columnIndex, String the schema name schemaName)Sets the name of the designated column's table's schema, if any, to
the given |
| public void | setSearchable(int
the first column is 1, the second is 2, ... columnIndex, boolean true if the column can be used in a
WHERE clause; false if it cannotSets whether the designated column can be used in a where clause. |
| public void | setSigned(int
the first column is 1, the second is 2, ... columnIndex, boolean true if the column is a signed number;
false if it is notSets whether the designated column is a signed number. |
| public void | setTableName(int
the first column is 1, the second is 2, ... columnIndex, String the column's table name tableName)Sets the designated column's table name, if any, to the given
|
| setAutoIncrement | back to summary |
|---|---|
| public void setAutoIncrement(int columnIndex, boolean property) throws SQLException Sets whether the designated column is automatically numbered,
The default is for a
| |
| setCaseSensitive | back to summary |
|---|---|
| public void setCaseSensitive(int columnIndex, boolean property) throws SQLException Sets whether the designated column is case sensitive.
The default is
| |
| setCatalogName | back to summary |
|---|---|
| public void setCatalogName(int columnIndex, String catalogName) throws SQLException Sets the designated column's table's catalog name, if any, to the given
| |
| setColumnCount | back to summary |
|---|---|
| public void setColumnCount(int columnCount) throws SQLException Sets the number of columns in the
| |
| setColumnDisplaySize | back to summary |
|---|---|
| public void setColumnDisplaySize(int columnIndex, int size) throws SQLException Sets the designated column's normal maximum width in chars to the
given
| |
| setColumnLabel | back to summary |
|---|---|
| public void setColumnLabel(int columnIndex, String label) throws SQLException Sets the suggested column title for use in printouts and
displays, if any, to the given
| |
| setColumnName | back to summary |
|---|---|
| public void setColumnName(int columnIndex, String columnName) throws SQLException Sets the name of the designated column to the given
| |
| setColumnType | back to summary |
|---|---|
| public void setColumnType(int columnIndex, int SQLType) throws SQLException Sets the designated column's SQL type to the one given.
| |
| setColumnTypeName | back to summary |
|---|---|
| public void setColumnTypeName(int columnIndex, String typeName) throws SQLException Sets the designated column's type name that is specific to the
data source, if any, to the given
| |
| setCurrency | back to summary |
|---|---|
| public void setCurrency(int columnIndex, boolean property) throws SQLException Sets whether the designated column is a cash value.
The default is
| |
| setNullable | back to summary |
|---|---|
| public void setNullable(int columnIndex, int property) throws SQLException Sets whether the designated column's value can be set to
| |
| setPrecision | back to summary |
|---|---|
| public void setPrecision(int columnIndex, int precision) throws SQLException Sets the designated column's number of decimal digits to the
given
| |
| setScale | back to summary |
|---|---|
| public void setScale(int columnIndex, int scale) throws SQLException Sets the designated column's number of digits to the
right of the decimal point to the given
| |
| setSchemaName | back to summary |
|---|---|
| public void setSchemaName(int columnIndex, String schemaName) throws SQLException Sets the name of the designated column's table's schema, if any, to
the given
| |
| setSearchable | back to summary |
|---|---|
| public void setSearchable(int columnIndex, boolean property) throws SQLException Sets whether the designated column can be used in a where clause.
The default is
| |
| setSigned | back to summary |
|---|---|
| public void setSigned(int columnIndex, boolean property) throws SQLException Sets whether the designated column is a signed number.
The default is
| |
| setTableName | back to summary |
|---|---|
| public void setTableName(int columnIndex, String tableName) throws SQLException Sets the designated column's table name, if any, to the given
| |