java.sql.ResultSetMetaData |
Known Indirect Subclasses |
Provides information about the columns returned in a ResultSet
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | columnNoNulls | Indicates that a column cannot contain NULL values. |
|||||||||
int | columnNullable | Indicates that a column can contain NULL values. |
|||||||||
int | columnNullableUnknown | Indicates that it is unknown whether a column can contain NULL s or not. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the title of an indexed column's catalog.
| |||||||||||
Returns the fully-qualified type of the class that is produced when
invoking
ResultSet.getObject to recover this column's value. | |||||||||||
Returns number of columns contained in the associated result set.
| |||||||||||
Returns the indexed column's standard maximum width, expressed in number
of characters.
| |||||||||||
Returns a recommended title for the indexed column, to be used when the
title needs to be displayed.
| |||||||||||
Returns the title of the indexed column.
| |||||||||||
Returns the type of the indexed column as SQL type code.
| |||||||||||
Returns the type name of the indexed column.
| |||||||||||
Returns the decimal precision of the indexed column.
| |||||||||||
Returns the number of digits to the right of the decimal point of the
indexed column.
| |||||||||||
Returns the name of the indexed columns schema.
| |||||||||||
Returns the title of the indexed columns table.
| |||||||||||
Returns an indication of whether the indexed column is automatically
incremented and is therefore read-only.
| |||||||||||
Returns an indication of whether the case of the indexed column is
important.
| |||||||||||
Returns whether the indexed column contains a monetary amount.
| |||||||||||
Returns an indication of whether writing to the indexed column is
guaranteed to be successful.
| |||||||||||
Returns whether the indexed column is nullable.
| |||||||||||
Returns an indication of whether writing to the indexed column is
guaranteed to be unsuccessful.
| |||||||||||
Returns an indication of whether the indexed column is searchable.
| |||||||||||
Returns an indication of whether the values contained in the indexed
column are signed.
| |||||||||||
Returns an indication of whether writing to the indexed column is
possible.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.sql.Wrapper
|
Indicates that a column cannot contain NULL
values.
Indicates that a column can contain NULL
values.
Indicates that it is unknown whether a column can contain NULL
s or not.
Returns the title of an indexed column's catalog.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns the fully-qualified type of the class that is produced when
invoking ResultSet.getObject
to recover this column's value.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns number of columns contained in the associated result set.
SQLException | if there is a database error. |
---|
Returns the indexed column's standard maximum width, expressed in number of characters.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns a recommended title for the indexed column, to be used when the title needs to be displayed.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns the title of the indexed column.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns the type of the indexed column as SQL type code.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns the type name of the indexed column.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns the decimal precision of the indexed column.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns the number of digits to the right of the decimal point of the indexed column.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns the name of the indexed columns schema.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns the title of the indexed columns table.
column | the column index, starting at 1. |
---|
SQLException | if there is a database error. |
---|
Returns an indication of whether the indexed column is automatically incremented and is therefore read-only.
column | the column index, starting at 1. |
---|
true
if it is automatically numbered, false
otherwise.SQLException | if there is a database error. |
---|
Returns an indication of whether the case of the indexed column is important.
column | the column index, starting at 1. |
---|
true
if case matters, false
otherwise.SQLException | if there is a database error. |
---|
Returns whether the indexed column contains a monetary amount.
column | the column index, starting at 1. |
---|
true
if it is a monetary value, false
otherwise.SQLException | if there is a database error. |
---|
Returns an indication of whether writing to the indexed column is guaranteed to be successful.
column | the column index, starting at 1. |
---|
true
if the write is guaranteed, false
otherwise.SQLException | if there is a database error. |
---|
Returns whether the indexed column is nullable.
column | the column index, starting at 1. |
---|
true
if it is nullable, false
otherwise.SQLException | if there is a database error. |
---|
Returns an indication of whether writing to the indexed column is guaranteed to be unsuccessful.
column | the column index, starting at 1. |
---|
true
if the column is read-only, false
otherwise.SQLException | if there is a database error. |
---|
Returns an indication of whether the indexed column is searchable.
column | the column index, starting at 1. |
---|
true
if the indexed column is searchable, false
otherwise.SQLException | if there is a database error. |
---|
Returns an indication of whether the values contained in the indexed column are signed.
column | the column index, starting at 1. |
---|
true
if they are signed, false
otherwise.SQLException | if there is a database error. |
---|
Returns an indication of whether writing to the indexed column is possible.
column | the column index, starting at 1. |
---|
true
if it is possible to write, false
otherwise.SQLException | if there is a database error. |
---|