LibreOffice Module connectivity (master) 1
|
#include <FStatement.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 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 |
Public Member Functions inherited from connectivity::file::OStatement_BASE2 | |
OStatement_BASE2 (OConnection *_pConnection) | |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | release () noexcept override |
Public Member Functions inherited from connectivity::file::OStatement_Base | |
connectivity::OSQLParseNode * | getParseTree () const |
OStatement_Base (OConnection *_pConnection) | |
OConnection * | getOwnConnection () const |
virtual void | construct (const OUString &sql) |
virtual void SAL_CALL | disposing () 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 void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () override |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OStatement_Base > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Public Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 > | |
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 rtl::Reference< OResultSet > | createResultSet () override |
Protected Member Functions inherited from connectivity::file::OStatement_Base | |
void | createColumnMapping () |
void | analyzeSQL () |
void | setOrderbyColumn (connectivity::OSQLParseNode const *pColumnRef, connectivity::OSQLParseNode const *pAscendingDescending) |
virtual void | initializeResultSet (OResultSet *_pResult) |
void | closeResultSet () |
void | disposeResultSet () |
void | GetAssignValues () |
void | SetAssignValue (const OUString &aColumnName, const OUString &aValue, bool bSetNull=false, sal_uInt32 nParameter=SQL_NO_PARAMETER) |
void | ParseAssignValues (const std::vector< OUString > &aColumnNameList, connectivity::OSQLParseNode *pRow_Value_Constructor_Elem, sal_Int32 nIndex) |
virtual void | parseParamterElem (const OUString &_sColumnName, OSQLParseNode *pRow_Value_Constructor_Elem) |
virtual rtl::Reference< OResultSet > | createResultSet ()=0 |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual | ~OStatement_Base () override |
Protected Member Functions inherited from comphelper::OPropertyContainer | |
OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper) | |
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 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 |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final |
Protected Member Functions inherited from comphelper::OPropertyContainerHelper | |
OPropertyContainerHelper () | |
~OPropertyContainerHelper () | |
void | registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType) |
void | registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType) |
void | registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue) |
void | revokeProperty (sal_Int32 _nHandle) |
bool | isRegisteredProperty (sal_Int32 _nHandle) const |
bool | isRegisteredProperty (const OUString &_rName) const |
bool | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) |
void | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) |
void | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const |
void | describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const |
const css::beans::Property & | getProperty (const OUString &_rName) const |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Protected Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 > | |
~ImplHelper2 () SAL_NOEXCEPT | |
Definition at line 171 of file FStatement.hxx.
|
inline |
Definition at line 180 of file FStatement.hxx.
|
overridevirtualnoexcept |
Reimplemented from connectivity::file::OStatement_Base.
Definition at line 228 of file FStatement.cxx.
References connectivity::file::OStatement_Base::acquire().
|
overrideprotectedvirtual |
Implements connectivity::file::OStatement_Base.
Reimplemented in connectivity::component::OComponentStatement, connectivity::dbase::ODbaseStatement, and connectivity::flat::OFlatStatement.
Definition at line 221 of file FStatement.cxx.
References connectivity::file::OStatement_Base::m_aSQLIterator.
Referenced by executeQuery(), and executeUpdate().
connectivity::file::OStatement::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
Definition at line 239 of file FStatement.cxx.
References executeQuery(), connectivity::OSQLParseTreeIterator::getStatementType(), cppu::BaseMutex::m_aMutex, connectivity::file::OStatement_Base::m_aSQLIterator, and connectivity::Select.
|
overridevirtual |
Definition at line 249 of file FStatement.cxx.
References connectivity::checkDisposed(), connectivity::file::OStatement_Base::construct(), createResultSet(), connectivity::file::OStatement_Base::initializeResultSet(), cppu::BaseMutex::m_aMutex, and connectivity::file::OStatement_Base::m_xResultSet.
Referenced by execute().
|
overridevirtual |
Definition at line 271 of file FStatement.cxx.
References connectivity::checkDisposed(), connectivity::file::OStatement_Base::construct(), createResultSet(), connectivity::file::OStatement_Base::initializeResultSet(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 266 of file FStatement.cxx.
References connectivity::file::OStatement_Base::m_pConnection.
|
overridevirtual |
Reimplemented from cppu::ImplHelper2< class Ifc1, class Ifc2 >.
|
overridevirtualnoexcept |
Reimplemented from connectivity::file::OStatement_BASE2.
Definition at line 233 of file FStatement.cxx.
References connectivity::file::OStatement_BASE2::release().