LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
connectivity::mysqlc::OPreparedResultSet Class Referencefinal

#include <mysqlc_prepared_resultset.hxx>

Inheritance diagram for connectivity::mysqlc::OPreparedResultSet:
[legend]
Collaboration diagram for connectivity::mysqlc::OPreparedResultSet:
[legend]

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
 
 OPreparedResultSet (OConnection &rConn, OPreparedStatement *pStmt, MYSQL_STMT *pMyStmt)
 
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)
 
template<>
uno::Sequence< sal_Int8retrieveValue (sal_Int32 column)
 
- 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< OPreparedResultSet >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 call this in the getInfoHelper method of your derived class. More...
 

Private Member Functions

::cppu::IPropertyArrayHelpercreateArrayHelper () 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
 
template<typename T >
safelyRetrieveValue (const sal_Int32 nColumnIndex)
 
template<typename T >
retrieveValue (const sal_Int32 nColumnIndex)
 
connectivity::ORowSetValue getRowSetValue (sal_Int32 nColumnIndex)
 
bool fetchResult ()
 
virtual ~OPreparedResultSet () override=default
 

Private Attributes

OConnectionm_rConnection
 
css::uno::WeakReferenceHelper m_aStatement
 
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData
 
MYSQL_RES * m_pResult
 
MYSQL_STMT * m_pStmt
 
MYSQL_FIELD * m_aFields
 
rtl_TextEncoding m_encoding
 
sal_Int32 m_nCurrentRow = 0
 
sal_Int32 m_nColumnCount
 
sal_Int32 m_nRowCount
 
std::unique_ptr< MYSQL_BIND[]> m_aData
 
std::unique_ptr< BindMetaData[]> m_aMetaData
 
bool m_bWasNull = false
 

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::IPropertyArrayHelpercreateArrayHelper () 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
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 
- Static Protected Attributes inherited from connectivity::mysqlc::OPropertyArrayUsageHelper< OPreparedResultSet >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 
::osl::Mutex s_aMutex
 

Detailed Description

Definition at line 53 of file mysqlc_prepared_resultset.hxx.

Constructor & Destructor Documentation

◆ ~OPreparedResultSet()

virtual connectivity::mysqlc::OPreparedResultSet::~OPreparedResultSet ( )
overrideprivatevirtualdefault

References Any.

◆ OPreparedResultSet()

OPreparedResultSet::OPreparedResultSet ( OConnection rConn,
OPreparedStatement pStmt,
MYSQL_STMT *  pMyStmt 
)

Definition at line 181 of file mysqlc_prepared_resultset.cxx.

References m_aFields, m_aMutex, m_nRowCount, m_pResult, m_pStmt, and Reference.

Member Function Documentation

◆ absolute()

sal_Bool SAL_CALL OPreparedResultSet::absolute ( sal_Int32  row)
override

◆ acquire()

void SAL_CALL OPreparedResultSet::acquire ( )
overridevirtualnoexcept

◆ afterLast()

void SAL_CALL OPreparedResultSet::afterLast ( )
override

◆ beforeFirst()

void SAL_CALL OPreparedResultSet::beforeFirst ( )
override

◆ cancel()

void SAL_CALL OPreparedResultSet::cancel ( )
override

◆ cancelRowUpdates()

void SAL_CALL OPreparedResultSet::cancelRowUpdates ( )
override

◆ checkColumnIndex()

void OPreparedResultSet::checkColumnIndex ( sal_Int32  index)

◆ clearWarnings()

void SAL_CALL OPreparedResultSet::clearWarnings ( )
override

Definition at line 749 of file mysqlc_prepared_resultset.cxx.

◆ close()

void SAL_CALL OPreparedResultSet::close ( )
override

◆ compareBookmarks()

sal_Int32 SAL_CALL OPreparedResultSet::compareBookmarks ( const Any &  first,
const Any &  second 
)
override

◆ convertFastPropertyValue()

sal_Bool OPreparedResultSet::convertFastPropertyValue ( Any &  rConvertedValue,
Any &  rOldValue,
sal_Int32  nHandle,
const Any &  rValue 
)
overrideprivate

◆ createArrayHelper()

IPropertyArrayHelper * OPreparedResultSet::createArrayHelper ( ) const
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.

Returns
a pointer to the newly created array helper. Must not be NULL.

Implements connectivity::mysqlc::OPropertyArrayUsageHelper< OPreparedResultSet >.

Definition at line 1031 of file mysqlc_prepared_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.

◆ deleteRow()

void SAL_CALL OPreparedResultSet::deleteRow ( )
override

◆ deleteRows()

uno::Sequence< sal_Int32 > SAL_CALL OPreparedResultSet::deleteRows ( const css::uno::Sequence< Any > &  rows)
override

◆ disposing()

void OPreparedResultSet::disposing ( )
override

◆ fetchResult()

bool OPreparedResultSet::fetchResult ( )
private

◆ findColumn()

sal_Int32 SAL_CALL OPreparedResultSet::findColumn ( const OUString &  columnName)
override

◆ first()

sal_Bool SAL_CALL OPreparedResultSet::first ( )
override

◆ getArray()

uno::Reference< XArray > SAL_CALL OPreparedResultSet::getArray ( sal_Int32  column)
override

◆ getBinaryStream()

uno::Reference< XInputStream > SAL_CALL OPreparedResultSet::getBinaryStream ( sal_Int32  column)
override

◆ getBlob()

uno::Reference< XBlob > SAL_CALL OPreparedResultSet::getBlob ( sal_Int32  column)
override

◆ getBookmark()

Any SAL_CALL OPreparedResultSet::getBookmark ( )
override

◆ getBoolean()

sal_Bool SAL_CALL OPreparedResultSet::getBoolean ( sal_Int32  column)
override

Definition at line 418 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getByte()

sal_Int8 SAL_CALL OPreparedResultSet::getByte ( sal_Int32  column)
override

Definition at line 423 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getBytes()

uno::Sequence< sal_Int8 > SAL_CALL OPreparedResultSet::getBytes ( sal_Int32  column)
override

Definition at line 428 of file mysqlc_prepared_resultset.cxx.

◆ getCharacterStream()

uno::Reference< XInputStream > SAL_CALL OPreparedResultSet::getCharacterStream ( sal_Int32  column)
override

◆ getClob()

uno::Reference< XClob > SAL_CALL OPreparedResultSet::getClob ( sal_Int32  column)
override

◆ getDate()

Date SAL_CALL OPreparedResultSet::getDate ( sal_Int32  column)
override

Definition at line 433 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getDouble()

double SAL_CALL OPreparedResultSet::getDouble ( sal_Int32  column)
override

Definition at line 438 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getFastPropertyValue()

void OPreparedResultSet::getFastPropertyValue ( Any &  rValue,
sal_Int32  nHandle 
) const
overrideprivate

◆ getFloat()

float SAL_CALL OPreparedResultSet::getFloat ( sal_Int32  column)
override

Definition at line 443 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getImplementationName()

OUString SAL_CALL OPreparedResultSet::getImplementationName ( )
overridevirtual

Definition at line 167 of file mysqlc_prepared_resultset.cxx.

◆ getInfoHelper()

IPropertyArrayHelper & OPreparedResultSet::getInfoHelper ( )
overrideprivatevirtual

◆ getInt()

sal_Int32 SAL_CALL OPreparedResultSet::getInt ( sal_Int32  column)
override

Definition at line 448 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getLong()

sal_Int64 SAL_CALL OPreparedResultSet::getLong ( sal_Int32  column)
override

Definition at line 461 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getMetaData()

uno::Reference< XResultSetMetaData > SAL_CALL OPreparedResultSet::getMetaData ( )
override

◆ getObject()

Any SAL_CALL OPreparedResultSet::getObject ( sal_Int32  column,
const css::uno::Reference< css::container::XNameAccess > &  typeMap 
)
override

◆ getPropertySetInfo()

css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OPreparedResultSet::getPropertySetInfo ( )
override

Definition at line 1113 of file mysqlc_prepared_resultset.cxx.

References getInfoHelper().

◆ getRef()

uno::Reference< XRef > SAL_CALL OPreparedResultSet::getRef ( sal_Int32  column)
override

◆ getRow()

sal_Int32 SAL_CALL OPreparedResultSet::getRow ( )
override

◆ getRowSetValue()

ORowSetValue OPreparedResultSet::getRowSetValue ( sal_Int32  nColumnIndex)
private

◆ getShort()

sal_Int16 SAL_CALL OPreparedResultSet::getShort ( sal_Int32  column)
override

Definition at line 530 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getStatement()

uno::Reference< uno::XInterface > SAL_CALL OPreparedResultSet::getStatement ( )
override

◆ getString()

OUString SAL_CALL OPreparedResultSet::getString ( sal_Int32  column)
override

Definition at line 535 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL OPreparedResultSet::getSupportedServiceNames ( )
overridevirtual

Definition at line 172 of file mysqlc_prepared_resultset.cxx.

◆ getTime()

Time SAL_CALL OPreparedResultSet::getTime ( sal_Int32  column)
override

Definition at line 540 of file mysqlc_prepared_resultset.cxx.

References Time.

Referenced by getRowSetValue().

◆ getTimestamp()

DateTime SAL_CALL OPreparedResultSet::getTimestamp ( sal_Int32  column)
override

Definition at line 545 of file mysqlc_prepared_resultset.cxx.

Referenced by getRowSetValue().

◆ getTypes()

uno::Sequence< Type > SAL_CALL OPreparedResultSet::getTypes ( )
overridevirtual

◆ getWarnings()

Any SAL_CALL OPreparedResultSet::getWarnings ( )
override

Definition at line 751 of file mysqlc_prepared_resultset.cxx.

References Any.

◆ hashBookmark()

sal_Int32 SAL_CALL OPreparedResultSet::hashBookmark ( const Any &  bookmark)
override

◆ hasOrderedBookmarks()

sal_Bool SAL_CALL OPreparedResultSet::hasOrderedBookmarks ( )
override

Definition at line 1010 of file mysqlc_prepared_resultset.cxx.

◆ insertRow()

void SAL_CALL OPreparedResultSet::insertRow ( )
override

◆ isAfterLast()

sal_Bool SAL_CALL OPreparedResultSet::isAfterLast ( )
override

◆ isBeforeFirst()

sal_Bool SAL_CALL OPreparedResultSet::isBeforeFirst ( )
override

◆ isFirst()

sal_Bool SAL_CALL OPreparedResultSet::isFirst ( )
override

◆ isLast()

sal_Bool SAL_CALL OPreparedResultSet::isLast ( )
override

◆ last()

sal_Bool SAL_CALL OPreparedResultSet::last ( )
override

◆ moveRelativeToBookmark()

sal_Bool SAL_CALL OPreparedResultSet::moveRelativeToBookmark ( const Any &  bookmark,
sal_Int32  rows 
)
override

◆ moveToBookmark()

sal_Bool SAL_CALL OPreparedResultSet::moveToBookmark ( const Any &  bookmark)
override

◆ moveToCurrentRow()

void SAL_CALL OPreparedResultSet::moveToCurrentRow ( )
override

◆ moveToInsertRow()

void SAL_CALL OPreparedResultSet::moveToInsertRow ( )
override

◆ next()

sal_Bool SAL_CALL OPreparedResultSet::next ( )
override

◆ previous()

sal_Bool SAL_CALL OPreparedResultSet::previous ( )
override

◆ queryInterface()

Any SAL_CALL OPreparedResultSet::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ refreshRow()

void SAL_CALL OPreparedResultSet::refreshRow ( )
override

◆ relative()

sal_Bool SAL_CALL OPreparedResultSet::relative ( sal_Int32  rows)
override

◆ release()

void SAL_CALL OPreparedResultSet::release ( )
overridevirtualnoexcept

◆ retrieveValue() [1/2]

template<typename T >
T OPreparedResultSet::retrieveValue ( const sal_Int32  nColumnIndex)
private

Definition at line 258 of file mysqlc_prepared_resultset.cxx.

References getRowSetValue(), m_aData, m_aFields, and type.

◆ retrieveValue() [2/2]

template<>
OUString OPreparedResultSet::retrieveValue ( sal_Int32  column)

Definition at line 284 of file mysqlc_prepared_resultset.cxx.

References length, and m_aData.

◆ rowDeleted()

sal_Bool SAL_CALL OPreparedResultSet::rowDeleted ( )
override

◆ rowInserted()

sal_Bool SAL_CALL OPreparedResultSet::rowInserted ( )
override

◆ rowUpdated()

sal_Bool SAL_CALL OPreparedResultSet::rowUpdated ( )
override

◆ safelyRetrieveValue()

template<typename T >
T OPreparedResultSet::safelyRetrieveValue ( const sal_Int32  nColumnIndex)
private

◆ setFastPropertyValue_NoBroadcast()

void OPreparedResultSet::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const Any &  rValue 
)
overrideprivate

◆ supportsService()

sal_Bool SAL_CALL OPreparedResultSet::supportsService ( OUString const &  ServiceName)
overridevirtual

Definition at line 177 of file mysqlc_prepared_resultset.cxx.

References cppu::supportsService().

◆ updateBinaryStream()

void SAL_CALL OPreparedResultSet::updateBinaryStream ( sal_Int32  column,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
override

◆ updateBoolean()

void SAL_CALL OPreparedResultSet::updateBoolean ( sal_Int32  column,
sal_Bool  x 
)
override

◆ updateByte()

void SAL_CALL OPreparedResultSet::updateByte ( sal_Int32  column,
sal_Int8  x 
)
override

◆ updateBytes()

void SAL_CALL OPreparedResultSet::updateBytes ( sal_Int32  column,
const css::uno::Sequence< sal_Int8 > &  x 
)
override

◆ updateCharacterStream()

void SAL_CALL OPreparedResultSet::updateCharacterStream ( sal_Int32  column,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
override

◆ updateDate()

void SAL_CALL OPreparedResultSet::updateDate ( sal_Int32  column,
const css::util::Date &  x 
)
override

◆ updateDouble()

void SAL_CALL OPreparedResultSet::updateDouble ( sal_Int32  column,
double  x 
)
override

◆ updateFloat()

void SAL_CALL OPreparedResultSet::updateFloat ( sal_Int32  column,
float  x 
)
override

◆ updateInt()

void SAL_CALL OPreparedResultSet::updateInt ( sal_Int32  column,
sal_Int32  x 
)
override

◆ updateLong()

void SAL_CALL OPreparedResultSet::updateLong ( sal_Int32  column,
sal_Int64  x 
)
override

◆ updateNull()

void SAL_CALL OPreparedResultSet::updateNull ( sal_Int32  column)
override

◆ updateNumericObject()

void SAL_CALL OPreparedResultSet::updateNumericObject ( sal_Int32  column,
const Any &  x,
sal_Int32  scale 
)
override

◆ updateObject()

void SAL_CALL OPreparedResultSet::updateObject ( sal_Int32  column,
const Any &  x 
)
override

◆ updateRow()

void SAL_CALL OPreparedResultSet::updateRow ( )
override

◆ updateShort()

void SAL_CALL OPreparedResultSet::updateShort ( sal_Int32  column,
sal_Int16  x 
)
override

◆ updateString()

void SAL_CALL OPreparedResultSet::updateString ( sal_Int32  column,
const OUString &  x 
)
override

◆ updateTime()

void SAL_CALL OPreparedResultSet::updateTime ( sal_Int32  column,
const css::util::Time &  x 
)
override

◆ updateTimestamp()

void SAL_CALL OPreparedResultSet::updateTimestamp ( sal_Int32  column,
const css::util::DateTime &  x 
)
override

◆ wasNull()

sal_Bool SAL_CALL OPreparedResultSet::wasNull ( )
override

Member Data Documentation

◆ m_aData

std::unique_ptr<MYSQL_BIND[]> connectivity::mysqlc::OPreparedResultSet::m_aData
private

◆ m_aFields

MYSQL_FIELD* connectivity::mysqlc::OPreparedResultSet::m_aFields
private

◆ m_aMetaData

std::unique_ptr<BindMetaData[]> connectivity::mysqlc::OPreparedResultSet::m_aMetaData
private

Definition at line 75 of file mysqlc_prepared_resultset.hxx.

Referenced by close(), and fetchResult().

◆ m_aStatement

css::uno::WeakReferenceHelper connectivity::mysqlc::OPreparedResultSet::m_aStatement
private

Definition at line 59 of file mysqlc_prepared_resultset.hxx.

Referenced by disposing(), and getStatement().

◆ m_bWasNull

bool connectivity::mysqlc::OPreparedResultSet::m_bWasNull = false
private

Definition at line 77 of file mysqlc_prepared_resultset.hxx.

Referenced by safelyRetrieveValue(), and wasNull().

◆ m_encoding

rtl_TextEncoding connectivity::mysqlc::OPreparedResultSet::m_encoding
private

Definition at line 67 of file mysqlc_prepared_resultset.hxx.

Referenced by fetchResult().

◆ m_nColumnCount

sal_Int32 connectivity::mysqlc::OPreparedResultSet::m_nColumnCount
private

Definition at line 69 of file mysqlc_prepared_resultset.hxx.

Referenced by checkColumnIndex(), fetchResult(), and findColumn().

◆ m_nCurrentRow

sal_Int32 connectivity::mysqlc::OPreparedResultSet::m_nCurrentRow = 0
private

◆ m_nRowCount

sal_Int32 connectivity::mysqlc::OPreparedResultSet::m_nRowCount
private

◆ m_pResult

MYSQL_RES* connectivity::mysqlc::OPreparedResultSet::m_pResult
private

◆ m_pStmt

MYSQL_STMT* connectivity::mysqlc::OPreparedResultSet::m_pStmt
private

◆ m_rConnection

OConnection& connectivity::mysqlc::OPreparedResultSet::m_rConnection
private

Definition at line 58 of file mysqlc_prepared_resultset.hxx.

Referenced by fetchResult(), and getMetaData().

◆ m_xMetaData

css::uno::Reference<css::sdbc::XResultSetMetaData> connectivity::mysqlc::OPreparedResultSet::m_xMetaData
private

Definition at line 60 of file mysqlc_prepared_resultset.hxx.

Referenced by disposing(), and getMetaData().


The documentation for this class was generated from the following files: