| javax.sql.RowSetMetaData
RowSetMetaData | public interface RowSetMetaData extends ResultSetMetaData(Code) | | The RowSetMetaData interface extends ResultSetMetaData with methods that allow a metadata object to be initialized.
A RowSetReader may create a RowSetMetaData and pass it to a rowset when new data is read.
|
Method Summary | |
public void | setAutoIncrement(int columnIndex, boolean flag) Specify whether the is column automatically numbered, thus read-only. | public void | setCaseSensitive(int columnIndex, boolean flag) Specify whether the column is case sensitive. | public void | setCatalogName(int columnIndex, String string) Specify the column's table's catalog name, if any. | public void | setColumnCount(int i) Set the number of columns in the RowSet. | public void | setColumnDisplaySize(int columnIndex, int size) Specify the column's normal max width in chars. | public void | setColumnLabel(int columnIndex, String label) Specify the suggested column title for use in printouts and displays, if any. | public void | setColumnName(int columnIndex, String name) Specify the column name. | public void | setColumnType(int columnIndex, int sqltype) Specify the column's SQL type. | public void | setColumnTypeName(int columnIndex, String typeName) Specify the column's data source specific type name, if any. | public void | setCurrency(int columnIndex, boolean flag) Specify whether the column is a cash value. | public void | setNullable(int columnIndex, int property) Specify whether the column's value can be set to NULL. | public void | setPrecision(int columnIndex, int precision) Specify the column's number of decimal digits. | public void | setScale(int columnIndex, int scale) Specify the column's number of digits to right of the decimal point. | public void | setSchemaName(int columnIndex, String schemaName) Specify the column's table's schema, if any. | public void | setSearchable(int columnIndex, boolean flag) Specify whether the column can be used in a where clause. | public void | setSigned(int columnIndex, boolean flag) Specify whether the column is a signed number. | public void | setTableName(int columnIndex, String tableName) Specify the column's table name, if any. |
setAutoIncrement | public void setAutoIncrement(int columnIndex, boolean flag) throws SQLException(Code) | | Specify whether the is column automatically numbered, thus read-only.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: flag - - is either true or false. exception: SQLException - - if a database-access error occurs. |
setCaseSensitive | public void setCaseSensitive(int columnIndex, boolean flag) throws SQLException(Code) | | Specify whether the column is case sensitive.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: flag - - is either true or false. exception: SQLException - - if a database-access error occurs. |
setCatalogName | public void setCatalogName(int columnIndex, String string) throws SQLException(Code) | | Specify the column's table's catalog name, if any.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: string - - column's catalog name. exception: SQLException - - if a database-access error occurs. |
setColumnCount | public void setColumnCount(int i) throws SQLException(Code) | | Set the number of columns in the RowSet.
Parameters: i - - number of columns. exception: SQLException - - if a database-access error occurs. |
setColumnDisplaySize | public void setColumnDisplaySize(int columnIndex, int size) throws SQLException(Code) | | Specify the column's normal max width in chars.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: size - - size of the column exception: SQLException - - if a database-access error occurs. |
setColumnLabel | public void setColumnLabel(int columnIndex, String label) throws SQLException(Code) | | Specify the suggested column title for use in printouts and displays, if any.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: label - - the column title exception: SQLException - - if a database-access error occurs. |
setColumnName | public void setColumnName(int columnIndex, String name) throws SQLException(Code) | | Specify the column name.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: name - - the column name exception: SQLException - - if a database-access error occurs. |
setColumnType | public void setColumnType(int columnIndex, int sqltype) throws SQLException(Code) | | Specify the column's SQL type.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: sqltype - - column's SQL type. exception: SQLException - - if a database-access error occurs. |
setColumnTypeName | public void setColumnTypeName(int columnIndex, String typeName) throws SQLException(Code) | | Specify the column's data source specific type name, if any.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: sqltype - - column's SQL type name. exception: SQLException - - if a database-access error occurs. |
setCurrency | public void setCurrency(int columnIndex, boolean flag) throws SQLException(Code) | | Specify whether the column is a cash value.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: flag - - is either true or false. exception: SQLException - - if a database-access error occurs. |
setNullable | public void setNullable(int columnIndex, int property) throws SQLException(Code) | | Specify whether the column's value can be set to NULL.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: property - - is either true or false. exception: SQLException - - if a database-access error occurs. |
setPrecision | public void setPrecision(int columnIndex, int precision) throws SQLException(Code) | | Specify the column's number of decimal digits.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: precision - - number of decimal digits. exception: SQLException - - if a database-access error occurs. |
setScale | public void setScale(int columnIndex, int scale) throws SQLException(Code) | | Specify the column's number of digits to right of the decimal point.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: scale - - number of digits to right of decimal point. exception: SQLException - - if a database-access error occurs. |
setSchemaName | public void setSchemaName(int columnIndex, String schemaName) throws SQLException(Code) | | Specify the column's table's schema, if any.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: schemaName - - the schema name exception: SQLException - - if a database-access error occurs. |
setSearchable | public void setSearchable(int columnIndex, boolean flag) throws SQLException(Code) | | Specify whether the column can be used in a where clause.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: flag - - is either true or false. exception: SQLException - - if a database-access error occurs. |
setSigned | public void setSigned(int columnIndex, boolean flag) throws SQLException(Code) | | Specify whether the column is a signed number.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: flag - - is either true or false. exception: SQLException - - if a database-access error occurs. |
setTableName | public void setTableName(int columnIndex, String tableName) throws SQLException(Code) | | Specify the column's table name, if any.
Parameters: columnIndex - - the first column is 1, the second is 2, ... Parameters: tableName - - column's table name. exception: SQLException - - if a database-access error occurs. |
|
|