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

#include <NPreparedStatement.hxx>

Inheritance diagram for connectivity::evoab::OEvoabPreparedStatement:
[legend]
Collaboration diagram for connectivity::evoab::OEvoabPreparedStatement:
[legend]

Public Member Functions

 OEvoabPreparedStatement (OEvoabConnection *_pConnection)
 
void construct (const OUString &_sql)
 
 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::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery () override
 
virtual sal_Int32 SAL_CALL executeUpdate () override
 
virtual sal_Bool SAL_CALL execute () override
 
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnection () override
 
virtual void SAL_CALL setNull (sal_Int32 parameterIndex, sal_Int32 sqlType) override
 
virtual void SAL_CALL setObjectNull (sal_Int32 parameterIndex, sal_Int32 sqlType, const OUString &typeName) override
 
virtual void SAL_CALL setBoolean (sal_Int32 parameterIndex, sal_Bool x) override
 
virtual void SAL_CALL setByte (sal_Int32 parameterIndex, sal_Int8 x) override
 
virtual void SAL_CALL setShort (sal_Int32 parameterIndex, sal_Int16 x) override
 
virtual void SAL_CALL setInt (sal_Int32 parameterIndex, sal_Int32 x) override
 
virtual void SAL_CALL setLong (sal_Int32 parameterIndex, sal_Int64 x) override
 
virtual void SAL_CALL setFloat (sal_Int32 parameterIndex, float x) override
 
virtual void SAL_CALL setDouble (sal_Int32 parameterIndex, double x) override
 
virtual void SAL_CALL setString (sal_Int32 parameterIndex, const OUString &x) override
 
virtual void SAL_CALL setBytes (sal_Int32 parameterIndex, const css::uno::Sequence< sal_Int8 > &x) override
 
virtual void SAL_CALL setDate (sal_Int32 parameterIndex, const css::util::Date &x) override
 
virtual void SAL_CALL setTime (sal_Int32 parameterIndex, const css::util::Time &x) override
 
virtual void SAL_CALL setTimestamp (sal_Int32 parameterIndex, const css::util::DateTime &x) override
 
virtual void SAL_CALL setBinaryStream (sal_Int32 parameterIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL setCharacterStream (sal_Int32 parameterIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL setObject (sal_Int32 parameterIndex, const css::uno::Any &x) override
 
virtual void SAL_CALL setObjectWithInfo (sal_Int32 parameterIndex, const css::uno::Any &x, sal_Int32 targetSqlType, sal_Int32 scale) override
 
virtual void SAL_CALL setRef (sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XRef > &x) override
 
virtual void SAL_CALL setBlob (sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XBlob > &x) override
 
virtual void SAL_CALL setClob (sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XClob > &x) override
 
virtual void SAL_CALL setArray (sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XArray > &x) override
 
virtual void SAL_CALL clearParameters () override
 
virtual void SAL_CALL close () override
 
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData () 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
 
- Public Member Functions inherited from connectivity::evoab::OCommonStatement
OEvoabConnectiongetOwnConnection () const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OCommonStatement >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 
- Public Member Functions inherited from cppu::ImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >
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
 

Private Member Functions

virtual ~OEvoabPreparedStatement () override
 

Private Attributes

OUString m_sSqlStatement
 
QueryData m_aQueryData
 
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData
 

Additional Inherited Members

- Protected Member Functions inherited from connectivity::evoab::OCommonStatement
void disposeResultSet ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ~OCommonStatement () override
 
void parseSql (const OUString &sql, QueryData &_out_rQueryData)
 
EBookQuerywhereAnalysis (const OSQLParseNode *parseTree)
 
void orderByAnalysis (const OSQLParseNode *_pOrderByClause, SortDescriptor &_out_rSort)
 
OUString getTableName () const
 
 OCommonStatement (OEvoabConnection *_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 void SAL_CALL close () override
 
QueryData impl_getEBookQuery_throw (const OUString &_rSql)
 will return the EBookQuery representing the statement WHERE condition, or throw More...
 
css::uno::Reference< css::sdbc::XResultSet > impl_executeQuery_throw (const OUString &_rSql)
 
css::uno::Reference< css::sdbc::XResultSet > impl_executeQuery_throw (const QueryData &_rData)
 
css::uno::Reference< css::sdbc::XConnection > impl_getConnection ()
 
OUString impl_getColumnRefColumnName_throw (const ::connectivity::OSQLParseNode &_rColumnRef)
 
- 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::IPropertyArrayHelpercreateArrayHelper () const =0
 
- Protected Member Functions inherited from cppu::ImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >
 ~ImplHelper5 () SAL_NOEXCEPT
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OCommonStatement >
static std::mutextheMutex ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OCommonStatement >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 42 of file NPreparedStatement.hxx.

Constructor & Destructor Documentation

◆ ~OEvoabPreparedStatement()

OEvoabPreparedStatement::~OEvoabPreparedStatement ( )
overrideprivatevirtual

Definition at line 63 of file NPreparedStatement.cxx.

◆ OEvoabPreparedStatement()

OEvoabPreparedStatement::OEvoabPreparedStatement ( OEvoabConnection _pConnection)
explicit

Definition at line 41 of file NPreparedStatement.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL OEvoabPreparedStatement::acquire ( )
overridevirtualnoexcept

◆ clearParameters()

void SAL_CALL OEvoabPreparedStatement::clearParameters ( )
overridevirtual

Definition at line 299 of file NPreparedStatement.cxx.

◆ close()

void SAL_CALL OEvoabPreparedStatement::close ( )
overridevirtual

◆ construct()

void OEvoabPreparedStatement::construct ( const OUString &  _sql)

◆ DECLARE_SERVICE_INFO()

connectivity::evoab::OEvoabPreparedStatement::DECLARE_SERVICE_INFO ( )

◆ execute()

sal_Bool SAL_CALL OEvoabPreparedStatement::execute ( )
overridevirtual

◆ executeQuery()

Reference< XResultSet > SAL_CALL OEvoabPreparedStatement::executeQuery ( )
overridevirtual

◆ executeUpdate()

sal_Int32 SAL_CALL OEvoabPreparedStatement::executeUpdate ( )
overridevirtual

◆ getConnection()

Reference< XConnection > SAL_CALL OEvoabPreparedStatement::getConnection ( )
overridevirtual

◆ getMetaData()

Reference< XResultSetMetaData > SAL_CALL OEvoabPreparedStatement::getMetaData ( )
overridevirtual

◆ getMoreResults()

sal_Bool SAL_CALL OEvoabPreparedStatement::getMoreResults ( )
overridevirtual

Definition at line 313 of file NPreparedStatement.cxx.

◆ getResultSet()

Reference< XResultSet > SAL_CALL OEvoabPreparedStatement::getResultSet ( )
overridevirtual

Definition at line 303 of file NPreparedStatement.cxx.

◆ getTypes()

Sequence< Type > SAL_CALL OEvoabPreparedStatement::getTypes ( )
overridevirtual

◆ getUpdateCount()

sal_Int32 SAL_CALL OEvoabPreparedStatement::getUpdateCount ( )
overridevirtual

Definition at line 308 of file NPreparedStatement.cxx.

◆ queryInterface()

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

◆ release()

void SAL_CALL OEvoabPreparedStatement::release ( )
overridevirtualnoexcept

◆ setArray()

void SAL_CALL OEvoabPreparedStatement::setArray ( sal_Int32  parameterIndex,
const css::uno::Reference< css::sdbc::XArray > &  x 
)
overridevirtual

◆ setBinaryStream()

void SAL_CALL OEvoabPreparedStatement::setBinaryStream ( sal_Int32  parameterIndex,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

◆ setBlob()

void SAL_CALL OEvoabPreparedStatement::setBlob ( sal_Int32  parameterIndex,
const css::uno::Reference< css::sdbc::XBlob > &  x 
)
overridevirtual

◆ setBoolean()

void SAL_CALL OEvoabPreparedStatement::setBoolean ( sal_Int32  parameterIndex,
sal_Bool  x 
)
overridevirtual

◆ setByte()

void SAL_CALL OEvoabPreparedStatement::setByte ( sal_Int32  parameterIndex,
sal_Int8  x 
)
overridevirtual

◆ setBytes()

void SAL_CALL OEvoabPreparedStatement::setBytes ( sal_Int32  parameterIndex,
const css::uno::Sequence< sal_Int8 > &  x 
)
overridevirtual

◆ setCharacterStream()

void SAL_CALL OEvoabPreparedStatement::setCharacterStream ( sal_Int32  parameterIndex,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

◆ setClob()

void SAL_CALL OEvoabPreparedStatement::setClob ( sal_Int32  parameterIndex,
const css::uno::Reference< css::sdbc::XClob > &  x 
)
overridevirtual

◆ setDate()

void SAL_CALL OEvoabPreparedStatement::setDate ( sal_Int32  parameterIndex,
const css::util::Date &  x 
)
overridevirtual

◆ setDouble()

void SAL_CALL OEvoabPreparedStatement::setDouble ( sal_Int32  parameterIndex,
double  x 
)
overridevirtual

◆ setFloat()

void SAL_CALL OEvoabPreparedStatement::setFloat ( sal_Int32  parameterIndex,
float  x 
)
overridevirtual

◆ setInt()

void SAL_CALL OEvoabPreparedStatement::setInt ( sal_Int32  parameterIndex,
sal_Int32  x 
)
overridevirtual

◆ setLong()

void SAL_CALL OEvoabPreparedStatement::setLong ( sal_Int32  parameterIndex,
sal_Int64  x 
)
overridevirtual

◆ setNull()

void SAL_CALL OEvoabPreparedStatement::setNull ( sal_Int32  parameterIndex,
sal_Int32  sqlType 
)
overridevirtual

◆ setObject()

void SAL_CALL OEvoabPreparedStatement::setObject ( sal_Int32  parameterIndex,
const css::uno::Any &  x 
)
overridevirtual

◆ setObjectNull()

void SAL_CALL OEvoabPreparedStatement::setObjectNull ( sal_Int32  parameterIndex,
sal_Int32  sqlType,
const OUString &  typeName 
)
overridevirtual

◆ setObjectWithInfo()

void SAL_CALL OEvoabPreparedStatement::setObjectWithInfo ( sal_Int32  parameterIndex,
const css::uno::Any &  x,
sal_Int32  targetSqlType,
sal_Int32  scale 
)
overridevirtual

◆ setRef()

void SAL_CALL OEvoabPreparedStatement::setRef ( sal_Int32  parameterIndex,
const css::uno::Reference< css::sdbc::XRef > &  x 
)
overridevirtual

◆ setShort()

void SAL_CALL OEvoabPreparedStatement::setShort ( sal_Int32  parameterIndex,
sal_Int16  x 
)
overridevirtual

◆ setString()

void SAL_CALL OEvoabPreparedStatement::setString ( sal_Int32  parameterIndex,
const OUString &  x 
)
overridevirtual

◆ setTime()

void SAL_CALL OEvoabPreparedStatement::setTime ( sal_Int32  parameterIndex,
const css::util::Time &  x 
)
overridevirtual

◆ setTimestamp()

void SAL_CALL OEvoabPreparedStatement::setTimestamp ( sal_Int32  parameterIndex,
const css::util::DateTime &  x 
)
overridevirtual

Member Data Documentation

◆ m_aQueryData

QueryData connectivity::evoab::OEvoabPreparedStatement::m_aQueryData
private

Definition at line 48 of file NPreparedStatement.hxx.

Referenced by construct(), execute(), and executeQuery().

◆ m_sSqlStatement

OUString connectivity::evoab::OEvoabPreparedStatement::m_sSqlStatement
private

Definition at line 46 of file NPreparedStatement.hxx.

Referenced by construct().

◆ m_xMetaData

css::uno::Reference< css::sdbc::XResultSetMetaData > connectivity::evoab::OEvoabPreparedStatement::m_xMetaData
private

Definition at line 50 of file NPreparedStatement.hxx.

Referenced by construct(), and getMetaData().


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