| java.sql.ResultSetMetaData
ResultSetMetaData | public interface ResultSetMetaData (Code) | | Provides information about the columns in a ResultSet.
|
Method Summary | |
public String | getCatalogName(int column) | public String | getColumnClassName(int column) Returns the fully-qualified type of the class that is produced when
invoking ResultSet.getObject to recover this columns value. | public int | getColumnCount() Returns a count of the columns in this set of results. | public int | getColumnDisplaySize(int column) Returns the indexed column's standard maximum width, expressed in number
of characters. | public String | getColumnLabel(int column) Returns a recommended title for the indexed column, to be used when the
title needs to be displayed. | public String | getColumnName(int column) | public int | getColumnType(int column) | public String | getColumnTypeName(int column) | public int | getPrecision(int column) | public int | getScale(int column) Returns the number of decimal places in the indexed column. | public String | getSchemaName(int column) | public String | getTableName(int column) Returns the title of the indexed columns table. | public boolean | isAutoIncrement(int column) | public boolean | isCaseSensitive(int column) | public boolean | isCurrency(int column) Returns if the indexed column contains a monetary amount. | public boolean | isDefinitelyWritable(int column) | public int | isNullable(int column) Returns whether the indexed column is nullable. | public boolean | isReadOnly(int column) | public boolean | isSearchable(int column) Returns an indication of whether the indexed column is searchable. | public boolean | isSigned(int column) Returns an indicator of whether the values contained in the indexed
column are signed. | public boolean | isWritable(int column) Returns an indication of whether writing to the indexed column is
possible. |
columnNoNulls | final public static int columnNoNulls(Code) | | Indicates that a column cannot contain NULL values
|
columnNullable | final public static int columnNullable(Code) | | Indicates that a column can contain NULL values
|
columnNullableUnknown | final public static int columnNullableUnknown(Code) | | Indicates that it is unknown whether a column can contain NULLs or not
|
getCatalogName | public String getCatalogName(int column) throws SQLException(Code) | | Returns the title of indexed columns catalog
Parameters: column - the column index, starting at 1 the catalog title throws: SQLException - if there is a database error |
getColumnClassName | public String getColumnClassName(int column) throws SQLException(Code) | | Returns the fully-qualified type of the class that is produced when
invoking ResultSet.getObject to recover this columns value.
Parameters: column - the column index, starting at 1 the fully-qualified class name throws: SQLException - if there is a database error |
getColumnCount | public int getColumnCount() throws SQLException(Code) | | Returns a count of the columns in this set of results.
the column count throws: SQLException - if there is a database error |
getColumnDisplaySize | public int getColumnDisplaySize(int column) throws SQLException(Code) | | Returns the indexed column's standard maximum width, expressed in number
of characters.
Parameters: column - the column index, starting at 1 the column's max width throws: SQLException - if there is a database error |
getColumnLabel | public String getColumnLabel(int column) throws SQLException(Code) | | Returns a recommended title for the indexed column, to be used when the
title needs to be displayed.
Parameters: column - the column index, starting at 1 the column's title throws: SQLException - if there is a database error |
getColumnName | public String getColumnName(int column) throws SQLException(Code) | | Returns the title of the indexed column
Parameters: column - the column index, starting at 1 the column title throws: SQLException - if there is a database error |
getColumnType | public int getColumnType(int column) throws SQLException(Code) | | Returns the type of the indexed column
Parameters: column - the column index, starting at 1 the column type throws: SQLException - if there is a database error |
getColumnTypeName | public String getColumnTypeName(int column) throws SQLException(Code) | | Returns the type name of the indexed column
Parameters: column - the column index, starting at 1 the type name throws: SQLException - if there is a database error |
getPrecision | public int getPrecision(int column) throws SQLException(Code) | | Returns the decimal precision of the indexed column
Parameters: column - the column index, starting at 1 the precision throws: SQLException - if there is a database error |
getScale | public int getScale(int column) throws SQLException(Code) | | Returns the number of decimal places in the indexed column.
Parameters: column - the column index, starting at 1 number of decimal places throws: SQLException - if there is a database error |
getSchemaName | public String getSchemaName(int column) throws SQLException(Code) | | Returns the name of the indexed columns schema
Parameters: column - the column index, starting at 1 the name of the columns schema throws: SQLException - if there is a database error |
getTableName | public String getTableName(int column) throws SQLException(Code) | | Returns the title of the indexed columns table.
Parameters: column - the column index, starting at 1 the table title throws: SQLException - if there is a database error |
isAutoIncrement | public boolean isAutoIncrement(int column) throws SQLException(Code) | | Returns and indication of whether the indexed column has automatic
numbering and is therefore read-only
Parameters: column - the column index, starting at 1 true if it is automatically numbered, false otherwise throws: SQLException - if there is a database error |
isCaseSensitive | public boolean isCaseSensitive(int column) throws SQLException(Code) | | Returns an indicator of whether the case of the indexed column is
important
Parameters: column - the column index, starting at 1 true if case matters, false otherwise throws: SQLException - if there is a database error |
isCurrency | public boolean isCurrency(int column) throws SQLException(Code) | | Returns if the indexed column contains a monetary amount.
Parameters: column - the column index, starting at 1 true if it is a monetary value, false otherwise throws: SQLException - if there is a database error |
isDefinitelyWritable | public boolean isDefinitelyWritable(int column) throws SQLException(Code) | | Returns an indication of whether writing to the indexed column is
guaranteed to be successful
Parameters: column - the column index, starting at 1 true if the write is guaranteed, false otherwise throws: SQLException - if there is a database error |
isNullable | public int isNullable(int column) throws SQLException(Code) | | Returns whether the indexed column is nullable.
Parameters: column - the column index, starting at 1 true if it is nullable, false otherwise throws: SQLException - if there is a database error |
isReadOnly | public boolean isReadOnly(int column) throws SQLException(Code) | | Returns an indication of whether writing to the indexed column is
guaranteed to be unsuccessful
Parameters: column - the column index, starting at 1 true if the column is read-only, false otherwise throws: SQLException - if there is a database error |
isSearchable | public boolean isSearchable(int column) throws SQLException(Code) | | Returns an indication of whether the indexed column is searchable.
Parameters: column - the column index, starting at 1 true if the indexed column is searchable, false otherwise. throws: SQLException - if there is a database error |
isSigned | public boolean isSigned(int column) throws SQLException(Code) | | Returns an indicator of whether the values contained in the indexed
column are signed.
Parameters: column - the column index, starting at 1 true if they are signed, false otherwise throws: SQLException - if there is a database error |
isWritable | public boolean isWritable(int column) throws SQLException(Code) | | Returns an indication of whether writing to the indexed column is
possible.
Parameters: column - the column index, starting at 1 true if it is possible to write, false otherwise throws: SQLException - if there is a database error |
|
|