LibreOffice
LibreOffice 24.2 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. More... | |
boolean | isAutoIncrement ([in]long column) raises (SQLException) |
indicates whether the column is automatically numbered, thus read-only. More... | |
boolean | isCaseSensitive ([in]long column) raises (SQLException) |
indicates whether a column's case matters. More... | |
boolean | isSearchable ([in]long column) raises (SQLException) |
indicates whether the column can be used in a where clause. More... | |
boolean | isCurrency ([in]long column) raises (SQLException) |
indicates whether the column is a cash value. More... | |
long | isNullable ([in]long column) raises (SQLException) |
indicates the nullability of values in the designated column. More... | |
boolean | isSigned ([in]long column) raises (SQLException) |
indicates whether values in the column are signed numbers. More... | |
long | getColumnDisplaySize ([in]long column) raises (SQLException) |
indicates the column's normal max width in chars. More... | |
string | getColumnLabel ([in]long column) raises (SQLException) |
gets the suggested column title for use in printouts and displays. More... | |
string | getColumnName ([in]long column) raises (SQLException) |
gets a column's name. More... | |
string | getSchemaName ([in]long column) raises (SQLException) |
gets a column's table's schema. More... | |
long | getPrecision ([in]long column) raises (SQLException) |
gets a column's number of decimal digits. More... | |
long | getScale ([in]long column) raises (SQLException) |
gets a column's number of digits to right of the decimal point. More... | |
string | getTableName ([in]long column) raises (SQLException) |
gets a column's table name. More... | |
string | getCatalogName ([in]long column) raises (SQLException) |
gets a column's table's catalog name. More... | |
long | getColumnType ([in]long column) raises (SQLException) |
retrieves a column's SQL type. More... | |
string | getColumnTypeName ([in]long column) raises (SQLException) |
retrieves a column's database-specific type name. More... | |
boolean | isReadOnly ([in]long column) raises (SQLException) |
indicates whether a column is definitely not writable. More... | |
boolean | isWritable ([in]long column) raises (SQLException) |
indicates whether it is possible for a write on the column to succeed. More... | |
boolean | isDefinitelyWritable ([in]long column) raises (SQLException) |
indicates whether a write on the column will definitely succeed. More... | |
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. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
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, |
TRUE
if so 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, |
TRUE
if so 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, |
TRUE
if so 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, |
TRUE
if so 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, |
TRUE
if so 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, |
TRUE
if so 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, |
TRUE
if so 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, |
TRUE
if so 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, |
TRUE
if so SQLException | if a database access error occurs. |