LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
connectivity::firebird::OStatement Class Reference

#include <Statement.hxx>

Inheritance diagram for connectivity::firebird::OStatement:
[legend]
Collaboration diagram for connectivity::firebird::OStatement:
[legend]

Public Member Functions

 OStatement (Connection *_pConnection)
 
virtual void disposeResultSet () override
 
 DECLARE_SERVICE_INFO ()
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery (const OUString &sql) override
 
virtual sal_Int32 SAL_CALL executeUpdate (const OUString &sqlIn) override
 
virtual sal_Bool SAL_CALL execute (const OUString &sql) override
 
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnection () override
 
virtual void SAL_CALL addBatch (const OUString &sql) override
 
virtual void SAL_CALL clearBatch () override
 
virtual css::uno::Sequence< sal_Int32 > SAL_CALL executeBatch () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL disposing () override
 
- Public Member Functions inherited from connectivity::firebird::OStatementCommonBase
 OStatementCommonBase (Connection *_pConnection)
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual css::uno::Any SAL_CALL getWarnings () override
 
virtual void SAL_CALL clearWarnings () override
 
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getResultSet () override
 
virtual sal_Int32 SAL_CALL getUpdateCount () override
 
virtual sal_Bool SAL_CALL getMoreResults () override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL close () 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::firebird::OPropertyArrayUsageHelper< OStatementCommonBase >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 call this in the getInfoHelper method of your derived class. More...
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) 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
 

Protected Member Functions

virtual ~OStatement () override
 
- Protected Member Functions inherited from connectivity::firebird::OStatementCommonBase
virtual void disposeResultSet ()
 
void freeStatementHandle ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 used to implement the creation of the array helper which is shared amongst all instances of the class. More...
 
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 ~OStatementCommonBase () override
 
void prepareAndDescribeStatement (std::u16string_view sqlIn, XSQLDA *&pOutSqlda)
 
short getSqlInfoItem (char aInfoItem)
 
bool isDDLStatement ()
 
sal_Int32 getStatementChangeCount ()
 
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::IPropertyArrayHelpercreateArrayHelper () const=0
 used to implement the creation of the array helper which is shared amongst all instances of the class. More...
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Private Attributes

XSQLDA * m_pSqlda
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Protected Attributes inherited from connectivity::firebird::OStatementCommonBase
::osl::Mutex m_aMutex
 
css::uno::Reference< css::sdbc::XResultSet > m_xResultSet
 
::rtl::Reference< Connectionm_pConnection
 
ISC_STATUS_ARRAY m_statusVector
 
isc_stmt_handle m_aStatementHandle
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 
- Static Protected Attributes inherited from connectivity::firebird::OPropertyArrayUsageHelper< OStatementCommonBase >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 
::osl::Mutex s_aMutex
 

Detailed Description

Definition at line 33 of file Statement.hxx.

Constructor & Destructor Documentation

◆ ~OStatement()

virtual connectivity::firebird::OStatement::~OStatement ( )
inlineoverrideprotectedvirtual

Definition at line 40 of file Statement.hxx.

◆ OStatement()

connectivity::firebird::OStatement::OStatement ( Connection _pConnection)
inlineexplicit

Definition at line 44 of file Statement.hxx.

Member Function Documentation

◆ acquire()

void SAL_CALL OStatement::acquire ( )
overridevirtualnoexcept

◆ addBatch()

void SAL_CALL OStatement::addBatch ( const OUString &  sql)
overridevirtual

Definition at line 45 of file Statement.cxx.

◆ clearBatch()

void SAL_CALL OStatement::clearBatch ( )
overridevirtual

Definition at line 49 of file Statement.cxx.

◆ DECLARE_SERVICE_INFO()

connectivity::firebird::OStatement::DECLARE_SERVICE_INFO ( )

◆ disposeResultSet()

void OStatement::disposeResultSet ( )
overridevirtual

◆ disposing()

void SAL_CALL OStatement::disposing ( )
overridevirtual

◆ execute()

sal_Bool SAL_CALL OStatement::execute ( const OUString &  sql)
overridevirtual

Definition at line 134 of file Statement.cxx.

References executeQuery().

Referenced by executeUpdate().

◆ executeBatch()

Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch ( )
overridevirtual

Definition at line 53 of file Statement.cxx.

◆ executeQuery()

uno::Reference< XResultSet > SAL_CALL OStatement::executeQuery ( const OUString &  sql)
overridevirtual

◆ executeUpdate()

sal_Int32 SAL_CALL OStatement::executeUpdate ( const OUString &  sqlIn)
overridevirtual

◆ getConnection()

uno::Reference< XConnection > SAL_CALL OStatement::getConnection ( )
overridevirtual

◆ getTypes()

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

◆ queryInterface()

virtual css::uno::Any SAL_CALL connectivity::firebird::OStatement::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::ImplHelper1< class Ifc1 >.

◆ release()

void SAL_CALL OStatement::release ( )
overridevirtualnoexcept

Member Data Documentation

◆ m_pSqlda

XSQLDA* connectivity::firebird::OStatement::m_pSqlda
private

Definition at line 38 of file Statement.hxx.

Referenced by disposeResultSet(), and executeQuery().


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