ResultSetMetaData (Java SE 26 & JDK 26)
- All Superinterfaces:
Wrapper
- All Known Subinterfaces:
RowSetMetaData
- All Known Implementing Classes:
RowSetMetaDataImpl
-
Field Summary
Fields
static 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
getCatalogName(int column) Gets the designated column's table's catalog name.
getColumnClassName(int column) 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.intgetColumnDisplaySize(int column) Indicates the designated column's normal maximum width in characters.
getColumnLabel(int column) Gets the designated column's suggested title for use in printouts and displays.
getColumnName(int column) Get the designated column's name.
intgetColumnType(int column) Retrieves the designated column's SQL type.
getColumnTypeName(int column) Retrieves the designated column's database-specific type name.
intgetPrecision(int column) Get the designated column's specified column size.
intgetScale(int column) Gets 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.
getSchemaName(int column) Get the designated column's table's schema.
getTableName(int column) Gets the designated column's table name.
booleanisAutoIncrement(int column) Indicates whether the designated column is automatically numbered.
booleanisCaseSensitive(int column) Indicates whether a column's case matters.
booleanisCurrency(int column) Indicates whether the designated column is a cash value.
booleanisDefinitelyWritable(int column) Indicates whether a write on the designated column will definitely succeed.
intisNullable(int column) Indicates the nullability of values in the designated column.
booleanisReadOnly(int column) Indicates whether the designated column is definitely not writable.
booleanisSearchable(int column) Indicates whether the designated column can be used in a where clause.
booleanisSigned(int column) Indicates whether values in the designated column are signed numbers.
booleanisWritable(int column) Indicates 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.
-
Field Details
-
columnNoNulls
-
columnNullable
-
columnNullableUnknown
-
-
Method Details
-
getColumnCount
-
isAutoIncrement
-
isCaseSensitive
-
isSearchable
-
isCurrency
-
isNullable
-
isSigned
-
getColumnDisplaySize
-
getColumnLabel
-
getColumnName
-
getSchemaName
-
getPrecision
-
getScale
-
getTableName
-
getCatalogName
-
getColumnType
-
getColumnTypeName
-
isReadOnly
-
isWritable
-
isDefinitelyWritable
-
getColumnClassName
-