#include <ResultSetMetaData.hpp>
Public Member Functions | |
| ResultSetMetaData (DriverResultSet *rs) throw (DriverException, UnexpectedException) | |
| Constructs a ResultSetMetaData from a DriverResultSet. | |
| int | getColumnCount () |
Returns the number of columns in this ResultSet object. | |
| bool | isAutoIncrement (int column) throw (DriverException, UnexpectedException) |
| Indicates whether the designated column is automatically numbered, thus read-only. | |
| bool | isCaseSensitive (int column) throw (DriverException, UnexpectedException) |
| Indicates whether a column's case matters. | |
| bool | isSearchable (int column) throw (DriverException, UnexpectedException) |
| Indicates whether the designated column can be used in a where clause. | |
| bool | isCurrency (int column) throw (DriverException, UnexpectedException) |
| Indicates whether the designated column is a cash value. | |
| int | isNullable (int column) throw (DriverException, UnexpectedException) |
| Indicates the nullability of values in the designated column. | |
| bool | isSigned (int column) throw (DriverException, UnexpectedException) |
| Indicates whether values in the designated column are signed numbers. | |
| int | getColumnDisplaySize (int column) throw (DriverException, UnexpectedException) |
| Indicates the designated column's normal maximum width in characters. | |
| std::wstring | getColumnLabel (int column) throw (DriverException, UnexpectedException) |
| Gets the designated column's suggested title for use in printouts and displays. | |
| std::wstring | getColumnName (int column) throw (DriverException, UnexpectedException) |
| Get the designated column's name. | |
| std::wstring | getSchemaName (int column) throw (DriverException, UnexpectedException) |
| Get the designated column's table's schema. | |
| int | getPrecision (int column) throw (DriverException, UnexpectedException) |
| Get the designated column's number of decimal digits. | |
| int | getScale (int column) throw (DriverException, UnexpectedException) |
| Gets the designated column's number of digits to right of the decimal point. | |
| std::wstring | getTableName (int column) throw (DriverException, UnexpectedException) |
| Gets the designated column's table name. | |
| std::wstring | getCatalogName (int column) throw (DriverException, UnexpectedException) |
| Gets the designated column's table's catalog name. | |
| int | getColumnType (int column) throw (DriverException, UnexpectedException) |
| Retrieves the designated column's SQL type. | |
| std::wstring | getColumnTypeName (int column) throw (DriverException, UnexpectedException) |
| Retrieves the designated column's database-specific type name. | |
| bool | isReadOnly (int column) throw (DriverException, UnexpectedException) |
| Indicates whether the designated column is definitely not writable. | |
| bool | isWritable (int column) throw (DriverException, UnexpectedException) |
| Indicates whether it is possible for a write on the designated column to succeed. | |
| bool | isDefinitelyWritable (int column) throw (DriverException, UnexpectedException) |
| Indicates whether a write on the designated column will definitely succeed. | |
| std::wstring | getColumnClassName (int column) throw (DriverException, UnexpectedException) |
| Returns the fully-qualified name of the Java class. | |
| CarobNS::ResultSetMetaData::ResultSetMetaData | ( | DriverResultSet * | rs | ) | throw (DriverException, UnexpectedException) |
Constructs a ResultSetMetaData from a DriverResultSet.
| rs | DriverResultSet to be associated to this MetaData |
| DriverException | if the given result set is NULL |
| int CarobNS::ResultSetMetaData::getColumnCount | ( | ) |
Returns the number of columns in this ResultSet object.
| bool CarobNS::ResultSetMetaData::isAutoIncrement | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates whether the designated column is automatically numbered, thus read-only.
| column | the first column is 1, the second is 2, ... |
true if so; false otherwise | DriverException | if a the given column number is out of range |
| bool CarobNS::ResultSetMetaData::isCaseSensitive | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates whether a column's case matters.
| column | the first column is 1, the second is 2, ... |
true if so; false otherwise | DriverException | if a the given column number is out of range |
| bool CarobNS::ResultSetMetaData::isSearchable | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates whether the designated column can be used in a where clause.
| column | the first column is 1, the second is 2, ... |
true if so; false otherwise | DriverException | if a the given column number is out of range |
| bool CarobNS::ResultSetMetaData::isCurrency | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates whether the designated column is a cash value.
| column | the first column is 1, the second is 2, ... |
true if so; false otherwise | DriverException | if a the given column number is out of range |
| int CarobNS::ResultSetMetaData::isNullable | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates the nullability of values in the designated column.
| column | the first column is 1, the second is 2, ... |
columnNoNulls, columnNullable or columnNullableUnknown | DriverException | if a the given column number is out of range |
| bool CarobNS::ResultSetMetaData::isSigned | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates whether values in the designated column are signed numbers.
| column | the first column is 1, the second is 2, ... |
true if so; false otherwise | DriverException | if a the given column number is out of range |
| int CarobNS::ResultSetMetaData::getColumnDisplaySize | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates the designated column's normal maximum width in characters.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| std::wstring CarobNS::ResultSetMetaData::getColumnLabel | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Gets the designated column's suggested title for use in printouts and displays.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| std::wstring CarobNS::ResultSetMetaData::getColumnName | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Get the designated column's name.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| std::wstring CarobNS::ResultSetMetaData::getSchemaName | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Get the designated column's table's schema.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| int CarobNS::ResultSetMetaData::getPrecision | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Get the designated column's number of decimal digits.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| int CarobNS::ResultSetMetaData::getScale | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Gets the designated column's number of digits to right of the decimal point.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| std::wstring CarobNS::ResultSetMetaData::getTableName | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Gets the designated column's table name.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| std::wstring CarobNS::ResultSetMetaData::getCatalogName | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Gets the designated column's table's catalog name.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| int CarobNS::ResultSetMetaData::getColumnType | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Retrieves the designated column's SQL type.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| std::wstring CarobNS::ResultSetMetaData::getColumnTypeName | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Retrieves the designated column's database-specific type name.
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
| bool CarobNS::ResultSetMetaData::isReadOnly | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates whether the designated column is definitely not writable.
| column | the first column is 1, the second is 2, ... |
true if so; false otherwise | DriverException | if a the given column number is out of range |
| bool CarobNS::ResultSetMetaData::isWritable | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates whether it is possible for a write on the designated column to succeed.
| column | the first column is 1, the second is 2, ... |
true if so; false otherwise | DriverException | if a the given column number is out of range |
| bool CarobNS::ResultSetMetaData::isDefinitelyWritable | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Indicates whether a write on the designated column will definitely succeed.
| column | the first column is 1, the second is 2, ... |
true if so; false otherwise | DriverException | if a the given column number is out of range |
| std::wstring CarobNS::ResultSetMetaData::getColumnClassName | ( | int | column | ) | throw (DriverException, UnexpectedException) |
Returns the fully-qualified name of the Java class.
Not very meanfull for carob, but keeps java driver code reflexion
| column | the first column is 1, the second is 2, ... |
| DriverException | if a the given column number is out of range |
1.5.0