LibreOffice Module connectivity (master) 1
|
#include <mysqlc_resultset.hxx>
Public Member Functions | |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (OUString const &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
OResultSet (OConnection &rConn, OCommonStatement *pStmt, MYSQL_RES *pResult, rtl_TextEncoding _encoding) | |
void SAL_CALL | disposing () override |
Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
void SAL_CALL | acquire () noexcept override |
void SAL_CALL | release () noexcept override |
css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
sal_Bool SAL_CALL | next () override |
sal_Bool SAL_CALL | isBeforeFirst () override |
sal_Bool SAL_CALL | isAfterLast () override |
sal_Bool SAL_CALL | isFirst () override |
sal_Bool SAL_CALL | isLast () override |
void SAL_CALL | beforeFirst () override |
void SAL_CALL | afterLast () override |
sal_Bool SAL_CALL | first () override |
sal_Bool SAL_CALL | last () override |
sal_Int32 SAL_CALL | getRow () override |
sal_Bool SAL_CALL | absolute (sal_Int32 row) override |
sal_Bool SAL_CALL | relative (sal_Int32 rows) override |
sal_Bool SAL_CALL | previous () override |
void SAL_CALL | refreshRow () override |
sal_Bool SAL_CALL | rowUpdated () override |
sal_Bool SAL_CALL | rowInserted () override |
sal_Bool SAL_CALL | rowDeleted () override |
css::uno::Reference< css::uno::XInterface > SAL_CALL | getStatement () override |
sal_Bool SAL_CALL | wasNull () override |
OUString SAL_CALL | getString (sal_Int32 column) override |
sal_Bool SAL_CALL | getBoolean (sal_Int32 column) override |
sal_Int8 SAL_CALL | getByte (sal_Int32 column) override |
sal_Int16 SAL_CALL | getShort (sal_Int32 column) override |
sal_Int32 SAL_CALL | getInt (sal_Int32 column) override |
sal_Int64 SAL_CALL | getLong (sal_Int32 column) override |
float SAL_CALL | getFloat (sal_Int32 column) override |
double SAL_CALL | getDouble (sal_Int32 column) override |
css::uno::Sequence< sal_Int8 > SAL_CALL | getBytes (sal_Int32 column) override |
css::util::Date SAL_CALL | getDate (sal_Int32 column) override |
css::util::Time SAL_CALL | getTime (sal_Int32 column) override |
css::util::DateTime SAL_CALL | getTimestamp (sal_Int32 column) override |
css::uno::Reference< css::io::XInputStream > SAL_CALL | getBinaryStream (sal_Int32 column) override |
css::uno::Reference< css::io::XInputStream > SAL_CALL | getCharacterStream (sal_Int32 column) override |
Any SAL_CALL | getObject (sal_Int32 column, const css::uno::Reference< css::container::XNameAccess > &typeMap) override |
css::uno::Reference< css::sdbc::XRef > SAL_CALL | getRef (sal_Int32 column) override |
css::uno::Reference< css::sdbc::XBlob > SAL_CALL | getBlob (sal_Int32 column) override |
css::uno::Reference< css::sdbc::XClob > SAL_CALL | getClob (sal_Int32 column) override |
css::uno::Reference< css::sdbc::XArray > SAL_CALL | getArray (sal_Int32 column) override |
css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL | getMetaData () override |
void SAL_CALL | cancel () override |
void SAL_CALL | close () override |
Any SAL_CALL | getWarnings () override |
void SAL_CALL | clearWarnings () override |
void SAL_CALL | insertRow () override |
void SAL_CALL | updateRow () override |
void SAL_CALL | deleteRow () override |
void SAL_CALL | cancelRowUpdates () override |
void SAL_CALL | moveToInsertRow () override |
void SAL_CALL | moveToCurrentRow () override |
void SAL_CALL | updateNull (sal_Int32 column) override |
void SAL_CALL | updateBoolean (sal_Int32 column, sal_Bool x) override |
void SAL_CALL | updateByte (sal_Int32 column, sal_Int8 x) override |
void SAL_CALL | updateShort (sal_Int32 column, sal_Int16 x) override |
void SAL_CALL | updateInt (sal_Int32 column, sal_Int32 x) override |
void SAL_CALL | updateLong (sal_Int32 column, sal_Int64 x) override |
void SAL_CALL | updateFloat (sal_Int32 column, float x) override |
void SAL_CALL | updateDouble (sal_Int32 column, double x) override |
void SAL_CALL | updateString (sal_Int32 column, const OUString &x) override |
void SAL_CALL | updateBytes (sal_Int32 column, const css::uno::Sequence< sal_Int8 > &x) override |
void SAL_CALL | updateDate (sal_Int32 column, const css::util::Date &x) override |
void SAL_CALL | updateTime (sal_Int32 column, const css::util::Time &x) override |
void SAL_CALL | updateTimestamp (sal_Int32 column, const css::util::DateTime &x) override |
void SAL_CALL | updateBinaryStream (sal_Int32 column, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override |
void SAL_CALL | updateCharacterStream (sal_Int32 column, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override |
void SAL_CALL | updateObject (sal_Int32 column, const Any &x) override |
void SAL_CALL | updateNumericObject (sal_Int32 column, const Any &x, sal_Int32 scale) override |
sal_Int32 SAL_CALL | findColumn (const OUString &columnName) override |
Any SAL_CALL | getBookmark () override |
sal_Bool SAL_CALL | moveToBookmark (const Any &bookmark) override |
sal_Bool SAL_CALL | moveRelativeToBookmark (const Any &bookmark, sal_Int32 rows) override |
sal_Int32 SAL_CALL | compareBookmarks (const Any &first, const Any &second) override |
sal_Bool SAL_CALL | hasOrderedBookmarks () override |
sal_Int32 SAL_CALL | hashBookmark (const Any &bookmark) override |
css::uno::Sequence< sal_Int32 > SAL_CALL | deleteRows (const css::uno::Sequence< Any > &rows) override |
void | checkColumnIndex (sal_Int32 index) |
void | checkRowIndex () |
Public Member Functions inherited from cppu::WeakComponentImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 > | |
WeakComponentImplHelper12 (::osl::Mutex &rMutex) SAL_NOEXCEPT | |
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 void SAL_CALL | dispose () SAL_OVERRIDE |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) 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::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 connectivity::mysqlc::OPropertyArrayUsageHelper< TYPE > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
call this in the getInfoHelper method of your derived class. More... | |
Private Types | |
using | DataFields = std::vector< OString > |
Private Member Functions | |
sal_Int32 | getDataLength (sal_Int32 column) |
bool | checkNull (sal_Int32 column) |
::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
used to implement the creation of the array helper which is shared amongst all instances of the class. More... | |
::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
sal_Bool SAL_CALL | convertFastPropertyValue (Any &rConvertedValue, Any &rOldValue, sal_Int32 nHandle, const Any &rValue) override |
void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const Any &rValue) override |
void SAL_CALL | getFastPropertyValue (Any &rValue, sal_Int32 nHandle) const override |
virtual | ~OResultSet () override=default |
void | ensureResultFetched () |
Ensures that the results of the query has already been fetched. More... | |
void | ensureFieldInfoFetched () |
Ensures that meta data of the corresponding result set has been already queried. More... | |
void | checkBordersAndEnsureFetched (sal_Int32 index) |
Check the following things: More... | |
void | fetchResult () |
Fetches all the data from the MYSQL_RES object related to the class. More... | |
Private Attributes | |
std::vector< DataFields > | m_aRows |
std::vector< OUString > | m_aFields |
MYSQL * | m_pMysql = nullptr |
css::uno::WeakReferenceHelper | m_aStatement |
css::uno::Reference< css::sdbc::XResultSetMetaData > | m_xMetaData |
MYSQL_RES * | m_pResult |
rtl_TextEncoding | m_encoding |
bool | m_bWasNull = false |
sal_Int32 | m_nRowPosition = -1 |
Position of cursor indexed from 0. More... | |
sal_Int32 | m_nRowCount = 0 |
Additional Inherited Members | |
Static Public Member Functions inherited from cppu::OPropertySetHelper | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
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 |
used to implement the creation of the array helper which is shared amongst all instances of the class. More... | |
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 connectivity::mysqlc::OPropertyArrayUsageHelper< TYPE > | |
static sal_Int32 | s_nRefCount = 0 |
::cppu::IPropertyArrayHelper * | s_pProps = nullptr |
::osl::Mutex | s_aMutex |
Definition at line 55 of file mysqlc_resultset.hxx.
|
private |
Definition at line 60 of file mysqlc_resultset.hxx.
|
overrideprivatevirtualdefault |
OResultSet::OResultSet | ( | OConnection & | rConn, |
OCommonStatement * | pStmt, | ||
MYSQL_RES * | pResult, | ||
rtl_TextEncoding | _encoding | ||
) |
Definition at line 106 of file mysqlc_resultset.cxx.
References m_aMutex, m_pResult, m_xMetaData, and Reference.
|
override |
Definition at line 613 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), ensureFieldInfoFetched(), cppu::BaseMutex::m_aMutex, m_nRowCount, and m_nRowPosition.
|
overridevirtualnoexcept |
|
override |
Definition at line 573 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), ensureFieldInfoFetched(), cppu::BaseMutex::m_aMutex, m_nRowCount, and m_nRowPosition.
|
override |
Definition at line 566 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPosition.
|
override |
Definition at line 727 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
override |
Definition at line 761 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
private |
Check the following things:
Definition at line 1104 of file mysqlc_resultset.cxx.
References checkColumnIndex(), checkRowIndex(), ensureResultFetched(), and index.
Referenced by getArray(), getBinaryStream(), getBlob(), getBoolean(), getByte(), getBytes(), getCharacterStream(), getClob(), getDate(), getDouble(), getFloat(), getInt(), getLong(), getRef(), getShort(), getString(), getTime(), and getTimestamp().
void OResultSet::checkColumnIndex | ( | sal_Int32 | index | ) |
Definition at line 1095 of file mysqlc_resultset.cxx.
References Any, index, m_aFields, and o3tl::make_unsigned().
Referenced by checkBordersAndEnsureFetched(), updateBoolean(), updateByte(), updateDouble(), updateFloat(), updateInt(), updateLong(), updateNull(), updateNumericObject(), updateObject(), updateShort(), and updateString().
|
private |
Definition at line 80 of file mysqlc_resultset.cxx.
References m_aRows, m_bWasNull, and m_nRowPosition.
Referenced by getBinaryStream(), getBoolean(), getByte(), getBytes(), getDate(), getDouble(), getFloat(), getInt(), getLong(), getShort(), getString(), getTime(), and getTimestamp().
void OResultSet::checkRowIndex | ( | ) |
Definition at line 294 of file firebird/ResultSet.cxx.
References connectivity::checkDisposed(), m_rMutex, and dbtools::throwSQLException().
Referenced by checkBordersAndEnsureFetched(), updateBoolean(), updateByte(), updateDouble(), updateFloat(), updateInt(), updateLong(), updateNull(), updateNumericObject(), updateObject(), updateShort(), and updateString().
|
override |
Definition at line 733 of file mysqlc_resultset.cxx.
|
override |
Definition at line 581 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::WeakComponentImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >::dispose(), cppu::BaseMutex::m_aMutex, and m_pResult.
|
override |
Definition at line 982 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
overrideprivate |
Definition at line 1026 of file mysqlc_resultset.cxx.
References nHandle, connectivity::mysqlc::PROPERTY_ID_CURSORNAME, connectivity::mysqlc::PROPERTY_ID_FETCHDIRECTION, connectivity::mysqlc::PROPERTY_ID_FETCHSIZE, connectivity::mysqlc::PROPERTY_ID_ISBOOKMARKABLE, connectivity::mysqlc::PROPERTY_ID_RESULTSETCONCURRENCY, and connectivity::mysqlc::PROPERTY_ID_RESULTSETTYPE.
|
overrideprivatevirtual |
used to implement the creation of the array helper which is shared amongst all instances of the class.
This method needs to be implemented in derived classes.
The method gets called with s_aMutex acquired.
Implements connectivity::mysqlc::OPropertyArrayUsageHelper< TYPE >.
Definition at line 1010 of file mysqlc_resultset.cxx.
References cppu::UnoType< typename T >::get(), connectivity::mysqlc::PROPERTY_ID_FETCHDIRECTION, connectivity::mysqlc::PROPERTY_ID_FETCHSIZE, connectivity::mysqlc::PROPERTY_ID_ISBOOKMARKABLE, connectivity::mysqlc::PROPERTY_ID_RESULTSETCONCURRENCY, and connectivity::mysqlc::PROPERTY_ID_RESULTSETTYPE.
|
override |
Definition at line 754 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
|
override |
Definition at line 174 of file mysqlc_resultset.cxx.
References comphelper::OPropertySetHelper::disposing(), cppu::BaseMutex::m_aMutex, m_aStatement, m_pResult, and m_xMetaData.
|
private |
Ensures that meta data of the corresponding result set has been already queried.
It should be called before freeing the result set, unless the information is lost.
Definition at line 127 of file mysqlc_resultset.cxx.
References i, m_aFields, m_nRowCount, m_pResult, and connectivity::evoab::pFields.
Referenced by absolute(), afterLast(), fetchResult(), findColumn(), isAfterLast(), isFirst(), isLast(), last(), next(), and relative().
|
private |
Ensures that the results of the query has already been fetched.
Definition at line 119 of file mysqlc_resultset.cxx.
References fetchResult(), and m_pResult.
Referenced by checkBordersAndEnsureFetched().
|
private |
Fetches all the data from the MYSQL_RES object related to the class.
It frees the MYSQL_RES object afterwards, so it cannot be used anymore.
Definition at line 146 of file mysqlc_resultset.cxx.
References col, ensureFieldInfoFetched(), m_aFields, m_aRows, m_encoding, m_nRowCount, m_pMysql, m_pResult, and mysqlc_sdbc_driver::throwSQLExceptionWithMsg().
Referenced by ensureResultFetched().
|
override |
Definition at line 208 of file mysqlc_resultset.cxx.
References Any, connectivity::mysqlc::checkDisposed(), columnName, ensureFieldInfoFetched(), i, m_aFields, and cppu::BaseMutex::m_aMutex.
|
override |
Definition at line 594 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPosition.
|
override |
Definition at line 385 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 224 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), getDataLength(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
override |
Definition at line 405 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 952 of file mysqlc_resultset.cxx.
References Any, connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 247 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
override |
Definition at line 259 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
override |
Definition at line 272 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), getDataLength(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
override |
Definition at line 237 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 395 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
inlineprivate |
Definition at line 70 of file mysqlc_resultset.hxx.
References m_aRows, and m_nRowPosition.
Referenced by getBinaryStream(), getBytes(), getTime(), and getTimestamp().
|
override |
Definition at line 285 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), d, o3tl::getToken(), i, cppu::BaseMutex::m_aMutex, m_aRows, m_nRowPosition, nIndex, and o3tl::toUInt32().
|
override |
Definition at line 321 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
overrideprivate |
Definition at line 1060 of file mysqlc_resultset.cxx.
References nHandle, connectivity::mysqlc::PROPERTY_ID_CURSORNAME, connectivity::mysqlc::PROPERTY_ID_FETCHDIRECTION, connectivity::mysqlc::PROPERTY_ID_FETCHSIZE, connectivity::mysqlc::PROPERTY_ID_ISBOOKMARKABLE, connectivity::mysqlc::PROPERTY_ID_RESULTSETCONCURRENCY, and connectivity::mysqlc::PROPERTY_ID_RESULTSETTYPE.
|
override |
Definition at line 334 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
overridevirtual |
Definition at line 91 of file mysqlc_resultset.cxx.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 1024 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::OPropertyArrayUsageHelper< TYPE >::getArrayHelper().
Referenced by getPropertySetInfo().
|
override |
Definition at line 346 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
override |
Definition at line 366 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
override |
Definition at line 378 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_xMetaData.
|
override |
|
override |
Definition at line 1090 of file mysqlc_resultset.cxx.
References getInfoHelper().
|
override |
Definition at line 415 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 358 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPosition.
|
override |
Definition at line 436 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
override |
Definition at line 670 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_aStatement.
|
override |
Definition at line 448 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), cppu::BaseMutex::m_aMutex, m_aRows, m_encoding, and m_nRowPosition.
|
overridevirtual |
Definition at line 96 of file mysqlc_resultset.cxx.
|
override |
Definition at line 460 of file mysqlc_resultset.cxx.
References checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), getDataLength(), o3tl::getToken(), i, idx, cppu::BaseMutex::m_aMutex, m_aRows, m_nRowPosition, o3tl::make_unsigned(), nIndex, t, Time, and o3tl::toUInt32().
|
override |
Definition at line 500 of file mysqlc_resultset.cxx.
References Any, checkBordersAndEnsureFetched(), connectivity::mysqlc::checkDisposed(), checkNull(), getDataLength(), cppu::BaseMutex::m_aMutex, m_aRows, and m_nRowPosition.
|
overridevirtual |
Reimplemented from cppu::WeakComponentImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >.
Definition at line 199 of file mysqlc_resultset.cxx.
References aTypes, connectivity::mysqlc::concatSequences(), and cppu::WeakComponentImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >::getTypes().
|
override |
Definition at line 735 of file mysqlc_resultset.cxx.
References Any.
|
override |
Definition at line 994 of file mysqlc_resultset.cxx.
References mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 992 of file mysqlc_resultset.cxx.
|
override |
Definition at line 737 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 539 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), ensureFieldInfoFetched(), cppu::BaseMutex::m_aMutex, m_nRowCount, and m_nRowPosition.
Referenced by isFirst().
|
override |
Definition at line 531 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPosition.
|
override |
Definition at line 548 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), ensureFieldInfoFetched(), isAfterLast(), cppu::BaseMutex::m_aMutex, and m_nRowPosition.
|
override |
Definition at line 557 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), ensureFieldInfoFetched(), cppu::BaseMutex::m_aMutex, m_nRowCount, and m_nRowPosition.
|
override |
Definition at line 603 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), ensureFieldInfoFetched(), cppu::BaseMutex::m_aMutex, m_nRowCount, and m_nRowPosition.
|
override |
Definition at line 971 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 963 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
override |
Definition at line 777 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
override |
Definition at line 768 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 702 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), ensureFieldInfoFetched(), cppu::BaseMutex::m_aMutex, m_nRowCount, and m_nRowPosition.
|
override |
Definition at line 651 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPosition.
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
References Any.
|
override |
Definition at line 924 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 631 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), ensureFieldInfoFetched(), cppu::BaseMutex::m_aMutex, m_nRowCount, and m_nRowPosition.
|
overridevirtualnoexcept |
|
override |
Definition at line 678 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
override |
Definition at line 686 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
override |
Definition at line 694 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
overrideprivate |
Definition at line 1043 of file mysqlc_resultset.cxx.
References nHandle, connectivity::mysqlc::PROPERTY_ID_CURSORNAME, connectivity::mysqlc::PROPERTY_ID_FETCHDIRECTION, connectivity::mysqlc::PROPERTY_ID_FETCHSIZE, connectivity::mysqlc::PROPERTY_ID_ISBOOKMARKABLE, connectivity::mysqlc::PROPERTY_ID_RESULTSETCONCURRENCY, and connectivity::mysqlc::PROPERTY_ID_RESULTSETTYPE.
|
overridevirtual |
Definition at line 101 of file mysqlc_resultset.cxx.
References cppu::supportsService().
|
override |
|
override |
Definition at line 792 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 801 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
|
override |
|
override |
|
override |
Definition at line 846 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 837 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 819 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 828 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 783 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 940 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 931 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 745 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 810 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
Definition at line 855 of file mysqlc_resultset.cxx.
References checkColumnIndex(), connectivity::mysqlc::checkDisposed(), checkRowIndex(), cppu::BaseMutex::m_aMutex, and mysqlc_sdbc_driver::throwFeatureNotImplementedException().
|
override |
|
override |
|
override |
Definition at line 719 of file mysqlc_resultset.cxx.
References connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bWasNull.
|
private |
Definition at line 62 of file mysqlc_resultset.hxx.
Referenced by checkColumnIndex(), ensureFieldInfoFetched(), fetchResult(), and findColumn().
|
private |
Definition at line 61 of file mysqlc_resultset.hxx.
Referenced by checkNull(), fetchResult(), getBinaryStream(), getBoolean(), getByte(), getBytes(), getDataLength(), getDate(), getDouble(), getFloat(), getInt(), getLong(), getShort(), getString(), getTime(), and getTimestamp().
|
private |
Definition at line 64 of file mysqlc_resultset.hxx.
Referenced by disposing(), and getStatement().
|
private |
Definition at line 68 of file mysqlc_resultset.hxx.
Referenced by checkNull(), and wasNull().
|
private |
Definition at line 67 of file mysqlc_resultset.hxx.
Referenced by fetchResult(), and getString().
|
private |
Definition at line 80 of file mysqlc_resultset.hxx.
Referenced by absolute(), afterLast(), ensureFieldInfoFetched(), fetchResult(), isAfterLast(), isLast(), last(), next(), and relative().
|
private |
Position of cursor indexed from 0.
Definition at line 79 of file mysqlc_resultset.hxx.
Referenced by absolute(), afterLast(), beforeFirst(), checkNull(), first(), getBinaryStream(), getBoolean(), getByte(), getBytes(), getDataLength(), getDate(), getDouble(), getFloat(), getInt(), getLong(), getRow(), getShort(), getString(), getTime(), getTimestamp(), isAfterLast(), isBeforeFirst(), isFirst(), isLast(), last(), next(), previous(), and relative().
|
private |
Definition at line 63 of file mysqlc_resultset.hxx.
Referenced by fetchResult().
|
private |
Definition at line 66 of file mysqlc_resultset.hxx.
Referenced by close(), disposing(), ensureFieldInfoFetched(), ensureResultFetched(), fetchResult(), and OResultSet().
|
private |
Definition at line 65 of file mysqlc_resultset.hxx.
Referenced by disposing(), getMetaData(), and OResultSet().