LibreOffice Module connectivity (master) 1
|
This ResultSet does not deal with the management of the SQLDA it is supplied with. More...
#include <ResultSet.hxx>
Public Member Functions | |
DECLARE_SERVICE_INFO () | |
OResultSet (Connection *pConnection, ::osl::Mutex &rMutex, const css::uno::Reference< css::uno::XInterface > &xStatement, isc_stmt_handle aStatementHandle, XSQLDA *aSqlda) | |
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 sal_Int32 SAL_CALL | findColumn (const OUString &columnName) override |
template<typename T > | |
OUString | makeNumericString (const sal_Int32 nColumnIndex) |
template<typename T > | |
T | retrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT nType) |
template<> | |
ORowSetValue | retrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT) |
template<> | |
Date | retrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT) |
template<> | |
Time | retrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT) |
template<> | |
DateTime | retrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT) |
template<> | |
OUString | retrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT) |
template<> | |
ISC_QUAD * | retrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT nType) |
template<typename T > | |
T | safelyRetrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT nType) |
![]() | |
virtual | ~OPropertyContainer () |
![]() | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
bool | isNull (const sal_Int32 nColumnIndex) |
template<typename T > | |
OUString | makeNumericString (const sal_Int32 nColumnIndex) |
template<typename T > | |
T | retrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT nType) |
template<typename T > | |
T | safelyRetrieveValue (const sal_Int32 nColumnIndex, const ISC_SHORT nType=0) |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
void | checkColumnIndex (sal_Int32 index) |
void | checkRowIndex () |
virtual | ~OResultSet () override |
![]() | |
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 |
![]() | |
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 Attributes | |
Connection * | m_pConnection |
::osl::Mutex & | m_rMutex |
const css::uno::Reference< css::uno::XInterface > & | m_xStatement |
css::uno::Reference< css::sdbc::XResultSetMetaData > | m_xMetaData |
XSQLDA * | m_pSqlda |
isc_stmt_handle | m_statementHandle |
bool | m_bWasNull |
sal_Int32 | m_currentRow |
bool | m_bIsAfterLastRow |
const sal_Int32 | m_fieldCount |
ISC_STATUS_ARRAY | m_statusVector |
Private Attributes | |
bool | m_bIsBookmarkable |
sal_Int32 | m_nFetchSize |
sal_Int32 | m_nResultSetType |
sal_Int32 | m_nFetchDirection |
sal_Int32 | m_nResultSetConcurrency |
Additional Inherited Members | |
![]() | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
![]() | |
static std::mutex & | theMutex () |
![]() | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
This ResultSet does not deal with the management of the SQLDA it is supplied with.
The owner must mange its SQLDA appropriately and ensure that the ResultSet is destroyed before disposing of the SQLDA.
Definition at line 57 of file drivers/firebird/ResultSet.hxx.
|
overrideprotectedvirtual |
connectivity::firebird::OResultSet::OResultSet | ( | Connection * | pConnection, |
::osl::Mutex & | rMutex, | ||
const css::uno::Reference< css::uno::XInterface > & | xStatement, | ||
isc_stmt_handle | aStatementHandle, | ||
XSQLDA * | aSqlda | ||
) |
|
overridevirtual |
|
overridevirtualnoexcept |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
|
overridevirtual |
|
overrideprotectedvirtual |
connectivity::firebird::OResultSet::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overrideprotected |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
protected |
Definition at line 358 of file firebird/ResultSet.cxx.
|
overridevirtual |
OUString connectivity::firebird::OResultSet::makeNumericString | ( | const sal_Int32 | nColumnIndex | ) |
Definition at line 372 of file firebird/ResultSet.cxx.
References i, and connectivity::firebird::pow10Integer().
|
protected |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtualnoexcept |
T connectivity::firebird::OResultSet::retrieveValue | ( | const sal_Int32 | nColumnIndex, |
const ISC_SHORT | nType | ||
) |
Definition at line 424 of file firebird/ResultSet.cxx.
References connectivity::ORowSetValue::getBool(), connectivity::ORowSetValue::getDouble(), connectivity::ORowSetValue::getFloat(), connectivity::ORowSetValue::getInt16(), connectivity::ORowSetValue::getInt32(), connectivity::ORowSetValue::getLong(), and nType.
ISC_QUAD * connectivity::firebird::OResultSet::retrieveValue | ( | const sal_Int32 | nColumnIndex, |
const ISC_SHORT | nType | ||
) |
Definition at line 639 of file firebird/ResultSet.cxx.
References nType.
|
protected |
ISC_QUAD * connectivity::firebird::OResultSet::retrieveValue | ( | const sal_Int32 | nColumnIndex, |
const | ISC_SHORT | ||
) |
Definition at line 453 of file firebird/ResultSet.cxx.
References getDouble(), getFloat(), and getString().
Date connectivity::firebird::OResultSet::retrieveValue | ( | const sal_Int32 | nColumnIndex, |
const | ISC_SHORT | ||
) |
Definition at line 517 of file firebird/ResultSet.cxx.
References tm.
Time connectivity::firebird::OResultSet::retrieveValue | ( | const sal_Int32 | nColumnIndex, |
const | ISC_SHORT | ||
) |
Definition at line 535 of file firebird/ResultSet.cxx.
DateTime connectivity::firebird::OResultSet::retrieveValue | ( | const sal_Int32 | nColumnIndex, |
const | ISC_SHORT | ||
) |
Definition at line 558 of file firebird/ResultSet.cxx.
References tm.
OUString connectivity::firebird::OResultSet::retrieveValue | ( | const sal_Int32 | nColumnIndex, |
const | ISC_SHORT | ||
) |
Definition at line 584 of file firebird/ResultSet.cxx.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
T connectivity::firebird::OResultSet::safelyRetrieveValue | ( | const sal_Int32 | nColumnIndex, |
const ISC_SHORT | nType | ||
) |
Definition at line 649 of file firebird/ResultSet.cxx.
References connectivity::checkDisposed(), m_rMutex, and nType.
|
protected |
|
overridevirtual |
|
protected |
Definition at line 82 of file drivers/firebird/ResultSet.hxx.
|
private |
Definition at line 62 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 79 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 81 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 84 of file drivers/firebird/ResultSet.hxx.
|
private |
Definition at line 65 of file drivers/firebird/ResultSet.hxx.
|
private |
Definition at line 63 of file drivers/firebird/ResultSet.hxx.
|
private |
Definition at line 66 of file drivers/firebird/ResultSet.hxx.
|
private |
Definition at line 64 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 70 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 76 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 71 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 77 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 85 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 74 of file drivers/firebird/ResultSet.hxx.
|
protected |
Definition at line 72 of file drivers/firebird/ResultSet.hxx.