|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RowSetMetaData
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.
Field Summary |
---|
Fields inherited from interface java.sql.ResultSetMetaData |
---|
columnNoNulls, columnNullable, columnNullableUnknown |
Method Summary | |
---|---|
void |
setAutoIncrement(int columnIndex,
boolean property)
Sets whether the designated column is automatically numbered, and thus read-only. |
void |
setCaseSensitive(int columnIndex,
boolean property)
Sets whether the designated column is case sensitive. |
void |
setCatalogName(int columnIndex,
String catalogName)
Sets the designated column's table's catalog name, if any, to the given String . |
void |
setColumnCount(int columnCount)
Sets the number of columns in the RowSet object to
the given number. |
void |
setColumnDisplaySize(int columnIndex,
int size)
Sets the designated column's normal maximum width in chars to the given int . |
void |
setColumnLabel(int columnIndex,
String label)
Sets the suggested column title for use in printouts and displays, if any, to the given String . |
void |
setColumnName(int columnIndex,
String columnName)
Sets the name of the designated column to the given String . |
void |
setColumnType(int columnIndex,
int SQLType)
Sets the designated column's SQL type to the one given. |
void |
setColumnTypeName(int columnIndex,
String typeName)
Sets the designated column's type name that is specific to the data source, if any, to the given String . |
void |
|