LibreOffice Module connectivity (master) 1
|
#include <NResultSet.hxx>
Public Member Functions | |
DECLARE_SERVICE_INFO () | |
OEvoabResultSet (OCommonStatement *pStmt, OEvoabConnection *pConnection) | |
void | construct (const QueryData &_rData) |
virtual void SAL_CALL | disposing () override |
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::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual sal_Bool SAL_CALL | next () override |
virtual sal_Bool SAL_CALL | isBeforeFirst () override |
virtual sal_Bool SAL_CALL | isAfterLast () override |
virtual sal_Bool SAL_CALL | isFirst () override |
virtual sal_Bool SAL_CALL | isLast () override |
virtual void SAL_CALL | beforeFirst () override |
virtual void SAL_CALL | afterLast () override |
virtual sal_Bool SAL_CALL | first () override |
virtual sal_Bool SAL_CALL | last () override |
virtual sal_Int32 SAL_CALL | getRow () override |
virtual sal_Bool SAL_CALL | absolute (sal_Int32 row) override |
virtual sal_Bool SAL_CALL | relative (sal_Int32 rows) override |
virtual sal_Bool SAL_CALL | previous () override |
virtual void SAL_CALL | refreshRow () override |
virtual sal_Bool SAL_CALL | rowUpdated () override |
virtual sal_Bool SAL_CALL | rowInserted () override |
virtual sal_Bool SAL_CALL | rowDeleted () override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getStatement () override |
virtual sal_Bool SAL_CALL | wasNull () override |
virtual OUString SAL_CALL | getString (sal_Int32 columnIndex) override |
getString: @nColumnNum: The column index from the table. More... | |
virtual sal_Bool SAL_CALL | getBoolean (sal_Int32 columnIndex) override |
virtual sal_Int8 SAL_CALL | getByte (sal_Int32 columnIndex) override |
virtual sal_Int16 SAL_CALL | getShort (sal_Int32 columnIndex) override |
virtual sal_Int32 SAL_CALL | getInt (sal_Int32 columnIndex) override |
virtual sal_Int64 SAL_CALL | getLong (sal_Int32 columnIndex) override |
virtual float SAL_CALL | getFloat (sal_Int32 columnIndex) override |
virtual double SAL_CALL | getDouble (sal_Int32 columnIndex) override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getBytes (sal_Int32 columnIndex) override |
virtual css::util::Date SAL_CALL | getDate (sal_Int32 columnIndex) override |
virtual css::util::Time SAL_CALL | getTime (sal_Int32 columnIndex) override |
virtual css::util::DateTime SAL_CALL | getTimestamp (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getBinaryStream (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getCharacterStream (sal_Int32 columnIndex) override |
virtual css::uno::Any SAL_CALL | getObject (sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override |
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL | getRef (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL | getBlob (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL | getClob (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL | getArray (sal_Int32 columnIndex) override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () override |
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL | getMetaData () override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual sal_Int32 SAL_CALL | findColumn (const OUString &columnName) override |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OEvoabResultSet > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Private Member Functions | |
EContact * | getCur () |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual | ~OEvoabResultSet () override |
Private Attributes | |
std::unique_ptr< OEvoabVersionHelper > | m_pVersionHelper |
OCommonStatement * | m_pStatement |
OEvoabConnection * | m_pConnection |
rtl::Reference< OEvoabResultSetMetaData > | m_xMetaData |
::dbtools::WarningsContainer | m_aWarnings |
bool | m_bWasNull |
sal_Int32 | m_nFetchSize |
sal_Int32 | m_nResultSetType |
sal_Int32 | m_nFetchDirection |
sal_Int32 | m_nResultSetConcurrency |
sal_Int32 | m_nIndex |
sal_Int32 | m_nLength |
Additional Inherited Members | |
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 |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OEvoabResultSet > | |
static std::mutex & | theMutex () |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OEvoabResultSet > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 75 of file NResultSet.hxx.
|
overrideprivatevirtual |
Definition at line 534 of file NResultSet.cxx.
connectivity::evoab::OEvoabResultSet::OEvoabResultSet | ( | OCommonStatement * | pStmt, |
OEvoabConnection * | pConnection | ||
) |
Definition at line 489 of file NResultSet.cxx.
References connectivity::OMetaConnection::getPropMap(), m_aMutex, m_nFetchDirection, m_nFetchSize, m_nLength, m_nResultSetConcurrency, m_nResultSetType, m_pVersionHelper, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, and comphelper::OPropertyContainerHelper::registerProperty().
|
overridevirtual |
Definition at line 873 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nIndex, and m_nLength.
|
overridevirtualnoexcept |
Definition at line 1017 of file NResultSet.cxx.
|
overridevirtual |
Definition at line 845 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nIndex, and m_nLength.
|
overridevirtual |
Definition at line 837 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nIndex.
|
overridevirtual |
Definition at line 952 of file NResultSet.cxx.
References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 970 of file NResultSet.cxx.
References dbtools::WarningsContainer::clearWarnings(), and m_aWarnings.
|
overridevirtual |
Definition at line 959 of file NResultSet.cxx.
References connectivity::checkDisposed(), dispose(), and cppu::BaseMutex::m_aMutex.
void connectivity::evoab::OEvoabResultSet::construct | ( | const QueryData & | _rData | ) |
Definition at line 537 of file NResultSet.cxx.
References dbtools::WarningsContainer::appendWarning(), connectivity::evoab::QueryData::aSortOrder, connectivity::evoab::eFilterAlwaysFalse, connectivity::evoab::eFilterNone, connectivity::evoab::eFilterOther, connectivity::evoab::QueryData::eFilterType, ENSURE_OR_THROW, connectivity::evoab::QueryData::getQuery(), connectivity::SQLError::getSQLException(), m_aWarnings, m_nIndex, m_nLength, m_pConnection, m_pVersionHelper, m_xMetaData, pq_sdbc_driver::OUStringToOString(), SAL_INFO, connectivity::evoab::QueryData::sTable, connectivity::OMetaConnection::throwGenericSQLException(), and connectivity::evoab::QueryData::xSelectColumns.
|
overrideprivatevirtual |
Implements comphelper::OPropertyArrayUsageHelper< OEvoabResultSet >.
Definition at line 1005 of file NResultSet.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
connectivity::evoab::OEvoabResultSet::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
Definition at line 592 of file NResultSet.cxx.
References cppu::BaseMutex::m_aMutex, m_pStatement, m_pVersionHelper, and m_xMetaData.
|
overridevirtual |
Definition at line 981 of file NResultSet.cxx.
References connectivity::checkDisposed(), columnName, getMetaData(), i, cppu::BaseMutex::m_aMutex, and dbtools::throwInvalidColumnException().
|
overridevirtual |
Definition at line 854 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nIndex.
|
overridevirtual |
Definition at line 665 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 713 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 677 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 643 of file NResultSet.cxx.
References connectivity::checkDisposed(), getCur(), connectivity::evoab::getValue(), cppu::BaseMutex::m_aMutex, m_bWasNull, m_xMetaData, and connectivity::evoab::valueToBool().
|
overridevirtual |
Definition at line 725 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 731 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 719 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 671 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
inlineprivate |
Definition at line 99 of file NResultSet.hxx.
References m_nIndex, and m_pVersionHelper.
Referenced by getBoolean(), and getString().
|
overridevirtual |
Definition at line 737 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 743 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 749 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overrideprivate |
Definition at line 1012 of file NResultSet.cxx.
References comphelper::OPropertyArrayUsageHelper< OEvoabResultSet >::getArrayHelper().
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 755 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 659 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 764 of file NResultSet.cxx.
References connectivity::checkDisposed(), ENSURE_OR_THROW, cppu::BaseMutex::m_aMutex, and m_xMetaData.
Referenced by findColumn().
|
overridevirtual |
Definition at line 689 of file NResultSet.cxx.
References Any, and dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 1028 of file NResultSet.cxx.
References getInfoHelper().
|
overridevirtual |
Definition at line 683 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 805 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nIndex.
|
overridevirtual |
Definition at line 695 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 911 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_pStatement.
|
overridevirtual |
getString: @nColumnNum: The column index from the table.
If the equivalent NResultSetMetaData.cxx marks the columntype of nColumnNum as DataType::VARCHAR this accessor is used.
Definition at line 628 of file NResultSet.cxx.
References connectivity::checkDisposed(), getCur(), connectivity::evoab::getValue(), cppu::BaseMutex::m_aMutex, m_bWasNull, m_xMetaData, and connectivity::evoab::valueToOUString().
|
overridevirtual |
Definition at line 701 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 707 of file NResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
Definition at line 610 of file NResultSet.cxx.
References comphelper::OPropertyContainer::getBaseTypes().
|
overridevirtual |
Definition at line 975 of file NResultSet.cxx.
References Any, dbtools::WarningsContainer::getWarnings(), and m_aWarnings.
|
overridevirtual |
Definition at line 813 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nIndex, and m_nLength.
|
overridevirtual |
Definition at line 797 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nIndex.
|
overridevirtual |
Definition at line 821 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nIndex.
|
overridevirtual |
Definition at line 829 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nIndex, and m_nLength.
|
overridevirtual |
Definition at line 864 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nIndex, and m_nLength.
|
overridevirtual |
Definition at line 777 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nIndex, and m_nLength.
|
overridevirtual |
Definition at line 898 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nIndex.
|
overridevirtual |
Definition at line 602 of file NResultSet.cxx.
References Any.
|
overridevirtual |
Definition at line 943 of file NResultSet.cxx.
References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 885 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nIndex, and m_nLength.
|
overridevirtualnoexcept |
Definition at line 1022 of file NResultSet.cxx.
|
overridevirtual |
Definition at line 919 of file NResultSet.cxx.
References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 927 of file NResultSet.cxx.
References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 935 of file NResultSet.cxx.
References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 789 of file NResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bWasNull.
|
private |
Definition at line 86 of file NResultSet.hxx.
Referenced by clearWarnings(), construct(), and getWarnings().
|
private |
Definition at line 88 of file NResultSet.hxx.
Referenced by getBoolean(), getString(), and wasNull().
|
private |
Definition at line 92 of file NResultSet.hxx.
Referenced by OEvoabResultSet().
|
private |
Definition at line 90 of file NResultSet.hxx.
Referenced by OEvoabResultSet().
|
private |
Definition at line 97 of file NResultSet.hxx.
Referenced by absolute(), afterLast(), beforeFirst(), construct(), first(), getCur(), getRow(), isAfterLast(), isBeforeFirst(), isFirst(), isLast(), last(), next(), previous(), and relative().
|
private |
Definition at line 98 of file NResultSet.hxx.
Referenced by absolute(), afterLast(), construct(), isAfterLast(), isLast(), last(), next(), and relative().
|
private |
Definition at line 93 of file NResultSet.hxx.
Referenced by OEvoabResultSet().
|
private |
Definition at line 91 of file NResultSet.hxx.
Referenced by OEvoabResultSet().
|
private |
Definition at line 84 of file NResultSet.hxx.
Referenced by construct().
|
private |
Definition at line 83 of file NResultSet.hxx.
Referenced by disposing(), and getStatement().
|
private |
Definition at line 81 of file NResultSet.hxx.
Referenced by construct(), disposing(), getCur(), and OEvoabResultSet().
|
private |
Definition at line 85 of file NResultSet.hxx.
Referenced by construct(), disposing(), getBoolean(), getMetaData(), and getString().