31#include <com/sun/star/util/XCancellable.hpp>
32#include <com/sun/star/sdbc/XCloseable.hpp>
33#include <com/sun/star/sdbc/XColumnLocate.hpp>
34#include <com/sun/star/sdbc/XResultSet.hpp>
35#include <com/sun/star/sdbc/XRow.hpp>
36#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
43 typedef ::cppu::WeakComponentImplHelper< css::sdbc::XResultSet,
45 css::sdbc::XResultSetMetaDataSupplier,
46 css::util::XCancellable,
47 css::sdbc::XCloseable,
48 css::sdbc::XColumnLocate,
74 css::uno::Reference< css::sdbc::XResultSetMetaData>
m_xMetaData;
87 bool isNull(
const sal_Int32 nColumnIndex);
90 const sal_Int32 nColumnIndex);
93 const ISC_SHORT nType);
96 const sal_Int32 nColumnIndex,
97 const ISC_SHORT nType = 0);
116 ::osl::Mutex& rMutex,
117 const css::uno::Reference< css::uno::XInterface >& xStatement,
118 isc_stmt_handle aStatementHandle,
124 const css::uno::Type& rType)
override;
125 virtual void SAL_CALL
acquire() noexcept override;
126 virtual
void SAL_CALL
release() noexcept override;
141 virtual sal_Int32 SAL_CALL
getRow( ) override;
152 virtual OUString SAL_CALL
getString( sal_Int32 columnIndex ) override;
155 virtual sal_Int16 SAL_CALL
getShort( sal_Int32 columnIndex ) override;
156 virtual sal_Int32 SAL_CALL
getInt( sal_Int32 columnIndex ) override;
157 virtual sal_Int64 SAL_CALL
getLong( sal_Int32 columnIndex ) override;
158 virtual
float SAL_CALL
getFloat( sal_Int32 columnIndex ) override;
159 virtual
double SAL_CALL
getDouble( sal_Int32 columnIndex ) override;
161 virtual css::util::
Date SAL_CALL
getDate( sal_Int32 columnIndex ) override;
162 virtual css::util::Time SAL_CALL
getTime( sal_Int32 columnIndex ) override;
164 virtual css::
uno::Reference< css::io::XInputStream > SAL_CALL
getBinaryStream( sal_Int32 columnIndex ) override;
166 virtual css::
uno::Any SAL_CALL
getObject( sal_Int32 columnIndex, const css::
uno::Reference< css::container::XNameAccess >& typeMap ) override;
167 virtual css::
uno::Reference< css::sdbc::XRef > SAL_CALL
getRef( sal_Int32 columnIndex ) override;
168 virtual css::
uno::Reference< css::sdbc::XBlob > SAL_CALL
getBlob( sal_Int32 columnIndex ) override;
169 virtual css::
uno::Reference< css::sdbc::XClob > SAL_CALL
getClob( sal_Int32 columnIndex ) override;
170 virtual css::
uno::Reference< css::sdbc::XArray > SAL_CALL
getArray( sal_Int32 columnIndex ) override;
172 virtual css::
uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL
getMetaData( ) override;
174 virtual
void SAL_CALL
cancel( ) override;
176 virtual
void SAL_CALL
close( ) override;
185 template <> css::util::
Date
187 const sal_Int32 nColumnIndex,
188 const ISC_SHORT nType);
191 const sal_Int32 nColumnIndex,
192 const ISC_SHORT nType);
193 template <> css::util::Time
195 const sal_Int32 nColumnIndex,
196 const ISC_SHORT nType);
199 const sal_Int32 nColumnIndex,
200 const ISC_SHORT nType);
201 template <> ISC_QUAD*
203 const sal_Int32 nColumnIndex,
204 const ISC_SHORT nType);
207 const sal_Int32 nColumnIndex,
208 const ISC_SHORT nType);
209 template <> ISC_QUAD*
211 const sal_Int32 nColumnIndex,
212 const ISC_SHORT nType);
This ResultSet does not deal with the management of the SQLDA it is supplied with.
virtual ~OResultSet() override
virtual sal_Bool SAL_CALL rowUpdated() override
virtual sal_Int32 SAL_CALL getRow() override
virtual sal_Int32 SAL_CALL findColumn(const OUString &columnName) override
virtual sal_Bool SAL_CALL getBoolean(sal_Int32 columnIndex) override
virtual sal_Bool SAL_CALL relative(sal_Int32 rows) override
virtual sal_Bool SAL_CALL first() override
sal_Int32 m_nResultSetConcurrency
virtual sal_Int16 SAL_CALL getShort(sal_Int32 columnIndex) override
virtual void SAL_CALL beforeFirst() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBytes(sal_Int32 columnIndex) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray(sal_Int32 columnIndex) override
OUString makeNumericString(const sal_Int32 nColumnIndex)
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
isc_stmt_handle m_statementHandle
virtual sal_Bool SAL_CALL wasNull() override
virtual sal_Int64 SAL_CALL getLong(sal_Int32 columnIndex) override
virtual css::util::Time SAL_CALL getTime(sal_Int32 columnIndex) override
virtual sal_Bool SAL_CALL last() override
virtual css::util::Date SAL_CALL getDate(sal_Int32 columnIndex) override
virtual sal_Bool SAL_CALL isBeforeFirst() override
const css::uno::Reference< css::uno::XInterface > & m_xStatement
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream(sal_Int32 columnIndex) override
virtual float SAL_CALL getFloat(sal_Int32 columnIndex) override
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob(sal_Int32 columnIndex) override
const sal_Int32 m_fieldCount
OResultSet(Connection *pConnection, ::osl::Mutex &rMutex, const css::uno::Reference< css::uno::XInterface > &xStatement, isc_stmt_handle aStatementHandle, XSQLDA *aSqlda)
virtual sal_Int32 SAL_CALL getInt(sal_Int32 columnIndex) override
virtual void SAL_CALL release() noexcept override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
bool isNull(const sal_Int32 nColumnIndex)
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob(sal_Int32 columnIndex) override
virtual void SAL_CALL cancel() override
T retrieveValue(const sal_Int32 nColumnIndex, const ISC_SHORT nType)
virtual sal_Bool SAL_CALL previous() override
virtual css::util::DateTime SAL_CALL getTimestamp(sal_Int32 columnIndex) override
virtual sal_Bool SAL_CALL rowInserted() override
virtual void SAL_CALL close() override
virtual void SAL_CALL afterLast() override
virtual sal_Bool SAL_CALL rowDeleted() override
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData() override
virtual sal_Bool SAL_CALL isFirst() override
virtual void SAL_CALL acquire() noexcept override
void checkColumnIndex(sal_Int32 index)
ISC_STATUS_ARRAY m_statusVector
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData
sal_Int32 m_nFetchDirection
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream(sal_Int32 columnIndex) override
Connection * m_pConnection
T safelyRetrieveValue(const sal_Int32 nColumnIndex, const ISC_SHORT nType=0)
virtual double SAL_CALL getDouble(sal_Int32 columnIndex) override
virtual sal_Bool SAL_CALL absolute(sal_Int32 row) override
virtual sal_Bool SAL_CALL isAfterLast() override
virtual css::uno::Any SAL_CALL getObject(sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override
virtual OUString SAL_CALL getString(sal_Int32 columnIndex) override
sal_Int32 m_nResultSetType
virtual sal_Bool SAL_CALL isLast() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual sal_Int8 SAL_CALL getByte(sal_Int32 columnIndex) override
virtual sal_Bool SAL_CALL next() override
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL getRef(sal_Int32 columnIndex) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual void SAL_CALL refreshRow() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getStatement() override
::cppu::WeakComponentImplHelper< css::sdbc::XResultSet, css::sdbc::XRow, css::sdbc::XResultSetMetaDataSupplier, css::util::XCancellable, css::sdbc::XCloseable, css::sdbc::XColumnLocate, css::lang::XServiceInfo > OResultSet_BASE