LibreOffice Module connectivity (master) 1
|
#include <mysqlc_resultsetmetadata.hxx>
Public Member Functions | |
OResultSetMetaData (OConnection &rConn, MYSQL_RES *pResult) | |
sal_Int32 SAL_CALL | getColumnCount () override |
sal_Bool SAL_CALL | isAutoIncrement (sal_Int32 column) override |
sal_Bool SAL_CALL | isCaseSensitive (sal_Int32 column) override |
sal_Bool SAL_CALL | isSearchable (sal_Int32 column) override |
sal_Bool SAL_CALL | isCurrency (sal_Int32 column) override |
sal_Int32 SAL_CALL | isNullable (sal_Int32 column) override |
sal_Bool SAL_CALL | isSigned (sal_Int32 column) override |
sal_Int32 SAL_CALL | getColumnDisplaySize (sal_Int32 column) override |
OUString SAL_CALL | getColumnLabel (sal_Int32 column) override |
OUString SAL_CALL | getColumnName (sal_Int32 column) override |
OUString SAL_CALL | getSchemaName (sal_Int32 column) override |
sal_Int32 SAL_CALL | getPrecision (sal_Int32 column) override |
sal_Int32 SAL_CALL | getScale (sal_Int32 column) override |
OUString SAL_CALL | getTableName (sal_Int32 column) override |
OUString SAL_CALL | getCatalogName (sal_Int32 column) override |
sal_Int32 SAL_CALL | getColumnType (sal_Int32 column) override |
OUString SAL_CALL | getColumnTypeName (sal_Int32 column) override |
sal_Bool SAL_CALL | isReadOnly (sal_Int32 column) override |
sal_Bool SAL_CALL | isWritable (sal_Int32 column) override |
sal_Bool SAL_CALL | isDefinitelyWritable (sal_Int32 column) override |
OUString SAL_CALL | getColumnServiceName (sal_Int32 column) override |
Public Member Functions inherited from cppu::WeakImplHelper1< class Ifc1 > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Private Member Functions | |
void | checkColumnIndex (sal_Int32 columnIndex) |
virtual | ~OResultSetMetaData () override=default |
Private Attributes | |
OConnection & | m_rConnection |
std::vector< MySqlFieldInfo > | m_fields |
Additional Inherited Members | |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 52 of file mysqlc_resultsetmetadata.hxx.
|
overrideprivatevirtualdefault |
OResultSetMetaData::OResultSetMetaData | ( | OConnection & | rConn, |
MYSQL_RES * | pResult | ||
) |
Definition at line 32 of file mysqlc_resultsetmetadata.cxx.
References connectivity::mysqlc::MySqlFieldInfo::catalogName, connectivity::mysqlc::MySqlFieldInfo::charsetNumber, connectivity::mysqlc::MySqlFieldInfo::columnName, connectivity::mysqlc::MySqlFieldInfo::decimals, connectivity::mysqlc::MySqlFieldInfo::flags, connectivity::mysqlc::OConnection::getConnectionEncoding(), i, connectivity::mysqlc::MySqlFieldInfo::length, m_fields, m_rConnection, connectivity::mysqlc::MySqlFieldInfo::max_length, connectivity::mysqlc::MySqlFieldInfo::mysql_type, mysqlc_sdbc_driver::mysqlToOOOType(), connectivity::mysqlc::MySqlFieldInfo::schemaName, connectivity::mysqlc::MySqlFieldInfo::tableName, connectivity::mysqlc::MySqlFieldInfo::type, and type.
|
private |
Definition at line 200 of file mysqlc_resultsetmetadata.cxx.
References Any, m_fields, and o3tl::make_unsigned().
Referenced by getCatalogName(), getColumnDisplaySize(), getColumnLabel(), getColumnName(), getColumnType(), getColumnTypeName(), getPrecision(), getScale(), getSchemaName(), getTableName(), isAutoIncrement(), isDefinitelyWritable(), isNullable(), isReadOnly(), isSearchable(), isSigned(), and isWritable().
|
override |
Definition at line 117 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 78 of file mysqlc_resultsetmetadata.cxx.
References m_fields.
|
override |
Definition at line 66 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 130 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and getColumnName().
|
override |
Definition at line 105 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
Referenced by getColumnLabel().
|
override |
Definition at line 136 of file mysqlc_resultsetmetadata.cxx.
|
override |
Definition at line 72 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 123 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), m_fields, and mysqlc_sdbc_driver::mysqlTypeToStr().
|
override |
Definition at line 158 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 164 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 99 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 111 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 146 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 80 of file mysqlc_resultsetmetadata.cxx.
References connectivity::mysqlc::OConnection::createStatement(), m_fields, and m_rConnection.
|
override |
Definition at line 141 of file mysqlc_resultsetmetadata.cxx.
|
override |
Definition at line 188 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and isReadOnly().
|
override |
Definition at line 170 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 182 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
Referenced by isDefinitelyWritable(), and isWritable().
|
override |
Definition at line 176 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex().
|
override |
Definition at line 152 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and m_fields.
|
override |
Definition at line 194 of file mysqlc_resultsetmetadata.cxx.
References checkColumnIndex(), and isReadOnly().
|
private |
Definition at line 56 of file mysqlc_resultsetmetadata.hxx.
Referenced by checkColumnIndex(), getCatalogName(), getColumnCount(), getColumnDisplaySize(), getColumnName(), getColumnType(), getColumnTypeName(), getPrecision(), getScale(), getSchemaName(), getTableName(), isAutoIncrement(), isCaseSensitive(), isNullable(), isReadOnly(), isSigned(), and OResultSetMetaData().
|
private |
Definition at line 55 of file mysqlc_resultsetmetadata.hxx.
Referenced by isCaseSensitive(), and OResultSetMetaData().