Home » openjdk-7 » javax » sql » [javadoc | source]
javax.sql
public interface: RowSetMetaData [javadoc | source]

All Implemented Interfaces:
    ResultSetMetaData

All Known Implementing Classes:
    RowSetMetaDataImpl

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.

Method from javax.sql.RowSetMetaData Summary:
setAutoIncrement,   setCaseSensitive,   setCatalogName,   setColumnCount,   setColumnDisplaySize,   setColumnLabel,   setColumnName,   setColumnType,   setColumnTypeName,   setCurrency,   setNullable,   setPrecision,   setScale,   setSchemaName,   setSearchable,   setSigned,   setTableName
Method from javax.sql.RowSetMetaData Detail:
 public  void setAutoIncrement(int columnIndex,
    boolean property) throws SQLException
    Sets whether the designated column is automatically numbered, The default is for a RowSet object's columns not to be automatically numbered.
 public  void setCaseSensitive(int columnIndex,
    boolean property) throws SQLException
    Sets whether the designated column is case sensitive. The default is false.
 public  void setCatalogName(int columnIndex,
    String catalogName) throws SQLException
    Sets the designated column's table's catalog name, if any, to the given String.
 public  void setColumnCount(int columnCount) throws SQLException
    Sets the number of columns in the RowSet object to the given number.
 public  void setColumnDisplaySize(int columnIndex,
    int size) throws SQLException
    Sets the designated column's normal maximum width in chars to the given int.
 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 String.
 public  void setColumnName(int columnIndex,
    String columnName) throws SQLException
    Sets the name of the designated column to the given String.
 public  void setColumnType(int columnIndex,
    int SQLType) throws SQLException
    Sets the designated column's SQL type to the one given.
 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 String.
 public  void setCurrency(int columnIndex,
    boolean property) throws SQLException
    Sets whether the designated column is a cash value. The default is false.
 public  void setNullable(int columnIndex,
    int property) throws SQLException
    Sets whether the designated column's value can be set to NULL. The default is ResultSetMetaData.columnNullableUnknown
 public  void setPrecision(int columnIndex,
    int precision) throws SQLException
    Sets the designated column's number of decimal digits to the given int.
 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 int.
 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 String.
 public  void setSearchable(int columnIndex,
    boolean property) throws SQLException
    Sets whether the designated column can be used in a where clause. The default is false.
 public  void setSigned(int columnIndex,
    boolean property) throws SQLException
    Sets whether the designated column is a signed number. The default is false.
 public  void setTableName(int columnIndex,
    String tableName) throws SQLException
    Sets the designated column's table name, if any, to the given String.