LCOV - code coverage report
Current view: top level - connectivity/source/inc/odbc - OResultSet.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 23 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 5 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ODBC_ORESULTSET_HXX
      21             : #define INCLUDED_CONNECTIVITY_SOURCE_INC_ODBC_ORESULTSET_HXX
      22             : 
      23             : #include <com/sun/star/sdbc/FetchDirection.hpp>
      24             : #include <com/sun/star/sdbc/XResultSet.hpp>
      25             : #include <com/sun/star/sdbc/XRow.hpp>
      26             : #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
      27             : #include <com/sun/star/sdbc/XCloseable.hpp>
      28             : #include <com/sun/star/sdbc/XColumnLocate.hpp>
      29             : #include <com/sun/star/util/XCancellable.hpp>
      30             : #include <com/sun/star/sdbc/XWarningsSupplier.hpp>
      31             : #include <com/sun/star/sdbc/XResultSetUpdate.hpp>
      32             : #include <com/sun/star/sdbc/XRowUpdate.hpp>
      33             : #include <com/sun/star/sdbcx/XRowLocate.hpp>
      34             : #include <com/sun/star/sdbcx/XDeleteRows.hpp>
      35             : #include <cppuhelper/compbase12.hxx>
      36             : #include <comphelper/proparrhlp.hxx>
      37             : #include "odbc/OFunctions.hxx"
      38             : #include "odbc/OStatement.hxx"
      39             : #include "odbc/odbcbasedllapi.hxx"
      40             : #include <connectivity/CommonTools.hxx>
      41             : #include <connectivity/FValue.hxx>
      42             : #include "TSkipDeletedSet.hxx"
      43             : 
      44             : namespace connectivity
      45             : {
      46             :     namespace odbc
      47             :     {
      48             : 
      49             :         /*
      50             :         **  java_sql_ResultSet
      51             :         */
      52             :         typedef ::cppu::WeakComponentImplHelper12<      ::com::sun::star::sdbc::XResultSet,
      53             :                                                         ::com::sun::star::sdbc::XRow,
      54             :                                                         ::com::sun::star::sdbc::XResultSetMetaDataSupplier,
      55             :                                                         ::com::sun::star::util::XCancellable,
      56             :                                                         ::com::sun::star::sdbc::XWarningsSupplier,
      57             :                                                         ::com::sun::star::sdbc::XResultSetUpdate,
      58             :                                                         ::com::sun::star::sdbc::XRowUpdate,
      59             :                                                         ::com::sun::star::sdbcx::XRowLocate,
      60             :                                                         ::com::sun::star::sdbcx::XDeleteRows,
      61             :                                                         ::com::sun::star::sdbc::XCloseable,
      62             :                                                         ::com::sun::star::sdbc::XColumnLocate,
      63             :                                                         ::com::sun::star::lang::XServiceInfo> OResultSet_BASE;
      64             : 
      65             : 
      66             :         typedef ::std::pair<sal_Int64,sal_Int32> TVoidPtr;
      67             :         typedef ::std::allocator< TVoidPtr > TVoidAlloc;
      68             :         typedef ::std::vector<TVoidPtr> TVoidVector;
      69             :         //  typedef ::com::sun::star::uno::Sequence<TVoidPtr> TVoidVector;
      70             :         /// unary_function Functor object for class ZZ returntype is void
      71             :         struct OOO_DLLPUBLIC_ODBCBASE TBookmarkPosMapCompare : ::std::binary_function< ::com::sun::star::uno::Sequence<sal_Int8>, ::com::sun::star::uno::Sequence<sal_Int8>, bool >
      72             :         {
      73           0 :             inline bool operator()( const ::com::sun::star::uno::Sequence<sal_Int8>& _rLH,
      74             :                                     const ::com::sun::star::uno::Sequence<sal_Int8>& _rRH) const
      75             :             {
      76           0 :                 if(_rLH.getLength() == _rRH.getLength())
      77             :                 {
      78           0 :                     sal_Int32 nCount = _rLH.getLength();
      79           0 :                     if(nCount != 4)
      80             :                     {
      81           0 :                         const sal_Int8* pLHBack = _rLH.getConstArray() + nCount - 1;
      82           0 :                         const sal_Int8* pRHBack = _rRH.getConstArray() + nCount - 1;
      83             : 
      84             :                         sal_Int32 i;
      85           0 :                         for(i=0;i < nCount;++i,--pLHBack,--pRHBack)
      86             :                         {
      87           0 :                             if(!(*pLHBack) && *pRHBack)
      88           0 :                                 return true;
      89           0 :                             else if(*pLHBack && !(*pRHBack))
      90           0 :                                 return false;
      91             :                         }
      92           0 :                         for(i=0,++pLHBack,++pRHBack;i < nCount;++pLHBack,++pRHBack,++i)
      93           0 :                             if(*pLHBack < *pRHBack)
      94           0 :                                 return true;
      95           0 :                         return false;
      96             :                     }
      97             :                     else
      98           0 :                         return *reinterpret_cast<const sal_Int32*>(_rLH.getConstArray()) < *reinterpret_cast<const sal_Int32*>(_rRH.getConstArray());
      99             : 
     100             :                 }
     101             :                 else
     102           0 :                     return _rLH.getLength() < _rRH.getLength();
     103             :             }
     104             :         };
     105             : 
     106             :         typedef ::std::map< ::com::sun::star::uno::Sequence<sal_Int8>, sal_Int32,TBookmarkPosMapCompare > TBookmarkPosMap;
     107             : 
     108             :         class OOO_DLLPUBLIC_ODBCBASE OResultSet :
     109             :                             public  comphelper::OBaseMutex,
     110             :                             public  ::connectivity::IResultSetHelper,
     111             :                             public  OResultSet_BASE,
     112             :                             public  ::cppu::OPropertySetHelper,
     113             :                             public  ::comphelper::OPropertyArrayUsageHelper<OResultSet>
     114             :         {
     115             :         protected:
     116             :             TBookmarkPosMap                             m_aPosToBookmarks;
     117             :             // used top hold the information about the value and the datatype to save calls to metadata
     118             :             typedef ::std::vector<ORowSetValue>         TDataRow;
     119             : 
     120             :             TVoidVector                                 m_aBindVector;
     121             :             ::std::vector<SQLLEN>                       m_aLengthVector;
     122             :             ::std::map<sal_Int32,SWORD>                 m_aODBCColumnTypes;
     123             : 
     124             :             // In baseline ODBC, SQLGetData can only be called on monotonically increasing column numbers.
     125             :             // additionally, any variable-length data can be fetched only once (possibly in parts);
     126             :             // after that, SQLGetData returns SQL_NO_DATA.
     127             :             // In order to insulate our callers from these restrictions,
     128             :             // we cache the current row in m_aRow.
     129             :             // If the driver claims to support the GD_ANY_ORDER extension,
     130             :             // we read and cache only the columns requested by a caller.
     131             :             // Else, we read and cache all columns whose number is <= a requested column.
     132             :             // m_aRow[colNumber].getBound() says if it contains an up-to-date value or not.
     133             :             TDataRow                                    m_aRow;
     134             :             bool                                    m_bFetchDataInOrder;
     135             :             SQLHANDLE                                   m_aStatementHandle;
     136             :             SQLHANDLE                                   m_aConnectionHandle;
     137             :             OStatement_Base*                            m_pStatement;
     138             :             OSkipDeletedSet*                            m_pSkipDeletedSet;
     139             :             ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>    m_xStatement;
     140             :             ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData>        m_xMetaData;
     141             :             SQLUSMALLINT*                               m_pRowStatusArray;
     142             :             rtl_TextEncoding                            m_nTextEncoding;
     143             :             sal_Int32                                   m_nRowPos;
     144             :             mutable sal_uInt32                          m_nUseBookmarks;
     145             :             SQLRETURN                                   m_nCurrentFetchState;
     146             :             bool                                    m_bWasNull;
     147             :             bool                                    m_bEOF;                 // after last record
     148             :             bool                                    m_bLastRecord;
     149             :             bool                                    m_bFreeHandle;
     150             :             bool                                    m_bInserting;
     151             :             bool                                    m_bRowInserted;
     152             :             bool                                    m_bRowDeleted;
     153             :             bool                                    m_bUseFetchScroll;
     154             : 
     155             :             bool      isBookmarkable()          const;
     156             :             sal_Int32 getResultSetConcurrency() const;
     157             :             sal_Int32 getResultSetType()        const;
     158           0 :             static sal_Int32 getFetchDirection() { return css::sdbc::FetchDirection::FORWARD; }
     159             :             sal_Int32 getFetchSize()            const;
     160             :             OUString getCursorName()     const;
     161             :             template < typename T, SQLINTEGER BufferLength > T getStmtOption (SQLINTEGER fOption, T dflt = 0) const;
     162             : 
     163             :             void setFetchDirection(sal_Int32 _par0);
     164             :             void setFetchSize(sal_Int32 _par0);
     165             :             template < typename T, SQLINTEGER BufferLength > SQLRETURN setStmtOption (SQLINTEGER fOption, T value) const;
     166             : 
     167             : 
     168             :             void ensureCacheForColumn(sal_Int32 columnIndex);
     169             :             void invalidateCache();
     170             :             void fillColumn(sal_Int32 _nToColumn);
     171             :             void allocBuffer();
     172             :             void releaseBuffer();
     173             :             void updateValue(sal_Int32 columnIndex,SQLSMALLINT _nType,void* _pValue) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     174             :             void fillNeededData(SQLRETURN _nRet);
     175             :             bool moveImpl(IResultSetHelper::Movement _eCursorPosition, sal_Int32 _nOffset, bool _bRetrieveData);
     176             :             TVoidPtr allocBindColumn(sal_Int32 _nType,sal_Int32 _nColumnIndex);
     177             :             SQLRETURN unbind(bool _bUnbindHandle = true);
     178             :             SWORD impl_getColumnType_nothrow(sal_Int32 columnIndex);
     179             : 
     180             :             // helper to implement XRow::getXXX in simple cases
     181             :             template < typename T > T getValue( sal_Int32 columnIndex );
     182             :             // impl_getXXX are the functions that do the actual fetching from ODBC, ignoring the cache
     183             :             // for simple cases
     184             :             template < typename T > T impl_getValue( const sal_Int32 _nColumnIndex, SQLSMALLINT nType );
     185             :             // these cases need some special treatment
     186             :             bool impl_getBoolean( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     187             :             ::com::sun::star::uno::Sequence< sal_Int8 > impl_getBytes( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     188             :             ::com::sun::star::util::Date impl_getDate( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     189             :             ::com::sun::star::util::Time impl_getTime( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     190             :             ::com::sun::star::util::DateTime impl_getTimestamp( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     191             :             sal_Int64 impl_getLong( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     192             :             OUString impl_getString( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     193             :             ::com::sun::star::uno::Sequence<sal_Int8> impl_getBookmark(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     194             : 
     195             : 
     196             :             // OPropertyArrayUsageHelper
     197             :             virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const SAL_OVERRIDE;
     198             :             // OPropertySetHelper
     199             :             virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE;
     200             : 
     201             :             virtual sal_Bool SAL_CALL convertFastPropertyValue(
     202             :                                 ::com::sun::star::uno::Any & rConvertedValue,
     203             :                                 ::com::sun::star::uno::Any & rOldValue,
     204             :                                 sal_Int32 nHandle,
     205             :                                 const ::com::sun::star::uno::Any& rValue )
     206             :                                     throw (::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE;
     207             :             virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
     208             :                                     sal_Int32 nHandle,
     209             :                                     const ::com::sun::star::uno::Any& rValue
     210             :                                      )
     211             :                                      throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE;
     212             :             virtual void SAL_CALL getFastPropertyValue(
     213             :                                     ::com::sun::star::uno::Any& rValue,
     214             :                                     sal_Int32 nHandle
     215             :                                          ) const SAL_OVERRIDE;
     216             :         public:
     217             :             DECLARE_SERVICE_INFO();
     218             :             // A ctor that is needed for returning the object
     219             :             OResultSet( SQLHANDLE _pStatementHandle,OStatement_Base* pStmt);
     220             :             virtual ~OResultSet();
     221             : 
     222             :             void construct();
     223             : 
     224           0 :             inline oslGenericFunction getOdbcFunction(ODBC3SQLFunctionId _nIndex)  const
     225             :             {
     226           0 :                 return m_pStatement->getOdbcFunction(_nIndex);
     227             :             }
     228             : 
     229           0 :             ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > operator *()
     230             :             {
     231           0 :                 return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(*static_cast<OResultSet_BASE*>(this));
     232             :             }
     233             : 
     234           0 :             inline void setMetaData(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData>& _xMetaData) { m_xMetaData = _xMetaData;}
     235             : 
     236             :             // ::cppu::OComponentHelper
     237             :             virtual void SAL_CALL disposing() SAL_OVERRIDE;
     238             :             // XInterface
     239             :             virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     240             :             virtual void SAL_CALL acquire() throw() SAL_OVERRIDE;
     241             :             virtual void SAL_CALL release() throw() SAL_OVERRIDE;
     242             :             //XTypeProvider
     243             :             virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     244             :             // XPropertySet
     245             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     246             :             // XResultSet
     247             :             virtual sal_Bool SAL_CALL next(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     248             :             virtual sal_Bool SAL_CALL isBeforeFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     249             :             virtual sal_Bool SAL_CALL isAfterLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     250             :             virtual sal_Bool SAL_CALL isFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     251             :             virtual sal_Bool SAL_CALL isLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     252             :             virtual void SAL_CALL beforeFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     253             :             virtual void SAL_CALL afterLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     254             :             virtual sal_Bool SAL_CALL first(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     255             :             virtual sal_Bool SAL_CALL last(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     256             :             virtual sal_Int32 SAL_CALL getRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     257             :             virtual sal_Bool SAL_CALL absolute( sal_Int32 row ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     258             :             virtual sal_Bool SAL_CALL relative( sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     259             :             virtual sal_Bool SAL_CALL previous(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     260             :             virtual void SAL_CALL refreshRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     261             :             virtual sal_Bool SAL_CALL rowUpdated(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     262             :             virtual sal_Bool SAL_CALL rowInserted(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     263             :             virtual sal_Bool SAL_CALL rowDeleted(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     264             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     265             :             // XRow
     266             :             virtual sal_Bool SAL_CALL wasNull(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     267             :             virtual OUString SAL_CALL getString( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     268             :             virtual sal_Bool SAL_CALL getBoolean( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     269             :             virtual sal_Int8 SAL_CALL getByte( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     270             :             virtual sal_Int16 SAL_CALL getShort( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     271             :             virtual sal_Int32 SAL_CALL getInt( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     272             :             virtual sal_Int64 SAL_CALL getLong( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     273             :             virtual float SAL_CALL getFloat( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     274             :             virtual double SAL_CALL getDouble( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     275             :             virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getBytes( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     276             :             virtual ::com::sun::star::util::Date SAL_CALL getDate( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     277             :             virtual ::com::sun::star::util::Time SAL_CALL getTime( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     278             :             virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     279             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getBinaryStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     280             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getCharacterStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     281             :             virtual ::com::sun::star::uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     282             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     283             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     284             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     285             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     286             :             // XResultSetMetaDataSupplier
     287             :             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     288             :             // XCancellable
     289             :             virtual void SAL_CALL cancel(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     290             :             // XCloseable
     291             :             virtual void SAL_CALL close(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     292             :             // XWarningsSupplier
     293             :             virtual ::com::sun::star::uno::Any SAL_CALL getWarnings(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     294             :             virtual void SAL_CALL clearWarnings(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     295             :             // XResultSetUpdate
     296             :             virtual void SAL_CALL insertRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     297             :             virtual void SAL_CALL updateRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     298             :             virtual void SAL_CALL deleteRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     299             :             virtual void SAL_CALL cancelRowUpdates(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     300             :             virtual void SAL_CALL moveToInsertRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     301             :             virtual void SAL_CALL moveToCurrentRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     302             :             // XRowUpdate
     303             :             virtual void SAL_CALL updateNull( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     304             :             virtual void SAL_CALL updateBoolean( sal_Int32 columnIndex, sal_Bool x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     305             :             virtual void SAL_CALL updateByte( sal_Int32 columnIndex, sal_Int8 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     306             :             virtual void SAL_CALL updateShort( sal_Int32 columnIndex, sal_Int16 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     307             :             virtual void SAL_CALL updateInt( sal_Int32 columnIndex, sal_Int32 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     308             :             virtual void SAL_CALL updateLong( sal_Int32 columnIndex, sal_Int64 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     309             :             virtual void SAL_CALL updateFloat( sal_Int32 columnIndex, float x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     310             :             virtual void SAL_CALL updateDouble( sal_Int32 columnIndex, double x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     311             :             virtual void SAL_CALL updateString( sal_Int32 columnIndex, const OUString& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     312             :             virtual void SAL_CALL updateBytes( sal_Int32 columnIndex, const ::com::sun::star::uno::Sequence< sal_Int8 >& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     313             :             virtual void SAL_CALL updateDate( sal_Int32 columnIndex, const ::com::sun::star::util::Date& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     314             :             virtual void SAL_CALL updateTime( sal_Int32 columnIndex, const ::com::sun::star::util::Time& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     315             :             virtual void SAL_CALL updateTimestamp( sal_Int32 columnIndex, const ::com::sun::star::util::DateTime& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     316             :             virtual void SAL_CALL updateBinaryStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     317             :             virtual void SAL_CALL updateCharacterStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     318             :             virtual void SAL_CALL updateObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     319             :             virtual void SAL_CALL updateNumericObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x, sal_Int32 scale ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     320             :             // XColumnLocate
     321             :             virtual sal_Int32 SAL_CALL findColumn( const OUString& columnName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     322             :             // XRowLocate
     323             :             virtual ::com::sun::star::uno::Any SAL_CALL getBookmark(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     324             :             virtual sal_Bool SAL_CALL moveToBookmark( const ::com::sun::star::uno::Any& bookmark ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     325             :             virtual sal_Bool SAL_CALL moveRelativeToBookmark( const ::com::sun::star::uno::Any& bookmark, sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     326             :             virtual sal_Int32 SAL_CALL compareBookmarks( const ::com::sun::star::uno::Any& first, const ::com::sun::star::uno::Any& second ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     327             :             virtual sal_Bool SAL_CALL hasOrderedBookmarks(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     328             :             virtual sal_Int32 SAL_CALL hashBookmark( const ::com::sun::star::uno::Any& bookmark ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     329             :             // XDeleteRows
     330             :             virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL deleteRows( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     331             : 
     332             :             // IResultSetHelper
     333             :             virtual bool move(IResultSetHelper::Movement _eCursorPosition, sal_Int32 _nOffset, bool _bRetrieveData) SAL_OVERRIDE;
     334             :             virtual sal_Int32 getDriverPos() const SAL_OVERRIDE;
     335             :             virtual bool deletedVisible() const SAL_OVERRIDE;
     336             :             virtual bool isRowDeleted() const SAL_OVERRIDE;
     337             : 
     338             :         protected:
     339             :             using OPropertySetHelper::getFastPropertyValue;
     340             :         };
     341             :     }
     342             : }
     343             : #endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ODBC_ORESULTSET_HXX
     344             : 
     345             : 
     346             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11