LibreOffice Module connectivity (master) 1
|
#include <OResultSet.hxx>
Public Member Functions | |
DECLARE_SERVICE_INFO () | |
OResultSet (SQLHANDLE _pStatementHandle, OStatement_Base *pStmt) | |
virtual | ~OResultSet () override |
void | construct () |
oslGenericFunction | getOdbcFunction (ODBC3SQLFunctionId _nIndex) const |
css::uno::Reference< css::uno::XInterface > | operator* () |
void | setMetaData (const css::uno::Reference< css::sdbc::XResultSetMetaData > &_xMetaData) |
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 |
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 css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL | getMetaData () override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual void SAL_CALL | insertRow () override |
virtual void SAL_CALL | updateRow () override |
virtual void SAL_CALL | deleteRow () override |
virtual void SAL_CALL | cancelRowUpdates () override |
virtual void SAL_CALL | moveToInsertRow () override |
virtual void SAL_CALL | moveToCurrentRow () override |
virtual void SAL_CALL | updateNull (sal_Int32 columnIndex) override |
virtual void SAL_CALL | updateBoolean (sal_Int32 columnIndex, sal_Bool x) override |
virtual void SAL_CALL | updateByte (sal_Int32 columnIndex, sal_Int8 x) override |
virtual void SAL_CALL | updateShort (sal_Int32 columnIndex, sal_Int16 x) override |
virtual void SAL_CALL | updateInt (sal_Int32 columnIndex, sal_Int32 x) override |
virtual void SAL_CALL | updateLong (sal_Int32 columnIndex, sal_Int64 x) override |
virtual void SAL_CALL | updateFloat (sal_Int32 columnIndex, float x) override |
virtual void SAL_CALL | updateDouble (sal_Int32 columnIndex, double x) override |
virtual void SAL_CALL | updateString (sal_Int32 columnIndex, const OUString &x) override |
virtual void SAL_CALL | updateBytes (sal_Int32 columnIndex, const css::uno::Sequence< sal_Int8 > &x) override |
virtual void SAL_CALL | updateDate (sal_Int32 columnIndex, const css::util::Date &x) override |
virtual void SAL_CALL | updateTime (sal_Int32 columnIndex, const css::util::Time &x) override |
virtual void SAL_CALL | updateTimestamp (sal_Int32 columnIndex, const css::util::DateTime &x) override |
virtual void SAL_CALL | updateBinaryStream (sal_Int32 columnIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override |
virtual void SAL_CALL | updateCharacterStream (sal_Int32 columnIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override |
virtual void SAL_CALL | updateObject (sal_Int32 columnIndex, const css::uno::Any &x) override |
virtual void SAL_CALL | updateNumericObject (sal_Int32 columnIndex, const css::uno::Any &x, sal_Int32 scale) override |
virtual sal_Int32 SAL_CALL | findColumn (const OUString &columnName) override |
virtual css::uno::Any SAL_CALL | getBookmark () override |
virtual sal_Bool SAL_CALL | moveToBookmark (const css::uno::Any &bookmark) override |
virtual sal_Bool SAL_CALL | moveRelativeToBookmark (const css::uno::Any &bookmark, sal_Int32 rows) override |
virtual sal_Int32 SAL_CALL | compareBookmarks (const css::uno::Any &first, const css::uno::Any &second) override |
virtual sal_Bool SAL_CALL | hasOrderedBookmarks () override |
virtual sal_Int32 SAL_CALL | hashBookmark (const css::uno::Any &bookmark) override |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | deleteRows (const css::uno::Sequence< css::uno::Any > &rows) override |
virtual bool | move (IResultSetHelper::Movement _eCursorPosition, sal_Int32 _nOffset, bool _bRetrieveData) override |
virtual sal_Int32 | getDriverPos () const override |
virtual bool | isRowDeleted () const override |
virtual bool | move (Movement _eCursorPosition, sal_Int32 _nOffset, bool _bRetrieveData)=0 |
virtual sal_Int32 | getDriverPos () const =0 |
virtual bool | isRowDeleted () const =0 |
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 comphelper::OPropertyArrayUsageHelper< OResultSet > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Types | |
typedef std::vector< ORowSetValue > | TDataRow |
Protected Member Functions | |
bool | isBookmarkable () const |
sal_Int32 | getResultSetConcurrency () const |
sal_Int32 | getResultSetType () const |
sal_Int32 | getFetchSize () const |
OUString | getCursorName () const |
template<typename T , SQLINTEGER BufferLength> | |
T | getStmtOption (SQLINTEGER fOption) const |
void | setFetchDirection (sal_Int32 _par0) |
void | setFetchSize (sal_Int32 _par0) |
template<typename T , SQLINTEGER BufferLength> | |
SQLRETURN | setStmtOption (SQLINTEGER fOption, T value) const |
void | ensureCacheForColumn (sal_Int32 columnIndex) |
void | invalidateCache () |
void | fillColumn (sal_Int32 _nToColumn) |
void | allocBuffer () |
void | releaseBuffer () |
void | updateValue (sal_Int32 columnIndex, SQLSMALLINT _nType, void const *_pValue) |
void | fillNeededData (SQLRETURN _nRet) |
bool | moveImpl (IResultSetHelper::Movement _eCursorPosition, sal_Int32 _nOffset) |
TVoidPtr | allocBindColumn (sal_Int32 _nType, sal_Int32 _nColumnIndex) |
SQLRETURN | unbind (bool _bUnbindHandle=true) |
SWORD | impl_getColumnType_nothrow (sal_Int32 columnIndex) |
template<typename T > | |
T | getValue (sal_Int32 columnIndex) |
template<typename T > | |
T | impl_getValue (const sal_Int32 _nColumnIndex, SQLSMALLINT nType) |
bool | impl_getBoolean (sal_Int32 columnIndex) |
css::uno::Sequence< sal_Int8 > | impl_getBytes (sal_Int32 columnIndex) |
css::util::Date | impl_getDate (sal_Int32 columnIndex) |
css::util::Time | impl_getTime (sal_Int32 columnIndex) |
css::util::DateTime | impl_getTimestamp (sal_Int32 columnIndex) |
sal_Int64 | impl_getLong (sal_Int32 columnIndex) |
OUString | impl_getString (sal_Int32 columnIndex) |
css::uno::Sequence< sal_Int8 > | impl_getBookmark () |
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 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 connectivity::IResultSetHelper | |
~IResultSetHelper () | |
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::IPropertyArrayHelper * | createArrayHelper () const =0 |
Static Protected Member Functions | |
static sal_Int32 | getFetchDirection () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultSet > | |
static std::mutex & | theMutex () |
Additional Inherited Members | |
Public Types inherited from connectivity::IResultSetHelper | |
enum | Movement { NEXT = 0 , PRIOR , FIRST , LAST , RELATIVE1 , ABSOLUTE1 , BOOKMARK } |
Static Public Member Functions inherited from cppu::OPropertySetHelper | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OResultSet > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 105 of file OResultSet.hxx.
|
protected |
Definition at line 115 of file OResultSet.hxx.
OResultSet::OResultSet | ( | SQLHANDLE | _pStatementHandle, |
OStatement_Base * | pStmt | ||
) |
Definition at line 81 of file OResultSet.cxx.
References Exception, connectivity::odbc::OStatement_Base::getCursorProperties(), GetFunctions, connectivity::odbc::OTools::GetInfo(), getOdbcFunction(), connectivity::odbc::OStatement_Base::getOwnConnection(), m_aConnectionHandle, m_aMutex, m_bFetchDataInOrder, m_bUseFetchScroll, m_pRowStatusArray, m_pSkipDeletedSet, m_pStatement, m_refCount, and N3SQLGetFunctions.
|
overridevirtual |
Definition at line 159 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 748 of file OResultSet.cxx.
References connectivity::IResultSetHelper::ABSOLUTE1, and moveImpl().
|
overridevirtualnoexcept |
Definition at line 1646 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 715 of file OResultSet.cxx.
References connectivity::checkDisposed(), last(), cppu::BaseMutex::m_aMutex, m_bEOF, and next().
|
protected |
Definition at line 251 of file OResultSet.cxx.
References getLength(), m_aRow, and SAL_WARN.
Referenced by updateNull(), and updateValue().
|
protected |
Definition at line 312 of file OResultSet.cxx.
References getMetaData(), i, m_aBindVector, m_aLengthVector, m_aRow, and nType.
Referenced by construct().
|
overridevirtual |
Definition at line 704 of file OResultSet.cxx.
References connectivity::checkDisposed(), first(), cppu::BaseMutex::m_aMutex, m_nCurrentFetchState, and previous().
|
overridevirtual |
Definition at line 818 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, and N3SQLCancel.
|
overridevirtual |
Definition at line 984 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 827 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 726 of file OResultSet.cxx.
References connectivity::checkDisposed(), dispose(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
void OResultSet::construct | ( | ) |
Definition at line 163 of file OResultSet.cxx.
References allocBuffer(), and m_refCount.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
|
overrideprotectedvirtual |
Implements comphelper::OPropertyArrayUsageHelper< OResultSet >.
Definition at line 1404 of file OResultSet.cxx.
References cppu::UnoType< typename T >::get(), dbtools::OPropertyMap::getNameByIndex(), connectivity::OMetaConnection::getPropMap(), PROPERTY_ID_CURSORNAME, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_ISBOOKMARKABLE, PROPERTY_ID_RESULTSETCONCURRENCY, and PROPERTY_ID_RESULTSETTYPE.
connectivity::odbc::OResultSet::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
Definition at line 964 of file OResultSet.cxx.
References getDriverPos(), connectivity::odbc::OStatement_Base::getOwnConnection(), m_aPosToBookmarks, m_aStatementHandle, m_bRowDeleted, m_pRowStatusArray, m_pSkipDeletedSet, m_pStatement, N3SQLSetPos, nPos, and connectivity::odbc::OTools::ThrowException().
|
overridevirtual |
|
overridevirtual |
Definition at line 170 of file OResultSet.cxx.
References comphelper::OPropertySetHelper::disposing(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_xMetaData, m_xStatement, N3SQLCloseCursor, and releaseBuffer().
|
protected |
Definition at line 376 of file OResultSet.cxx.
References end, i, m_aRow, and SAL_INFO.
Referenced by fillColumn(), and move().
|
protected |
Definition at line 1528 of file OResultSet.cxx.
References ensureCacheForColumn(), impl_getBookmark(), impl_getBoolean(), impl_getBytes(), impl_getDate(), impl_getLong(), impl_getString(), impl_getTime(), impl_getTimestamp(), m_aRow, m_bFetchDataInOrder, m_bWasNull, middle, nType, and SAL_WARN.
Referenced by getBookmark(), getBytes(), and getValue().
|
protected |
Definition at line 1789 of file OResultSet.cxx.
References aSeq, m_aRow, m_aStatementHandle, m_nTextEncoding, N3SQLParamData, N3SQLPutData, pq_sdbc_driver::OUStringToOString(), SAL_WARN, and SQL_WLONGVARCHAR.
Referenced by insertRow(), and updateRow().
|
overridevirtual |
Definition at line 354 of file OResultSet.cxx.
References connectivity::checkDisposed(), columnName, getMetaData(), i, cppu::BaseMutex::m_aMutex, and dbtools::throwInvalidColumnException().
|
overridevirtual |
Definition at line 737 of file OResultSet.cxx.
References connectivity::IResultSetHelper::FIRST, and moveImpl().
Referenced by beforeFirst().
|
overridevirtual |
Definition at line 598 of file OResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 405 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 611 of file OResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 1157 of file OResultSet.cxx.
References Any, fillColumn(), and m_aRow.
Referenced by updateRow().
|
overridevirtual |
Definition at line 473 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 478 of file OResultSet.cxx.
Definition at line 484 of file OResultSet.cxx.
References connectivity::checkDisposed(), fillColumn(), cppu::BaseMutex::m_aMutex, m_aRow, and m_bWasNull.
|
overridevirtual |
Definition at line 415 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 605 of file OResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
protected |
Definition at line 1335 of file OResultSet.cxx.
References m_aStatementHandle, N3SQLGetCursorName, and pName.
|
overridevirtual |
Definition at line 536 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 542 of file OResultSet.cxx.
|
overridevirtual |
Implements connectivity::IResultSetHelper.
Definition at line 1766 of file OResultSet.cxx.
References m_nRowPos, nValue, and SAL_INFO.
Referenced by deleteRow(), getRow(), and insertRow().
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
|
protectedvirtual |
Reimplemented from cppu::OPropertySetHelper.
|
protected |
|
inlinestaticprotected |
Definition at line 152 of file OResultSet.hxx.
|
protected |
Definition at line 1330 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 548 of file OResultSet.cxx.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 1449 of file OResultSet.cxx.
References comphelper::OPropertyArrayUsageHelper< OResultSet >::getArrayHelper().
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 558 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 563 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 587 of file OResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OStatement_Base::getOwnConnection(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_pStatement, and m_xMetaData.
Referenced by allocBuffer(), and findColumn().
|
overridevirtual |
|
inline |
Definition at line 234 of file OResultSet.hxx.
References connectivity::odbc::OStatement_Base::getOdbcFunction().
Referenced by insertRow(), OResultSet(), and updateRow().
|
overridevirtual |
Definition at line 1656 of file OResultSet.cxx.
References getInfoHelper().
|
overridevirtual |
Definition at line 618 of file OResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
protected |
Definition at line 1297 of file OResultSet.cxx.
References nValue.
|
protected |
Definition at line 1308 of file OResultSet.cxx.
References nValue.
|
overridevirtual |
Definition at line 579 of file OResultSet.cxx.
References connectivity::checkDisposed(), getDriverPos(), cppu::BaseMutex::m_aMutex, and m_pSkipDeletedSet.
|
overridevirtual |
Definition at line 553 of file OResultSet.cxx.
|
overridevirtual |
Definition at line 763 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_xStatement.
|
protected |
Definition at line 1283 of file OResultSet.cxx.
References m_aStatementHandle, N3SQLGetStmtAttr, and result.
|
overridevirtual |
Definition at line 636 of file OResultSet.cxx.
Referenced by impl_getLong().
|
overridevirtual |
Definition at line 648 of file OResultSet.cxx.
References Time.
|
overridevirtual |
Definition at line 667 of file OResultSet.cxx.
Definition at line 344 of file OResultSet.cxx.
References aTypes.
|
protected |
Definition at line 440 of file OResultSet.cxx.
References connectivity::checkDisposed(), fillColumn(), cppu::BaseMutex::m_aMutex, m_aRow, and m_bWasNull.
|
overridevirtual |
Definition at line 831 of file OResultSet.cxx.
References Any.
|
overridevirtual |
|
overridevirtual |
Definition at line 1245 of file OResultSet.cxx.
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1164 of file OResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OTools::getBytesValue(), connectivity::odbc::OStatement_Base::getOwnConnection(), m_aPosToBookmarks, m_aStatementHandle, m_bWasNull, m_nRowPos, m_nUseBookmarks, m_pStatement, and ODBC_SQL_NOT_DEFINED.
Referenced by fillColumn().
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 435 of file OResultSet.cxx.
Referenced by fillColumn().
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 507 of file OResultSet.cxx.
References connectivity::odbc::OTools::getBytesValue(), connectivity::odbc::OStatement_Base::getOwnConnection(), connectivity::odbc::OTools::getStringValue(), impl_getColumnType_nothrow(), m_aStatementHandle, m_bWasNull, m_nTextEncoding, m_pStatement, SQL_WCHAR, SQL_WLONGVARCHAR, and SQL_WVARCHAR.
Referenced by fillColumn().
|
protected |
Definition at line 1836 of file OResultSet.cxx.
References connectivity::odbc::OResultSetMetaData::getColumnODBCType(), connectivity::odbc::OStatement_Base::getOwnConnection(), m_aODBCColumnTypes, m_aStatementHandle, and m_pStatement.
Referenced by impl_getBytes(), and impl_getString().
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 528 of file OResultSet.cxx.
References connectivity::odbc::OStatement_Base::getOwnConnection(), m_pStatement, and connectivity::odbc::OConnection::useOldDateFormat().
Referenced by fillColumn().
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 567 of file OResultSet.cxx.
References getString().
Referenced by fillColumn().
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 630 of file OResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OStatement_Base::getOwnConnection(), connectivity::odbc::OTools::getStringValue(), impl_getColumnType_nothrow(), m_aStatementHandle, m_bWasNull, m_nTextEncoding, and m_pStatement.
Referenced by fillColumn().
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 641 of file OResultSet.cxx.
References connectivity::odbc::OStatement_Base::getOwnConnection(), m_pStatement, Time, and connectivity::odbc::OConnection::useOldDateFormat().
Referenced by fillColumn().
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 653 of file OResultSet.cxx.
References connectivity::odbc::OStatement_Base::getOwnConnection(), m_pStatement, and connectivity::odbc::OConnection::useOldDateFormat().
Referenced by fillColumn().
|
protected |
Definition at line 425 of file OResultSet.cxx.
References connectivity::odbc::OStatement_Base::getOwnConnection(), connectivity::odbc::OTools::getValue(), m_aStatementHandle, m_bWasNull, m_pStatement, and nType.
|
overridevirtual |
Definition at line 836 of file OResultSet.cxx.
References Any, BulkOperations, connectivity::checkDisposed(), fillNeededData(), getDriverPos(), getOdbcFunction(), connectivity::odbc::OStatement_Base::getOwnConnection(), isBeforeFirst(), cppu::BaseMutex::m_aMutex, m_aPosToBookmarks, m_aStatementHandle, m_bRowInserted, m_nRowPos, m_pSkipDeletedSet, m_pStatement, o3tl::make_unsigned(), moveToBookmark(), N3SQLBindCol, N3SQLBulkOperations, N3SQLFetchScroll, N3SQLSetPos, next(), connectivity::odbc::OTools::ThrowException(), and unbind().
|
protected |
Definition at line 397 of file OResultSet.cxx.
References m_aRow.
Referenced by move(), moveToCurrentRow(), moveToInsertRow(), and updateRow().
|
overridevirtual |
Definition at line 679 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nCurrentFetchState, and m_nRowPos.
|
overridevirtual |
Definition at line 672 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPos.
Referenced by insertRow().
|
protected |
Definition at line 1343 of file OResultSet.cxx.
References Exception, connectivity::odbc::OTools::GetInfo(), connectivity::odbc::OStatement_Base::getOwnConnection(), m_aConnectionHandle, m_nUseBookmarks, m_pStatement, and ODBC_SQL_NOT_DEFINED.
|
overridevirtual |
Definition at line 687 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPos.
|
overridevirtual |
Definition at line 695 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_bEOF, and m_nCurrentFetchState.
|
overridevirtual |
Implements connectivity::IResultSetHelper.
Definition at line 1775 of file OResultSet.cxx.
References m_pRowStatusArray.
|
overridevirtual |
Definition at line 743 of file OResultSet.cxx.
References connectivity::IResultSetHelper::LAST, and moveImpl().
Referenced by afterLast().
|
overridevirtual |
Implements connectivity::IResultSetHelper.
Definition at line 1661 of file OResultSet.cxx.
References _nOffset, connectivity::IResultSetHelper::ABSOLUTE1, Any, connectivity::IResultSetHelper::BOOKMARK, ensureCacheForColumn(), connectivity::IResultSetHelper::FIRST, connectivity::odbc::OTools::getBytesValue(), connectivity::odbc::OStatement_Base::getOwnConnection(), invalidateCache(), connectivity::IResultSetHelper::LAST, m_aPosToBookmarks, m_aRow, m_aStatementHandle, m_bEOF, m_bUseFetchScroll, m_bWasNull, m_nCurrentFetchState, m_nRowPos, m_nUseBookmarks, m_pStatement, moveToBookmark(), N3SQLFetch, N3SQLFetchScroll, connectivity::IResultSetHelper::NEXT, ODBC_SQL_NOT_DEFINED, connectivity::IResultSetHelper::PRIOR, connectivity::IResultSetHelper::RELATIVE1, SAL_INFO, SAL_WARN, and connectivity::odbc::OTools::ThrowException().
Referenced by moveImpl().
|
protected |
Definition at line 1780 of file OResultSet.cxx.
References _nOffset, connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_pSkipDeletedSet, and move().
Referenced by absolute(), first(), last(), next(), previous(), and relative().
|
overridevirtual |
|
overridevirtual |
Referenced by insertRow(), and move().
|
overridevirtual |
Definition at line 1002 of file OResultSet.cxx.
References invalidateCache().
|
overridevirtual |
Definition at line 989 of file OResultSet.cxx.
References connectivity::checkDisposed(), invalidateCache(), cppu::BaseMutex::m_aMutex, and unbind().
|
overridevirtual |
Definition at line 803 of file OResultSet.cxx.
References moveImpl(), and connectivity::IResultSetHelper::NEXT.
Referenced by afterLast(), and insertRow().
|
inline |
Definition at line 239 of file OResultSet.hxx.
|
overridevirtual |
Definition at line 758 of file OResultSet.cxx.
References moveImpl(), and connectivity::IResultSetHelper::PRIOR.
Referenced by beforeFirst().
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
|
overridevirtual |
Definition at line 1132 of file OResultSet.cxx.
References connectivity::checkDisposed(), connectivity::odbc::OStatement_Base::getOwnConnection(), cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_nCurrentFetchState, m_pStatement, N3SQLFetchScroll, and connectivity::odbc::OTools::ThrowException().
|
overridevirtual |
Definition at line 753 of file OResultSet.cxx.
References moveImpl(), and connectivity::IResultSetHelper::RELATIVE1.
|
overridevirtualnoexcept |
Definition at line 1651 of file OResultSet.cxx.
|
protected |
Definition at line 332 of file OResultSet.cxx.
References m_aLengthVector, and unbind().
Referenced by disposing().
|
overridevirtual |
Definition at line 771 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bRowDeleted.
|
overridevirtual |
Definition at line 782 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bRowInserted.
|
overridevirtual |
Definition at line 793 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_pRowStatusArray.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
|
protected |
Definition at line 1381 of file OResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
protected |
Definition at line 1392 of file OResultSet.cxx.
References m_pRowStatusArray.
|
inline |
Definition at line 244 of file OResultSet.hxx.
|
protected |
Definition at line 1290 of file OResultSet.cxx.
References m_aStatementHandle, N3SQLSetStmtAttr, and value.
|
protected |
Definition at line 183 of file OResultSet.cxx.
References m_aBindVector, m_aStatementHandle, and N3SQLFreeStmt.
Referenced by insertRow(), moveToInsertRow(), releaseBuffer(), and updateRow().
|
overridevirtual |
|
overridevirtual |
Definition at line 1039 of file OResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 1044 of file OResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 1071 of file OResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 1065 of file OResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 1055 of file OResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 1060 of file OResultSet.cxx.
References dbtools::throwFunctionNotSupportedSQLException().
|
overridevirtual |
Definition at line 1028 of file OResultSet.cxx.
References allocBindColumn(), connectivity::odbc::OTools::bindValue(), connectivity::checkDisposed(), connectivity::odbc::OStatement_Base::getOwnConnection(), m_aBindVector, m_aLengthVector, cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_nTextEncoding, m_pStatement, pData, and connectivity::odbc::OConnection::useOldDateFormat().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 912 of file OResultSet.cxx.
References BulkOperations, connectivity::checkDisposed(), fillNeededData(), getBookmark(), getOdbcFunction(), connectivity::odbc::OStatement_Base::getOwnConnection(), invalidateCache(), cppu::BaseMutex::m_aMutex, m_aRow, m_aStatementHandle, m_pStatement, N3SQLBindCol, N3SQLBulkOperations, N3SQLSetPos, connectivity::odbc::OTools::ThrowException(), and unbind().
|
overridevirtual |
Definition at line 1050 of file OResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 1076 of file OResultSet.cxx.
References connectivity::odbc::OTools::jdbcTypeToOdbc(), m_aRow, nType, updateValue(), and x.
|
overridevirtual |
Definition at line 1103 of file OResultSet.cxx.
References connectivity::odbc::OTools::TimeToOdbcTime(), updateValue(), and x.
|
overridevirtual |
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 1007 of file OResultSet.cxx.
References allocBindColumn(), connectivity::odbc::OTools::bindValue(), connectivity::checkDisposed(), connectivity::odbc::OStatement_Base::getOwnConnection(), m_aBindVector, m_aLengthVector, cppu::BaseMutex::m_aMutex, m_aStatementHandle, m_nTextEncoding, m_pStatement, connectivity::odbc::OTools::MapOdbcType2Jdbc(), pData, and connectivity::odbc::OConnection::useOldDateFormat().
Referenced by updateBoolean(), updateByte(), updateDouble(), updateFloat(), updateInt(), updateShort(), updateString(), and updateTime().
|
overridevirtual |
Definition at line 809 of file OResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bWasNull.
|
protected |
Definition at line 117 of file OResultSet.hxx.
Referenced by allocBuffer(), unbind(), updateNull(), and updateValue().
|
protected |
Definition at line 133 of file OResultSet.hxx.
Referenced by isBookmarkable(), and OResultSet().
|
protected |
Definition at line 118 of file OResultSet.hxx.
Referenced by allocBuffer(), releaseBuffer(), updateNull(), and updateValue().
|
protected |
Definition at line 119 of file OResultSet.hxx.
Referenced by impl_getColumnType_nothrow().
|
protected |
Definition at line 113 of file OResultSet.hxx.
Referenced by deleteRow(), impl_getBookmark(), insertRow(), and move().
|
protected |
Definition at line 130 of file OResultSet.hxx.
Referenced by allocBindColumn(), allocBuffer(), ensureCacheForColumn(), fillColumn(), fillNeededData(), getBookmark(), getBytes(), getValue(), invalidateCache(), move(), updateRow(), and updateString().
|
protected |
Definition at line 132 of file OResultSet.hxx.
Referenced by cancel(), deleteRow(), disposing(), fillNeededData(), getCursorName(), getMetaData(), getStmtOption(), impl_getBookmark(), impl_getBytes(), impl_getColumnType_nothrow(), impl_getString(), impl_getValue(), insertRow(), move(), refreshRow(), setStmtOption(), unbind(), updateNull(), updateRow(), and updateValue().
|
protected |
Definition at line 144 of file OResultSet.hxx.
Referenced by afterLast(), isLast(), and move().
|
protected |
Definition at line 131 of file OResultSet.hxx.
Referenced by fillColumn(), and OResultSet().
|
protected |
Definition at line 146 of file OResultSet.hxx.
Referenced by deleteRow(), and rowDeleted().
|
protected |
Definition at line 145 of file OResultSet.hxx.
Referenced by insertRow(), and rowInserted().
|
protected |
Definition at line 147 of file OResultSet.hxx.
Referenced by move(), and OResultSet().
|
protected |
Definition at line 143 of file OResultSet.hxx.
Referenced by fillColumn(), getBytes(), getValue(), impl_getBookmark(), impl_getBytes(), impl_getString(), impl_getValue(), move(), and wasNull().
|
protected |
Definition at line 142 of file OResultSet.hxx.
Referenced by beforeFirst(), isAfterLast(), isLast(), move(), and refreshRow().
|
protected |
Definition at line 140 of file OResultSet.hxx.
Referenced by getDriverPos(), impl_getBookmark(), insertRow(), isAfterLast(), isBeforeFirst(), isFirst(), and move().
|
protected |
Definition at line 139 of file OResultSet.hxx.
Referenced by fillNeededData(), impl_getBytes(), impl_getString(), updateNull(), and updateValue().
|
mutableprotected |
Definition at line 141 of file OResultSet.hxx.
Referenced by impl_getBookmark(), isBookmarkable(), and move().
|
protected |
Definition at line 138 of file OResultSet.hxx.
Referenced by deleteRow(), isRowDeleted(), OResultSet(), rowUpdated(), and setFetchSize().
|
protected |
Definition at line 135 of file OResultSet.hxx.
Referenced by deleteRow(), getRow(), insertRow(), moveImpl(), and OResultSet().
|
protected |
Definition at line 134 of file OResultSet.hxx.
Referenced by deleteRow(), getMetaData(), impl_getBookmark(), impl_getBytes(), impl_getColumnType_nothrow(), impl_getDate(), impl_getString(), impl_getTime(), impl_getTimestamp(), impl_getValue(), insertRow(), isBookmarkable(), move(), OResultSet(), refreshRow(), updateNull(), updateRow(), and updateValue().
|
protected |
Definition at line 137 of file OResultSet.hxx.
Referenced by disposing(), and getMetaData().
|
protected |
Definition at line 136 of file OResultSet.hxx.
Referenced by disposing(), and getStatement().