public interface RowSetMetaData extends ResultSetMetaData
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.
columnNoNulls, columnNullable, columnNullableUnknown
Modifier and Type | Method and Description |
---|---|
void |
setAutoIncrement(int columnIndex,
boolean property)
Sets whether the designated column is automatically numbered,
The default is for a
RowSet object's
columns not to be automatically numbered. |
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 |
setCurrency(int columnIndex,
boolean property)
Sets whether the designated column is a cash value.
|
void |
setNullable(int columnIndex,
int property)
Sets whether the designated column's value can be set to
NULL . |
void |
setPrecision(int columnIndex,
int precision)
Sets the designated column's number of decimal digits to the
given
int . |
void |
setScale(int columnIndex,
int scale)
Sets the designated column's number of digits to the
right of the decimal point to the given
int . |
void |
setSchemaName(int columnIndex,
String schemaName)
Sets the name of the designated column's table's schema, if any, to
the given
String . |
void |
setSearchable(int columnIndex,
boolean property)
Sets whether the designated column can be used in a where clause.
|
void |
setSigned(int columnIndex,
boolean property)
Sets whether the designated column is a signed number.
|
void |
setTableName(int columnIndex,
String tableName)
Sets the designated column's table name, if any, to the given
String . |
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType,