|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
can be used to find out about the types and properties of the columns in a ResultSet. More...
import "XResultSetMetaData.idl";
Public Member Functions | |
| long | getColumnCount () raises (SQLException) |
| returns the number of columns in this ResultSet. | |
| boolean | isAutoIncrement ([in]long column) raises (SQLException) |
| indicates whether the column is automatically numbered, thus read-only. | |
| boolean | isCaseSensitive ([in]long column) raises (SQLException) |
| indicates whether a column's case matters. | |
| boolean | isSearchable ([in]long column) raises (SQLException) |
| indicates whether the column can be used in a where clause. | |
| boolean | isCurrency ([in]long column) raises (SQLException) |
| indicates whether the column is a cash value. | |
| long | isNullable ([in]long column) raises (SQLException) |
| indicates the nullability of values in the designated column. | |
| boolean | isSigned ([in]long column) raises (SQLException) |
| indicates whether values in the column are signed numbers. | |
| long | getColumnDisplaySize ([in]long column) raises (SQLException) |
| indicates the column's normal max width in chars. | |
| string | getColumnLabel ([in]long column) raises (SQLException) |
| gets the suggested column title for use in printouts and displays. | |
| string | getColumnName ([in]long column) raises (SQLException) |
| gets a column's name. | |
| string | getSchemaName ([in]long column) raises (SQLException) |
| gets a column's table's schema. | |
| long | getPrecision ([in]long column) raises (SQLException) |
| gets a column's number of decimal digits. | |
| long | getScale ([in]long column) raises (SQLException) |
| gets a column's number of digits to right of the decimal point. | |
| string | getTableName ([in]long column) raises (SQLException) |
| gets a column's table name. | |
| string | getCatalogName ([in]long column) raises (SQLException) |
| gets a column's table's catalog name. | |
| long | getColumnType ([in]long column) raises (SQLException) |
| retrieves a column's SQL type. | |
| string | getColumnTypeName ([in]long column) raises (SQLException) |
| retrieves a column's database-specific type name. | |
| boolean | isReadOnly ([in]long column) raises (SQLException) |
| indicates whether a column is definitely not writable. | |
| boolean | isWritable ([in]long column) raises (SQLException) |
| indicates whether it is possible for a write on the column to succeed. | |
| boolean | isDefinitelyWritable ([in]long column) raises (SQLException) |
| indicates whether a write on the column will definitely succeed. | |
| string | getColumnServiceName ([in]long column) raises (SQLException) |
| returns the fully-qualified name of the service whose instances are manufactured if the method com::sun::star::sdbc::XResultSet::.getObject() is called to retrieve a value from the column. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
can be used to find out about the types and properties of the columns in a ResultSet.
| string getCatalogName | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
gets a column's table's catalog name.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| long getColumnCount | ( | ) | ||||
| raises | ( | SQLException ) | ||||
returns the number of columns in this ResultSet.
| SQLException | if a database access error occurs. |
| long getColumnDisplaySize | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates the column's normal max width in chars.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| string getColumnLabel | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
gets the suggested column title for use in printouts and displays.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| string getColumnName | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
gets a column's name.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| string getColumnServiceName | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
returns the fully-qualified name of the service whose instances are manufactured if the method com::sun::star::sdbc::XResultSet::.getObject() is called to retrieve a value from the column.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| long getColumnType | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
retrieves a column's SQL type.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| string getColumnTypeName | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
retrieves a column's database-specific type name.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| long getPrecision | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
gets a column's number of decimal digits.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| long getScale | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
gets a column's number of digits to right of the decimal point.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| string getSchemaName | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
gets a column's table's schema.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| string getTableName | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
gets a column's table name.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| boolean isAutoIncrement | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates whether the column is automatically numbered, thus read-only.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| boolean isCaseSensitive | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates whether a column's case matters.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| boolean isCurrency | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates whether the column is a cash value.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| boolean isDefinitelyWritable | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates whether a write on the column will definitely succeed.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| long isNullable | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates the nullability of values in the designated column.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| boolean isReadOnly | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates whether a column is definitely not writable.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| boolean isSearchable | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates whether the column can be used in a where clause.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| boolean isSigned | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates whether values in the column are signed numbers.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |
| boolean isWritable | ( | [in] long | column | ) | ||
| raises | ( | SQLException ) | ||||
indicates whether it is possible for a write on the column to succeed.
| column | the first column is 1, the second is 2, |
| SQLException | if a database access error occurs. |