LibreOffice Module connectivity (master) 1
|
#include <OStatement.hxx>
Public Member Functions | |
OStatement (OConnection *_pConnection) | |
DECLARE_SERVICE_INFO () | |
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 void SAL_CALL | addBatch (const OUString &sql) override |
virtual void SAL_CALL | clearBatch () override |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | executeBatch () override |
![]() | |
OStatement_BASE2 (OConnection *_pConnection) | |
virtual void SAL_CALL | disposing () override |
![]() | |
OStatement_Base (OConnection *_pConnection) | |
oslGenericFunction | getOdbcFunction (ODBC3SQLFunctionId _nIndex) const |
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::Reference< css::sdbc::XResultSet > SAL_CALL | executeQuery (const OUString &sql) override |
virtual sal_Int32 SAL_CALL | executeUpdate (const OUString &sql) override |
virtual sal_Bool SAL_CALL | execute (const OUString &sql) override |
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL | getConnection () override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () 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 css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | getGeneratedValues () override |
SQLHANDLE | getConnectionHandle () |
OConnection * | getOwnConnection () const |
SQLUINTEGER | getCursorProperties (SQLINTEGER _nCursorType, bool bFirst) |
getCursorProperties return the properties for a specific cursor type More... | |
![]() | |
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 |
![]() | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
virtual | ~OStatement () override |
![]() | |
sal_Int64 | getQueryTimeOut () const |
sal_Int64 | getMaxFieldSize () const |
sal_Int64 | getMaxRows () const |
sal_Int32 | getResultSetConcurrency () const |
sal_Int32 | getResultSetType () const |
sal_Int32 | getFetchDirection () const |
sal_Int32 | getFetchSize () const |
OUString | getCursorName () const |
bool | isUsingBookmarks () const |
bool | getEscapeProcessing () const |
template<typename T , SQLINTEGER BufferLength> | |
T | getStmtOption (SQLINTEGER fOption) const |
void | setQueryTimeOut (sal_Int64 _par0) |
void | setMaxFieldSize (sal_Int64 _par0) |
void | setMaxRows (sal_Int64 _par0) |
void | setFetchDirection (sal_Int32 _par0) |
void | setFetchSize (sal_Int32 _par0) |
void | setCursorName (std::u16string_view _par0) |
void | setEscapeProcessing (const bool _bEscapeProc) |
template<typename T , SQLINTEGER BufferLength> | |
SQLRETURN | setStmtOption (SQLINTEGER fOption, T value) const |
void | setResultSetConcurrency (sal_Int32 _par0) |
void | setResultSetType (sal_Int32 _par0) |
void | setUsingBookmarks (bool _bUseBookmark) |
void | reset () |
void | clearMyResultSet () |
void | setWarning (const css::sdbc::SQLWarning &ex) |
bool | lockIfNecessary (const OUString &sql) |
sal_Int32 | getColumnCount () |
css::uno::Reference< css::sdbc::XResultSet > | getResultSet (bool checkCount) |
virtual rtl::Reference< OResultSet > | createResultSet () |
creates the driver specific resultset (factory) More... | |
SQLLEN | getRowCount () |
void | disposeResultSet () |
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 | ~OStatement_Base () override |
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 |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
![]() | |
static std::mutex & | theMutex () |
![]() | |
css::uno::WeakReference< css::sdbc::XResultSet > | m_xResultSet |
css::uno::Reference< css::sdbc::XStatement > | m_xGeneratedStatement |
std::vector< OUString > | m_aBatchVector |
OUString | m_sSqlStatement |
rtl::Reference< OConnection > | m_pConnection |
SQLHANDLE | m_aStatementHandle |
SQLUSMALLINT * | m_pRowStatusArray |
![]() | |
mutable::osl::Mutex | m_aMutex |
![]() | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
![]() | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 221 of file OStatement.hxx.
|
inlineoverrideprotectedvirtual |
Definition at line 227 of file OStatement.hxx.
|
inline |
Definition at line 230 of file OStatement.hxx.
|
overridevirtualnoexcept |
Reimplemented from connectivity::odbc::OStatement_Base.
Definition at line 1094 of file OStatement.cxx.
References connectivity::odbc::OStatement_Base::acquire().
|
overridevirtual |
Definition at line 461 of file OStatement.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OStatement_Base::m_aBatchVector, and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 181 of file OStatement.cxx.
connectivity::odbc::OStatement::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
Definition at line 470 of file OStatement.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OStatement_Base::getOwnConnection(), connectivity::odbc::OStatement_Base::m_aBatchVector, cppu::BaseMutex::m_aMutex, connectivity::odbc::OStatement_Base::m_aStatementHandle, N3SQLExecDirect, N3SQLMoreResults, N3SQLRowCount, pq_sdbc_driver::OUStringToOString(), SDB_ODBC_CHAR, and THROW_SQL.
|
overridevirtual |
Reimplemented from connectivity::odbc::OStatement_Base.
|
overridevirtualnoexcept |
Reimplemented from connectivity::odbc::OStatement_Base.
Definition at line 1099 of file OStatement.cxx.
References connectivity::odbc::OStatement_Base::release().