LibreOffice Module connectivity (master) 1
|
#include <ODatabaseMetaDataResultSet.hxx>
Public Member Functions | |
ODatabaseMetaDataResultSet (OConnection *_pConnection) | |
oslGenericFunction | getOdbcFunction (ODBC3SQLFunctionId _nIndex) const |
virtual void SAL_CALL | disposing () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
css::uno::Reference< css::uno::XInterface > | operator* () |
virtual sal_Bool SAL_CALL | next () override |
virtual sal_Bool SAL_CALL | isBeforeFirst () override |
virtual sal_Bool SAL_CALL | isAfterLast () override |
virtual sal_Bool SAL_CALL | isFirst () override |
virtual sal_Bool SAL_CALL | isLast () override |
virtual void SAL_CALL | beforeFirst () override |
virtual void SAL_CALL | afterLast () override |
virtual sal_Bool SAL_CALL | first () override |
virtual sal_Bool SAL_CALL | last () override |
virtual sal_Int32 SAL_CALL | getRow () override |
virtual sal_Bool SAL_CALL | absolute (sal_Int32 row) override |
virtual sal_Bool SAL_CALL | relative (sal_Int32 rows) override |
virtual sal_Bool SAL_CALL | previous () override |
virtual void SAL_CALL | refreshRow () override |
virtual sal_Bool SAL_CALL | rowUpdated () override |
virtual sal_Bool SAL_CALL | rowInserted () override |
virtual sal_Bool SAL_CALL | rowDeleted () override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getStatement () override |
virtual sal_Bool SAL_CALL | wasNull () override |
virtual OUString SAL_CALL | getString (sal_Int32 columnIndex) override |
virtual sal_Bool SAL_CALL | getBoolean (sal_Int32 columnIndex) override |
virtual sal_Int8 SAL_CALL | getByte (sal_Int32 columnIndex) override |
virtual sal_Int16 SAL_CALL | getShort (sal_Int32 columnIndex) override |
virtual sal_Int32 SAL_CALL | getInt (sal_Int32 columnIndex) override |
virtual sal_Int64 SAL_CALL | getLong (sal_Int32 columnIndex) override |
virtual float SAL_CALL | getFloat (sal_Int32 columnIndex) override |
virtual double SAL_CALL | getDouble (sal_Int32 columnIndex) override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getBytes (sal_Int32 columnIndex) override |
virtual css::util::Date SAL_CALL | getDate (sal_Int32 columnIndex) override |
virtual css::util::Time SAL_CALL | getTime (sal_Int32 columnIndex) override |
virtual css::util::DateTime SAL_CALL | getTimestamp (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getBinaryStream (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getCharacterStream (sal_Int32 columnIndex) override |
virtual css::uno::Any SAL_CALL | getObject (sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override |
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL | getRef (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL | getBlob (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL | getClob (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL | getArray (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL | getMetaData () override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual sal_Int32 SAL_CALL | findColumn (const OUString &columnName) override |
void | openTablesTypes () |
void | openTypeInfo () |
void | openCatalogs () |
void | openSchemas () |
void | openTables (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern, const css::uno::Sequence< OUString > &types) |
void | openColumnPrivileges (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, std::u16string_view columnNamePattern) |
void | openColumns (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern, std::u16string_view columnNamePattern) |
void | openProcedureColumns (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view procedureNamePattern, std::u16string_view columnNamePattern) |
void | openProcedures (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view procedureNamePattern) |
void | openVersionColumns (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table) |
void | openBestRowIdentifier (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, sal_Int32 scope, bool nullable) |
void | openForeignKeys (const css::uno::Any &catalog, const OUString *schema, const OUString *table, const css::uno::Any &catalog2, const OUString *schema2, const OUString *table2) |
void | openExportedKeys (const css::uno::Any &catalog, const OUString &schema, const OUString &table) |
void | openImportedKeys (const css::uno::Any &catalog, const OUString &schema, const OUString &table) |
void | openPrimaryKeys (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table) |
void | openTablePrivileges (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern) |
void | openSpecialColumns (bool _bRowVer, const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, sal_Int32 scope, bool nullable) |
void | openIndexInfo (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, bool unique, bool approximate) |
Public Member Functions inherited from cppu::OPropertySetHelper | |
OPropertySetHelper (OBroadcastHelper &rBHelper) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
css::uno::Sequence< css::uno::Type > | getTypes () |
void SAL_CALL | disposing () |
virtual void SAL_CALL | setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual | ~ODatabaseMetaDataResultSet () override |
template<typename T , SQLSMALLINT sqlTypeId> | |
T | getInteger (sal_Int32 columnIndex) |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override final |
virtual void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0 |
Protected Member Functions inherited from cppu::OPropertySetHelper | |
void SAL_CALL | fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable) |
void SAL_CALL | setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount) |
virtual IPropertyArrayHelper &SAL_CALL | getInfoHelper ()=0 |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0 |
void | setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value) |
~OPropertySetHelper () | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Private Member Functions | |
void | checkColumnCount () |
SWORD | impl_getColumnType_nothrow (sal_Int32 columnIndex) |
sal_Int32 | mapColumn (sal_Int32 column) |
Static Private Member Functions | |
static sal_Int32 | getFetchDirection () |
static sal_Int32 | getFetchSize () |
static OUString | getCursorName () |
Private Attributes | |
std::vector< sal_Int32 > | m_aColMapping |
std::map< sal_Int32, ::std::map< sal_Int32, sal_Int32 > > | m_aValueRange |
std::map< sal_Int32, SWORD > | m_aODBCColumnTypes |
SQLHANDLE | m_aStatementHandle |
css::uno::WeakReferenceHelper | m_aStatement |
css::uno::Reference< css::sdbc::XResultSetMetaData > | m_xMetaData |
std::unique_ptr< SQLUSMALLINT[]> | m_pRowStatusArray |
rtl::Reference< OConnection > | m_pConnection |
rtl_TextEncoding | m_nTextEncoding |
sal_Int32 | m_nRowPos |
sal_Int32 | m_nDriverColumnCount |
SQLRETURN | m_nCurrentFetchState |
bool | m_bWasNull |
bool | m_bEOF |
Additional Inherited Members | |
Static Public Member Functions inherited from cppu::OPropertySetHelper | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet > | |
static std::mutex & | theMutex () |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from cppu::OPropertySetHelper | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 56 of file ODatabaseMetaDataResultSet.hxx.
|
overrideprotectedvirtual |
Definition at line 68 of file ODatabaseMetaDataResultSet.cxx.
References dispose(), and m_refCount.
ODatabaseMetaDataResultSet::ODatabaseMetaDataResultSet | ( | OConnection * | _pConnection | ) |
Definition at line 45 of file ODatabaseMetaDataResultSet.cxx.
References m_aMutex, m_aStatementHandle, m_pConnection, m_pRowStatusArray, and m_refCount.
|
overridevirtual |
Definition at line 532 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bEOF, m_nCurrentFetchState, m_nRowPos, m_pConnection, N3SQLFetchScroll, and connectivity::odbc::OTools::ThrowException().
|
overridevirtualnoexcept |
Definition at line 102 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 476 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), last(), cppu::BaseMutex::m_aMutex, and next().
|
overridevirtual |
Definition at line 464 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), first(), cppu::BaseMutex::m_aMutex, m_nCurrentFetchState, and previous().
|
overridevirtual |
Definition at line 667 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, and N3SQLCancel.
|
private |
Definition at line 1311 of file ODatabaseMetaDataResultSet.cxx.
References m_aStatementHandle, m_nDriverColumnCount, m_pConnection, N3SQLNumResultCols, and connectivity::odbc::OTools::ThrowException().
Referenced by openCatalogs(), openColumnPrivileges(), openColumns(), openForeignKeys(), openIndexInfo(), openPrimaryKeys(), openProcedureColumns(), openProcedures(), openSchemas(), openSpecialColumns(), openTablePrivileges(), openTables(), openTablesTypes(), and openTypeInfo().
|
overridevirtual |
Definition at line 677 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 488 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), dispose(), and cppu::BaseMutex::m_aMutex.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
|
overrideprotectedvirtual |
Implements comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet >.
Definition at line 697 of file ODatabaseMetaDataResultSet.cxx.
References cppu::UnoType< typename T >::get(), dbtools::OPropertyMap::getNameByIndex(), connectivity::OMetaConnection::getPropMap(), PROPERTY_ID_CURSORNAME, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_RESULTSETCONCURRENCY, and PROPERTY_ID_RESULTSETTYPE.
|
overridevirtual |
Definition at line 78 of file ODatabaseMetaDataResultSet.cxx.
References comphelper::OPropertySetHelper::disposing(), cppu::BaseMutex::m_aMutex, m_aStatement, m_aStatementHandle, m_pConnection, and m_xMetaData.
|
overridevirtual |
Definition at line 135 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), columnName, getMetaData(), i, cppu::BaseMutex::m_aMutex, and dbtools::throwInvalidColumnException().
|
overridevirtual |
Definition at line 500 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bEOF, m_nCurrentFetchState, m_nRowPos, m_pConnection, N3SQLFetchScroll, and connectivity::odbc::OTools::ThrowException().
Referenced by beforeFirst().
|
overridevirtual |
Definition at line 342 of file ODatabaseMetaDataResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 182 of file ODatabaseMetaDataResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 354 of file ODatabaseMetaDataResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 195 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), getInt(), getMetaData(), connectivity::odbc::OTools::getValue(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bWasNull, m_nDriverColumnCount, m_pConnection, mapColumn(), nType, and nValue.
|
overridevirtual |
Definition at line 224 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 230 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OTools::getBytesValue(), getMetaData(), connectivity::odbc::OTools::getStringValue(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bWasNull, m_nDriverColumnCount, m_nTextEncoding, m_pConnection, mapColumn(), and nType.
|
overridevirtual |
Definition at line 188 of file ODatabaseMetaDataResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 348 of file ODatabaseMetaDataResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
staticprivate |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 691 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 259 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OTools::getValue(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bWasNull, m_nDriverColumnCount, m_pConnection, and mapColumn().
|
overridevirtual |
Definition at line 281 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OTools::getValue(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bWasNull, m_nDriverColumnCount, m_pConnection, mapColumn(), and nValue.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
|
protectedvirtual |
Reimplemented from cppu::OPropertySetHelper.
|
protected |
|
inlinestaticprivate |
Definition at line 84 of file ODatabaseMetaDataResultSet.hxx.
|
staticprivate |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 686 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 298 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OTools::getValue(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bWasNull, m_nDriverColumnCount, m_pConnection, and mapColumn().
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 737 of file ODatabaseMetaDataResultSet.cxx.
References comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet >::getArrayHelper().
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 315 of file ODatabaseMetaDataResultSet.cxx.
Referenced by getBoolean().
|
protected |
Definition at line 157 of file ODatabaseMetaDataResultSet.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_aValueRange, m_bWasNull, m_nDriverColumnCount, m_pConnection, mapColumn(), and cppu::OPropertySetHelper::rBHelper.
|
overridevirtual |
Definition at line 327 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 333 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_pConnection, and m_xMetaData.
Referenced by findColumn(), getBoolean(), and getBytes().
|
overridevirtual |
References close.
|
inline |
Definition at line 117 of file ODatabaseMetaDataResultSet.hxx.
|
overridevirtual |
Definition at line 97 of file ODatabaseMetaDataResultSet.cxx.
References getInfoHelper().
|
overridevirtual |
Definition at line 361 of file ODatabaseMetaDataResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 321 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 375 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 582 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 381 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OTools::getStringValue(), impl_getColumnType_nothrow(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bWasNull, m_nDriverColumnCount, m_nTextEncoding, m_pConnection, and mapColumn().
|
overridevirtual |
Definition at line 399 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OTools::getValue(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bWasNull, m_nDriverColumnCount, m_pConnection, mapColumn(), and Time.
|
overridevirtual |
Definition at line 416 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OTools::getValue(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bWasNull, m_nDriverColumnCount, m_pConnection, and mapColumn().
Definition at line 112 of file ODatabaseMetaDataResultSet.cxx.
References aTypes.
|
overridevirtual |
Definition at line 681 of file ODatabaseMetaDataResultSet.cxx.
References Any.
|
private |
Definition at line 1319 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::odbc::OResultSetMetaData::getColumnODBCType(), m_aODBCColumnTypes, m_aStatementHandle, and m_pConnection.
Referenced by getString().
|
overridevirtual |
Definition at line 434 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nCurrentFetchState.
|
overridevirtual |
Definition at line 618 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPos.
|
overridevirtual |
Definition at line 444 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPos.
|
overridevirtual |
Definition at line 454 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_bEOF, and m_nCurrentFetchState.
|
overridevirtual |
Definition at line 517 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bEOF, m_nCurrentFetchState, m_pConnection, N3SQLFetchScroll, and connectivity::odbc::OTools::ThrowException().
Referenced by afterLast().
|
private |
Definition at line 121 of file ODatabaseMetaDataResultSet.cxx.
References m_aColMapping, and map.
Referenced by getBoolean(), getBytes(), getDate(), getDouble(), getFloat(), getInteger(), getString(), getTime(), and getTimestamp().
|
overridevirtual |
Definition at line 629 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bEOF, m_nCurrentFetchState, m_nRowPos, m_pConnection, N3SQLFetch, and connectivity::odbc::OTools::ThrowException().
Referenced by afterLast().
void ODatabaseMetaDataResultSet::openBestRowIdentifier | ( | const css::uno::Any & | catalog, |
const OUString & | schema, | ||
std::u16string_view | table, | ||
sal_Int32 | scope, | ||
bool | nullable | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1152 of file ODatabaseMetaDataResultSet.cxx.
References openSpecialColumns(), and table.
void ODatabaseMetaDataResultSet::openCatalogs | ( | ) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 907 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), m_aColMapping, m_aStatementHandle, m_pConnection, m_xMetaData, N3SQLTables, SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openColumnPrivileges | ( | const css::uno::Any & | catalog, |
const OUString & | schema, | ||
std::u16string_view | table, | ||
std::u16string_view | columnNamePattern | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 940 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLColumnPrivileges, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, table, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openColumns | ( | const css::uno::Any & | catalog, |
const OUString & | schemaPattern, | ||
std::u16string_view | tableNamePattern, | ||
std::u16string_view | columnNamePattern | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 975 of file ODatabaseMetaDataResultSet.cxx.
References aMap, checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_aValueRange, m_nTextEncoding, m_pConnection, N3SQLColumns, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, SQL_WCHAR, SQL_WLONGVARCHAR, SQL_WVARCHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openExportedKeys | ( | const css::uno::Any & | catalog, |
const OUString & | schema, | ||
const OUString & | table | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1215 of file ODatabaseMetaDataResultSet.cxx.
References Any, openForeignKeys(), and table.
void ODatabaseMetaDataResultSet::openForeignKeys | ( | const css::uno::Any & | catalog, |
const OUString * | schema, | ||
const OUString * | table, | ||
const css::uno::Any & | catalog2, | ||
const OUString * | schema2, | ||
const OUString * | table2 | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1158 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLForeignKeys, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, table, and connectivity::odbc::OTools::ThrowException().
Referenced by openExportedKeys(), and openImportedKeys().
void ODatabaseMetaDataResultSet::openImportedKeys | ( | const css::uno::Any & | catalog, |
const OUString & | schema, | ||
const OUString & | table | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1208 of file ODatabaseMetaDataResultSet.cxx.
References Any, openForeignKeys(), and table.
void ODatabaseMetaDataResultSet::openIndexInfo | ( | const css::uno::Any & | catalog, |
const OUString & | schema, | ||
std::u16string_view | table, | ||
bool | unique, | ||
bool | approximate | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1280 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLStatistics, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, table, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openPrimaryKeys | ( | const css::uno::Any & | catalog, |
const OUString & | schema, | ||
std::u16string_view | table | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1221 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLPrimaryKeys, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, table, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openProcedureColumns | ( | const css::uno::Any & | catalog, |
const OUString & | schemaPattern, | ||
std::u16string_view | procedureNamePattern, | ||
std::u16string_view | columnNamePattern | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1042 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLProcedureColumns, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openProcedures | ( | const css::uno::Any & | catalog, |
const OUString & | schemaPattern, | ||
std::u16string_view | procedureNamePattern | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1075 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLProcedures, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openSchemas | ( | ) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 924 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), m_aColMapping, m_aStatementHandle, m_pConnection, m_xMetaData, N3SQLTables, SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openSpecialColumns | ( | bool | _bRowVer, |
const css::uno::Any & | catalog, | ||
const OUString & | schema, | ||
std::u16string_view | table, | ||
sal_Int32 | scope, | ||
bool | nullable | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1105 of file ODatabaseMetaDataResultSet.cxx.
References Any, checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLSpecialColumns, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, table, connectivity::odbc::OTools::ThrowException(), and u.
Referenced by openBestRowIdentifier(), and openVersionColumns().
void ODatabaseMetaDataResultSet::openTablePrivileges | ( | const css::uno::Any & | catalog, |
const OUString & | schemaPattern, | ||
std::u16string_view | tableNamePattern | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1251 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLTablePrivileges, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openTables | ( | const css::uno::Any & | catalog, |
const OUString & | schemaPattern, | ||
std::u16string_view | tableNamePattern, | ||
const css::uno::Sequence< OUString > & | types | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 843 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), comphelper::getString(), m_aStatementHandle, m_nTextEncoding, m_pConnection, N3SQLTables, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openTablesTypes | ( | ) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 891 of file ODatabaseMetaDataResultSet.cxx.
References checkColumnCount(), m_aColMapping, m_aStatementHandle, m_pConnection, m_xMetaData, N3SQLTables, SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openTypeInfo | ( | ) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 801 of file ODatabaseMetaDataResultSet.cxx.
References aMap, checkColumnCount(), m_aStatementHandle, m_aValueRange, m_pConnection, N3SQLGetTypeInfo, SQL_WCHAR, SQL_WLONGVARCHAR, SQL_WVARCHAR, and connectivity::odbc::OTools::ThrowException().
void ODatabaseMetaDataResultSet::openVersionColumns | ( | const css::uno::Any & | catalog, |
const OUString & | schema, | ||
std::u16string_view | table | ||
) |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1146 of file ODatabaseMetaDataResultSet.cxx.
References openSpecialColumns(), and table.
|
inline |
Definition at line 131 of file ODatabaseMetaDataResultSet.hxx.
|
overridevirtual |
Definition at line 564 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bEOF, m_nCurrentFetchState, m_nRowPos, m_pConnection, N3SQLFetchScroll, and connectivity::odbc::OTools::ThrowException().
Referenced by beforeFirst().
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
|
overridevirtual |
Definition at line 658 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 548 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_bEOF, m_nCurrentFetchState, m_nRowPos, m_pConnection, N3SQLFetchScroll, and connectivity::odbc::OTools::ThrowException().
|
overridevirtualnoexcept |
Definition at line 107 of file ODatabaseMetaDataResultSet.cxx.
|
overridevirtual |
Definition at line 588 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_pRowStatusArray.
|
overridevirtual |
Definition at line 598 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_pRowStatusArray.
|
overridevirtual |
Definition at line 607 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_pRowStatusArray.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
|
overridevirtual |
Definition at line 648 of file ODatabaseMetaDataResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bWasNull.
|
private |
Definition at line 62 of file ODatabaseMetaDataResultSet.hxx.
Referenced by mapColumn(), openCatalogs(), openSchemas(), and openTablesTypes().
|
private |
Definition at line 67 of file ODatabaseMetaDataResultSet.hxx.
Referenced by impl_getColumnType_nothrow().
|
private |
Definition at line 70 of file ODatabaseMetaDataResultSet.hxx.
Referenced by disposing().
|
private |
Definition at line 69 of file ODatabaseMetaDataResultSet.hxx.
Referenced by absolute(), cancel(), checkColumnCount(), disposing(), first(), getBoolean(), getBytes(), getDate(), getDouble(), getFloat(), getInteger(), getMetaData(), getString(), getTime(), getTimestamp(), impl_getColumnType_nothrow(), last(), next(), ODatabaseMetaDataResultSet(), openCatalogs(), openColumnPrivileges(), openColumns(), openForeignKeys(), openIndexInfo(), openPrimaryKeys(), openProcedureColumns(), openProcedures(), openSchemas(), openSpecialColumns(), openTablePrivileges(), openTables(), openTablesTypes(), openTypeInfo(), previous(), and relative().
|
private |
Definition at line 65 of file ODatabaseMetaDataResultSet.hxx.
Referenced by getInteger(), openColumns(), and openTypeInfo().
|
private |
Definition at line 80 of file ODatabaseMetaDataResultSet.hxx.
Referenced by absolute(), first(), isLast(), last(), next(), previous(), and relative().
|
private |
Definition at line 79 of file ODatabaseMetaDataResultSet.hxx.
Referenced by getBoolean(), getBytes(), getDate(), getDouble(), getFloat(), getInteger(), getString(), getTime(), getTimestamp(), and wasNull().
|
private |
Definition at line 78 of file ODatabaseMetaDataResultSet.hxx.
Referenced by absolute(), beforeFirst(), first(), isAfterLast(), isLast(), last(), next(), previous(), and relative().
|
private |
Definition at line 77 of file ODatabaseMetaDataResultSet.hxx.
Referenced by checkColumnCount(), getBoolean(), getBytes(), getDate(), getDouble(), getFloat(), getInteger(), getString(), getTime(), and getTimestamp().
|
private |
Definition at line 76 of file ODatabaseMetaDataResultSet.hxx.
Referenced by absolute(), first(), isBeforeFirst(), isFirst(), next(), previous(), and relative().
|
private |
Definition at line 75 of file ODatabaseMetaDataResultSet.hxx.
Referenced by getBytes(), getString(), openColumnPrivileges(), openColumns(), openForeignKeys(), openIndexInfo(), openPrimaryKeys(), openProcedureColumns(), openProcedures(), openSpecialColumns(), openTablePrivileges(), and openTables().
|
private |
Definition at line 74 of file ODatabaseMetaDataResultSet.hxx.
Referenced by absolute(), checkColumnCount(), disposing(), first(), getBoolean(), getBytes(), getDate(), getDouble(), getFloat(), getInteger(), getMetaData(), getString(), getTime(), getTimestamp(), impl_getColumnType_nothrow(), last(), next(), ODatabaseMetaDataResultSet(), openCatalogs(), openColumnPrivileges(), openColumns(), openForeignKeys(), openIndexInfo(), openPrimaryKeys(), openProcedureColumns(), openProcedures(), openSchemas(), openSpecialColumns(), openTablePrivileges(), openTables(), openTablesTypes(), openTypeInfo(), previous(), and relative().
|
private |
Definition at line 73 of file ODatabaseMetaDataResultSet.hxx.
Referenced by ODatabaseMetaDataResultSet(), rowDeleted(), rowInserted(), and rowUpdated().
|
private |
Definition at line 72 of file ODatabaseMetaDataResultSet.hxx.
Referenced by disposing(), getMetaData(), openCatalogs(), openSchemas(), and openTablesTypes().