26#include <com/sun/star/sdbc/XResultSet.hpp>
27#include <com/sun/star/sdbc/XRow.hpp>
28#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
29#include <com/sun/star/sdbc/XCloseable.hpp>
30#include <com/sun/star/sdbc/XColumnLocate.hpp>
31#include <com/sun/star/util/XCancellable.hpp>
32#include <com/sun/star/lang/XInitialization.hpp>
33#include <com/sun/star/lang/XServiceInfo.hpp>
34#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
44 typedef ::cppu::WeakComponentImplHelper< css::sdbc::XResultSet,
46 css::sdbc::XResultSetMetaDataSupplier,
47 css::util::XCancellable,
48 css::sdbc::XWarningsSupplier,
49 css::sdbc::XCloseable,
50 css::lang::XInitialization,
51 css::lang::XServiceInfo,
65 typedef std::vector<ORowSetValueDecoratorRef>
ORow;
66 typedef std::vector<ORow>
ORows;
75 eColumnPrivileges = 2,
83 eProcedureColumns = 6,
95 eTablePrivileges = 12,
101 eBestRowIdentifier = 15,
103 eVersionColumns = 16,
121 void checkIndex(sal_Int32 columnIndex );
133 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( )
const override;
135 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper()
override;
140 virtual void SAL_CALL acquire() noexcept override;
141 virtual
void SAL_CALL release() noexcept override;
148 void setRows(
ORows&& _rRows);
153 virtual OUString SAL_CALL getImplementationName( ) override;
154 virtual
sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
155 virtual css::
uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
157 virtual
void SAL_CALL disposing() override;
159 virtual css::
uno::Any SAL_CALL queryInterface( const css::
uno::
Type & rType ) override;
161 virtual css::
uno::Sequence< css::
uno::
Type > SAL_CALL getTypes( ) override;
163 virtual css::
uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
165 virtual
sal_Bool SAL_CALL next( ) override;
166 virtual
sal_Bool SAL_CALL isBeforeFirst( ) override;
167 virtual
sal_Bool SAL_CALL isAfterLast( ) override;
168 virtual
sal_Bool SAL_CALL isFirst( ) override;
169 virtual
sal_Bool SAL_CALL isLast( ) override;
170 virtual
void SAL_CALL beforeFirst( ) override;
171 virtual
void SAL_CALL afterLast( ) override;
172 virtual
sal_Bool SAL_CALL first( ) override;
173 virtual
sal_Bool SAL_CALL last( ) override;
174 virtual sal_Int32 SAL_CALL getRow( ) override;
175 virtual
sal_Bool SAL_CALL absolute( sal_Int32 row ) override;
176 virtual
sal_Bool SAL_CALL relative( sal_Int32 rows ) override;
177 virtual
sal_Bool SAL_CALL previous( ) override;
178 virtual
void SAL_CALL refreshRow( ) override;
179 virtual
sal_Bool SAL_CALL rowUpdated( ) override;
180 virtual
sal_Bool SAL_CALL rowInserted( ) override;
181 virtual
sal_Bool SAL_CALL rowDeleted( ) override;
182 virtual css::
uno::Reference< css::
uno::
XInterface > SAL_CALL getStatement( ) override;
184 virtual
sal_Bool SAL_CALL wasNull( ) override;
185 virtual OUString SAL_CALL getString( sal_Int32 columnIndex ) override;
186 virtual
sal_Bool SAL_CALL getBoolean( sal_Int32 columnIndex ) override;
187 virtual
sal_Int8 SAL_CALL getByte( sal_Int32 columnIndex ) override;
188 virtual sal_Int16 SAL_CALL getShort( sal_Int32 columnIndex ) override;
189 virtual sal_Int32 SAL_CALL getInt( sal_Int32 columnIndex ) override;
190 virtual sal_Int64 SAL_CALL getLong( sal_Int32 columnIndex ) override;
191 virtual
float SAL_CALL getFloat( sal_Int32 columnIndex ) override;
192 virtual
double SAL_CALL getDouble( sal_Int32 columnIndex ) override;
193 virtual css::
uno::Sequence<
sal_Int8 > SAL_CALL getBytes( sal_Int32 columnIndex ) override;
194 virtual css::util::
Date SAL_CALL getDate( sal_Int32 columnIndex ) override;
195 virtual css::util::Time SAL_CALL getTime( sal_Int32 columnIndex ) override;
196 virtual css::util::
DateTime SAL_CALL getTimestamp( sal_Int32 columnIndex ) override;
197 virtual css::
uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream( sal_Int32 columnIndex ) override;
198 virtual css::
uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream( sal_Int32 columnIndex ) override;
199 virtual css::
uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const css::
uno::Reference< css::container::XNameAccess >& typeMap ) override;
200 virtual css::
uno::Reference< css::sdbc::XRef > SAL_CALL getRef( sal_Int32 columnIndex ) override;
201 virtual css::
uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob( sal_Int32 columnIndex ) override;
202 virtual css::
uno::Reference< css::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex ) override;
203 virtual css::
uno::Reference< css::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) override;
205 virtual css::
uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData( ) override;
207 virtual
void SAL_CALL cancel( ) override;
209 virtual
void SAL_CALL close( ) override;
211 virtual css::
uno::Any SAL_CALL getWarnings( ) override;
212 virtual
void SAL_CALL clearWarnings( ) override;
214 virtual sal_Int32 SAL_CALL findColumn( const OUString&
columnName ) override;
217 virtual
void SAL_CALL initialize( const css::
uno::Sequence< css::
uno::Any >& aArguments ) override;
219 void setCatalogsMap();
220 void setSchemasMap();
221 void setColumnPrivilegesMap();
222 void setColumnsMap();
224 void setTableTypes();
225 void setProcedureColumnsMap();
226 void setProceduresMap();
227 void setExportedKeysMap();
228 void setImportedKeysMap();
229 void setPrimaryKeysMap();
230 void setIndexInfoMap();
231 void setTablePrivilegesMap();
232 void setCrossReferenceMap();
233 void setTypeInfoMap();
234 void setBestRowIdentifierMap();
235 void setVersionColumnsMap();
static bool getValue(EContact *pContact, sal_Int32 nColumnNum, GType nType, GValue *pStackValue, bool &_out_rWasNull)
::cppu::WeakComponentImplHelper< css::sdbc::XResultSet, css::sdbc::XRow, css::sdbc::XResultSetMetaDataSupplier, css::util::XCancellable, css::sdbc::XWarningsSupplier, css::sdbc::XCloseable, css::lang::XInitialization, css::lang::XServiceInfo, css::sdbc::XColumnLocate > ODatabaseMetaDataResultSet_BASE