RowSetMetaData (Java SE 26 & JDK 26)
- All Superinterfaces:
ResultSetMetaData, Wrapper
- All Known Implementing Classes:
RowSetMetaDataImpl
-
Field Summary
Fields declared in interface ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknownstatic final intThe constant indicating that a column does not allow
NULLvalues.static final intThe constant indicating that a column allows
NULLvalues.static final intThe constant indicating that the nullability of a column's values is unknown.
-
Method Summary
voidsetAutoIncrement(int columnIndex, boolean property) Sets whether the designated column is automatically numbered, The default is for a
RowSetobject's columns not to be automatically numbered.voidsetCaseSensitive(int columnIndex, boolean property) Sets whether the designated column is case sensitive.
voidsetCatalogName(int columnIndex, String catalogName) Sets the designated column's table's catalog name, if any, to the given
String.voidsetColumnCount(int columnCount) Sets the number of columns in the
RowSetobject to the given number.voidsetColumnDisplaySize(int columnIndex, int size) Sets the designated column's normal maximum width in chars to the given
int.voidsetColumnLabel(int columnIndex, String label) Sets the suggested column title for use in printouts and displays, if any, to the given
String.voidsetColumnName(int columnIndex, String columnName) Sets the name of the designated column to the given
String.voidsetColumnType(int columnIndex, int SQLType) Sets the designated column's SQL type to the one given.
voidsetColumnTypeName(int columnIndex, String typeName) Sets the designated column's type name that is specific to the data source, if any, to the given
String.voidsetCurrency(int columnIndex, boolean property) Sets whether the designated column is a cash value.
voidsetNullable(int columnIndex, int property) Sets whether the designated column's value can be set to
NULL.voidsetPrecision(int columnIndex, int precision) Sets the designated column's number of decimal digits to the given
int.voidsetScale(int columnIndex, int scale) Sets the designated column's number of digits to the right of the decimal point to the given
int.voidsetSchemaName(int columnIndex, String schemaName) Sets the name of the designated column's table's schema, if any, to the given
String.voidsetSearchable(int columnIndex, boolean property) Sets whether the designated column can be used in a where clause.
voidsetSigned(int columnIndex, boolean property) Sets whether the designated column is a signed number.
voidsetTableName(int columnIndex, String tableName) Sets the designated column's table name, if any, to the given
String.Methods declared in interface ResultSetMetaData
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritableGets the designated column's table's catalog name.
Returns the fully-qualified name of the Java class whose instances are manufactured if the method
ResultSet.getObjectis called to retrieve a value from the column.intReturns the number of columns in this
ResultSetobject.intIndicates the designated column's normal maximum width in characters.
Gets the designated column's suggested title for use in printouts and displays.
Get the designated column's name.
intRetrieves the designated column's SQL type.
Retrieves the designated column's database-specific type name.
intGet the designated column's specified column size.
intGets the designated column's number of digits to right of the decimal point. 0 is returned for data types where the scale is not applicable.
Get the designated column's table's schema.
Gets the designated column's table name.
booleanIndicates whether the designated column is automatically numbered.
booleanIndicates whether a column's case matters.
booleanIndicates whether the designated column is a cash value.
booleanIndicates whether a write on the designated column will definitely succeed.
intIndicates the nullability of values in the designated column.
booleanIndicates whether the designated column is definitely not writable.
booleanIndicates whether the designated column can be used in a where clause.
booleanIndicates whether values in the designated column are signed numbers.
booleanIndicates whether it is possible for a write on the designated column to succeed.
Methods declared in interface Wrapper
booleanReturns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.
<T> TReturns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.
-
Method Details
-
setColumnCount
-
setAutoIncrement
-
setCaseSensitive
-
setSearchable
-
setCurrency
-
setNullable
-
setSigned
-
setColumnDisplaySize
-
setColumnLabel
-
setColumnName
-
setSchemaName
-
setPrecision
-
setScale
-
setTableName
-
setCatalogName
-
setColumnType
-
setColumnTypeName
-