LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
connectivity::odbc::ODatabaseMetaDataResultSet Class Reference

#include <ODatabaseMetaDataResultSet.hxx>

Inheritance diagram for connectivity::odbc::ODatabaseMetaDataResultSet:
[legend]
Collaboration diagram for connectivity::odbc::ODatabaseMetaDataResultSet:
[legend]

Public Member Functions

 ODatabaseMetaDataResultSet (OConnection *_pConnection)
 
oslGenericFunction getOdbcFunction (ODBC3SQLFunctionId _nIndex) const
 
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
 
css::uno::Reference< css::uno::XInterface > operator* ()
 
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 sal_Int32 SAL_CALL findColumn (const OUString &columnName) override
 
void openTablesTypes ()
 
void openTypeInfo ()
 
void openCatalogs ()
 
void openSchemas ()
 
void openTables (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern, const css::uno::Sequence< OUString > &types)
 
void openColumnPrivileges (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, std::u16string_view columnNamePattern)
 
void openColumns (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern, std::u16string_view columnNamePattern)
 
void openProcedureColumns (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view procedureNamePattern, std::u16string_view columnNamePattern)
 
void openProcedures (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view procedureNamePattern)
 
void openVersionColumns (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table)
 
void openBestRowIdentifier (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, sal_Int32 scope, bool nullable)
 
void openForeignKeys (const css::uno::Any &catalog, const OUString *schema, const OUString *table, const css::uno::Any &catalog2, const OUString *schema2, const OUString *table2)
 
void openExportedKeys (const css::uno::Any &catalog, const OUString &schema, const OUString &table)
 
void openImportedKeys (const css::uno::Any &catalog, const OUString &schema, const OUString &table)
 
void openPrimaryKeys (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table)
 
void openTablePrivileges (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern)
 
void openSpecialColumns (bool _bRowVer, const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, sal_Int32 scope, bool nullable)
 
void openIndexInfo (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, bool unique, bool approximate)
 
- 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< ODatabaseMetaDataResultSet >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () 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 ~ODatabaseMetaDataResultSet () override
 
template<typename T , SQLSMALLINT sqlTypeId>
getInteger (sal_Int32 columnIndex)
 
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 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::IPropertyArrayHelpercreateArrayHelper () const =0
 

Private Member Functions

void checkColumnCount ()
 
SWORD impl_getColumnType_nothrow (sal_Int32 columnIndex)
 
sal_Int32 mapColumn (sal_Int32 column)
 

Static Private Member Functions

static sal_Int32 getFetchDirection ()
 
static sal_Int32 getFetchSize ()
 
static OUString getCursorName ()
 

Private Attributes

std::vector< sal_Int32 > m_aColMapping
 
std::map< sal_Int32, ::std::map< sal_Int32, sal_Int32 > > m_aValueRange
 
std::map< sal_Int32, SWORD > m_aODBCColumnTypes
 
SQLHANDLE m_aStatementHandle
 
css::uno::WeakReferenceHelper m_aStatement
 
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData
 
std::unique_ptr< SQLUSMALLINT[]> m_pRowStatusArray
 
rtl::Reference< OConnectionm_pConnection
 
rtl_TextEncoding m_nTextEncoding
 
sal_Int32 m_nRowPos
 
sal_Int32 m_nDriverColumnCount
 
SQLRETURN m_nCurrentFetchState
 
bool m_bWasNull
 
bool m_bEOF
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet >
static std::mutextheMutex ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 56 of file ODatabaseMetaDataResultSet.hxx.

Constructor & Destructor Documentation

◆ ~ODatabaseMetaDataResultSet()

ODatabaseMetaDataResultSet::~ODatabaseMetaDataResultSet ( )
overrideprotectedvirtual

Definition at line 68 of file ODatabaseMetaDataResultSet.cxx.

References dispose(), and m_refCount.

◆ ODatabaseMetaDataResultSet()

ODatabaseMetaDataResultSet::ODatabaseMetaDataResultSet ( OConnection _pConnection)

Member Function Documentation

◆ absolute()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::absolute ( sal_Int32  row)
overridevirtual

◆ acquire()

void SAL_CALL ODatabaseMetaDataResultSet::acquire ( )
overridevirtualnoexcept

Definition at line 102 of file ODatabaseMetaDataResultSet.cxx.

◆ afterLast()

void SAL_CALL ODatabaseMetaDataResultSet::afterLast ( )
overridevirtual

◆ beforeFirst()

void SAL_CALL ODatabaseMetaDataResultSet::beforeFirst ( )
overridevirtual

◆ cancel()

void SAL_CALL ODatabaseMetaDataResultSet::cancel ( )
overridevirtual

◆ checkColumnCount()

void ODatabaseMetaDataResultSet::checkColumnCount ( )
private

◆ clearWarnings()

void SAL_CALL ODatabaseMetaDataResultSet::clearWarnings ( )
overridevirtual

Definition at line 677 of file ODatabaseMetaDataResultSet.cxx.

◆ close()

void SAL_CALL ODatabaseMetaDataResultSet::close ( )
overridevirtual

◆ convertFastPropertyValue()

virtual sal_Bool SAL_CALL connectivity::odbc::ODatabaseMetaDataResultSet::convertFastPropertyValue ( css::uno::Any &  rConvertedValue,
css::uno::Any &  rOldValue,
sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprotectedvirtual

◆ createArrayHelper()

cppu::IPropertyArrayHelper * ODatabaseMetaDataResultSet::createArrayHelper ( ) const
overrideprotectedvirtual

◆ disposing()

void ODatabaseMetaDataResultSet::disposing ( )
overridevirtual

◆ findColumn()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSet::findColumn ( const OUString &  columnName)
overridevirtual

◆ first()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::first ( )
overridevirtual

◆ getArray()

Reference< XArray > SAL_CALL ODatabaseMetaDataResultSet::getArray ( sal_Int32  columnIndex)
overridevirtual

◆ getBinaryStream()

Reference< css::io::XInputStream > SAL_CALL ODatabaseMetaDataResultSet::getBinaryStream ( sal_Int32  columnIndex)
overridevirtual

◆ getBlob()

Reference< XBlob > SAL_CALL ODatabaseMetaDataResultSet::getBlob ( sal_Int32  columnIndex)
overridevirtual

◆ getBoolean()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::getBoolean ( sal_Int32  columnIndex)
overridevirtual

◆ getByte()

sal_Int8 SAL_CALL ODatabaseMetaDataResultSet::getByte ( sal_Int32  columnIndex)
overridevirtual

Definition at line 224 of file ODatabaseMetaDataResultSet.cxx.

◆ getBytes()

Sequence< sal_Int8 > SAL_CALL ODatabaseMetaDataResultSet::getBytes ( sal_Int32  columnIndex)
overridevirtual

◆ getCharacterStream()

Reference< css::io::XInputStream > SAL_CALL ODatabaseMetaDataResultSet::getCharacterStream ( sal_Int32  columnIndex)
overridevirtual

◆ getClob()

Reference< XClob > SAL_CALL ODatabaseMetaDataResultSet::getClob ( sal_Int32  columnIndex)
overridevirtual

◆ getCursorName()

OUString ODatabaseMetaDataResultSet::getCursorName ( )
staticprivate
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 691 of file ODatabaseMetaDataResultSet.cxx.

◆ getDate()

css::util::Date SAL_CALL ODatabaseMetaDataResultSet::getDate ( sal_Int32  columnIndex)
overridevirtual

◆ getDouble()

double SAL_CALL ODatabaseMetaDataResultSet::getDouble ( sal_Int32  columnIndex)
overridevirtual

◆ getFastPropertyValue() [1/3]

virtual void SAL_CALL connectivity::odbc::ODatabaseMetaDataResultSet::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprotectedvirtual

◆ getFastPropertyValue() [2/3]

virtual css::uno::Any SAL_CALL comphelper::OPropertySetHelper::getFastPropertyValue ( sal_Int32  nHandle)
protectedvirtual

Reimplemented from cppu::OPropertySetHelper.

◆ getFastPropertyValue() [3/3]

virtual void comphelper::OPropertySetHelper::getFastPropertyValue ( std::unique_lock< std::mutex > &  rGuard,
css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
protected

◆ getFetchDirection()

static sal_Int32 connectivity::odbc::ODatabaseMetaDataResultSet::getFetchDirection ( )
inlinestaticprivate

Definition at line 84 of file ODatabaseMetaDataResultSet.hxx.

◆ getFetchSize()

sal_Int32 ODatabaseMetaDataResultSet::getFetchSize ( )
staticprivate
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 686 of file ODatabaseMetaDataResultSet.cxx.

◆ getFloat()

float SAL_CALL ODatabaseMetaDataResultSet::getFloat ( sal_Int32  columnIndex)
overridevirtual

◆ getInfoHelper()

cppu::IPropertyArrayHelper & ODatabaseMetaDataResultSet::getInfoHelper ( )
overrideprotectedvirtual

◆ getInt()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSet::getInt ( sal_Int32  columnIndex)
overridevirtual

Definition at line 315 of file ODatabaseMetaDataResultSet.cxx.

Referenced by getBoolean().

◆ getInteger()

template<typename T , SQLSMALLINT sqlTypeId>
T ODatabaseMetaDataResultSet::getInteger ( sal_Int32  columnIndex)
protected

◆ getLong()

sal_Int64 SAL_CALL ODatabaseMetaDataResultSet::getLong ( sal_Int32  columnIndex)
overridevirtual

Definition at line 327 of file ODatabaseMetaDataResultSet.cxx.

◆ getMetaData()

Reference< XResultSetMetaData > SAL_CALL ODatabaseMetaDataResultSet::getMetaData ( )
overridevirtual

◆ getObject()

virtual css::uno::Any SAL_CALL connectivity::odbc::ODatabaseMetaDataResultSet::getObject ( sal_Int32  columnIndex,
const css::uno::Reference< css::container::XNameAccess > &  typeMap 
)
overridevirtual

References close.

◆ getOdbcFunction()

oslGenericFunction connectivity::odbc::ODatabaseMetaDataResultSet::getOdbcFunction ( ODBC3SQLFunctionId  _nIndex) const
inline

Definition at line 117 of file ODatabaseMetaDataResultSet.hxx.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL ODatabaseMetaDataResultSet::getPropertySetInfo ( )
overridevirtual

Definition at line 97 of file ODatabaseMetaDataResultSet.cxx.

References getInfoHelper().

◆ getRef()

Reference< XRef > SAL_CALL ODatabaseMetaDataResultSet::getRef ( sal_Int32  columnIndex)
overridevirtual

◆ getRow()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSet::getRow ( )
overridevirtual

Definition at line 321 of file ODatabaseMetaDataResultSet.cxx.

◆ getShort()

sal_Int16 SAL_CALL ODatabaseMetaDataResultSet::getShort ( sal_Int32  columnIndex)
overridevirtual

Definition at line 375 of file ODatabaseMetaDataResultSet.cxx.

◆ getStatement()

Reference< XInterface > SAL_CALL ODatabaseMetaDataResultSet::getStatement ( )
overridevirtual

Definition at line 582 of file ODatabaseMetaDataResultSet.cxx.

◆ getString()

OUString SAL_CALL ODatabaseMetaDataResultSet::getString ( sal_Int32  columnIndex)
overridevirtual

◆ getTime()

css::util::Time SAL_CALL ODatabaseMetaDataResultSet::getTime ( sal_Int32  columnIndex)
overridevirtual

◆ getTimestamp()

css::util::DateTime SAL_CALL ODatabaseMetaDataResultSet::getTimestamp ( sal_Int32  columnIndex)
overridevirtual

◆ getTypes()

Sequence< Type > SAL_CALL ODatabaseMetaDataResultSet::getTypes ( )
overridevirtual

Definition at line 112 of file ODatabaseMetaDataResultSet.cxx.

References aTypes.

◆ getWarnings()

Any SAL_CALL ODatabaseMetaDataResultSet::getWarnings ( )
overridevirtual

Definition at line 681 of file ODatabaseMetaDataResultSet.cxx.

References Any.

◆ impl_getColumnType_nothrow()

SWORD ODatabaseMetaDataResultSet::impl_getColumnType_nothrow ( sal_Int32  columnIndex)
private

◆ isAfterLast()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::isAfterLast ( )
overridevirtual

◆ isBeforeFirst()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::isBeforeFirst ( )
overridevirtual

◆ isFirst()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::isFirst ( )
overridevirtual

◆ isLast()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::isLast ( )
overridevirtual

◆ last()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::last ( )
overridevirtual

◆ mapColumn()

sal_Int32 ODatabaseMetaDataResultSet::mapColumn ( sal_Int32  column)
private

◆ next()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::next ( )
overridevirtual

◆ openBestRowIdentifier()

void ODatabaseMetaDataResultSet::openBestRowIdentifier ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table,
sal_Int32  scope,
bool  nullable 
)
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 1152 of file ODatabaseMetaDataResultSet.cxx.

References openSpecialColumns(), and table.

◆ openCatalogs()

void ODatabaseMetaDataResultSet::openCatalogs ( )
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 907 of file ODatabaseMetaDataResultSet.cxx.

References checkColumnCount(), m_aColMapping, m_aStatementHandle, m_pConnection, m_xMetaData, N3SQLTables, SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().

◆ openColumnPrivileges()

void ODatabaseMetaDataResultSet::openColumnPrivileges ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table,
std::u16string_view  columnNamePattern 
)

◆ openColumns()

void ODatabaseMetaDataResultSet::openColumns ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  tableNamePattern,
std::u16string_view  columnNamePattern 
)

◆ openExportedKeys()

void ODatabaseMetaDataResultSet::openExportedKeys ( const css::uno::Any &  catalog,
const OUString &  schema,
const OUString &  table 
)
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 1215 of file ODatabaseMetaDataResultSet.cxx.

References Any, openForeignKeys(), and table.

◆ openForeignKeys()

void ODatabaseMetaDataResultSet::openForeignKeys ( const css::uno::Any &  catalog,
const OUString *  schema,
const OUString *  table,
const css::uno::Any &  catalog2,
const OUString *  schema2,
const OUString *  table2 
)

◆ openImportedKeys()

void ODatabaseMetaDataResultSet::openImportedKeys ( const css::uno::Any &  catalog,
const OUString &  schema,
const OUString &  table 
)
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 1208 of file ODatabaseMetaDataResultSet.cxx.

References Any, openForeignKeys(), and table.

◆ openIndexInfo()

void ODatabaseMetaDataResultSet::openIndexInfo ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table,
bool  unique,
bool  approximate 
)

◆ openPrimaryKeys()

void ODatabaseMetaDataResultSet::openPrimaryKeys ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table 
)

◆ openProcedureColumns()

void ODatabaseMetaDataResultSet::openProcedureColumns ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  procedureNamePattern,
std::u16string_view  columnNamePattern 
)

◆ openProcedures()

void ODatabaseMetaDataResultSet::openProcedures ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  procedureNamePattern 
)

◆ openSchemas()

void ODatabaseMetaDataResultSet::openSchemas ( )
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 924 of file ODatabaseMetaDataResultSet.cxx.

References checkColumnCount(), m_aColMapping, m_aStatementHandle, m_pConnection, m_xMetaData, N3SQLTables, SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().

◆ openSpecialColumns()

void ODatabaseMetaDataResultSet::openSpecialColumns ( bool  _bRowVer,
const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table,
sal_Int32  scope,
bool  nullable 
)

◆ openTablePrivileges()

void ODatabaseMetaDataResultSet::openTablePrivileges ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  tableNamePattern 
)

◆ openTables()

void ODatabaseMetaDataResultSet::openTables ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  tableNamePattern,
const css::uno::Sequence< OUString > &  types 
)

◆ openTablesTypes()

void ODatabaseMetaDataResultSet::openTablesTypes ( )
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 891 of file ODatabaseMetaDataResultSet.cxx.

References checkColumnCount(), m_aColMapping, m_aStatementHandle, m_pConnection, m_xMetaData, N3SQLTables, SDB_ODBC_CHAR, and connectivity::odbc::OTools::ThrowException().

◆ openTypeInfo()

void ODatabaseMetaDataResultSet::openTypeInfo ( )

◆ openVersionColumns()

void ODatabaseMetaDataResultSet::openVersionColumns ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table 
)
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 1146 of file ODatabaseMetaDataResultSet.cxx.

References openSpecialColumns(), and table.

◆ operator*()

css::uno::Reference< css::uno::XInterface > connectivity::odbc::ODatabaseMetaDataResultSet::operator* ( void  )
inline

Definition at line 131 of file ODatabaseMetaDataResultSet.hxx.

◆ previous()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::previous ( )
overridevirtual

◆ queryInterface()

virtual css::uno::Any SAL_CALL connectivity::odbc::ODatabaseMetaDataResultSet::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OPropertySetHelper.

◆ refreshRow()

void SAL_CALL ODatabaseMetaDataResultSet::refreshRow ( )
overridevirtual

◆ relative()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::relative ( sal_Int32  rows)
overridevirtual

◆ release()

void SAL_CALL ODatabaseMetaDataResultSet::release ( )
overridevirtualnoexcept

Definition at line 107 of file ODatabaseMetaDataResultSet.cxx.

◆ rowDeleted()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::rowDeleted ( )
overridevirtual

◆ rowInserted()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::rowInserted ( )
overridevirtual

◆ rowUpdated()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::rowUpdated ( )
overridevirtual

◆ setFastPropertyValue_NoBroadcast()

virtual void SAL_CALL connectivity::odbc::ODatabaseMetaDataResultSet::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprotectedvirtual

◆ wasNull()

sal_Bool SAL_CALL ODatabaseMetaDataResultSet::wasNull ( )
overridevirtual

Member Data Documentation

◆ m_aColMapping

std::vector< sal_Int32> connectivity::odbc::ODatabaseMetaDataResultSet::m_aColMapping
private

◆ m_aODBCColumnTypes

std::map<sal_Int32,SWORD> connectivity::odbc::ODatabaseMetaDataResultSet::m_aODBCColumnTypes
private

Definition at line 67 of file ODatabaseMetaDataResultSet.hxx.

Referenced by impl_getColumnType_nothrow().

◆ m_aStatement

css::uno::WeakReferenceHelper connectivity::odbc::ODatabaseMetaDataResultSet::m_aStatement
private

Definition at line 70 of file ODatabaseMetaDataResultSet.hxx.

Referenced by disposing().

◆ m_aStatementHandle

SQLHANDLE connectivity::odbc::ODatabaseMetaDataResultSet::m_aStatementHandle
private

◆ m_aValueRange

std::map<sal_Int32, ::std::map<sal_Int32,sal_Int32> > connectivity::odbc::ODatabaseMetaDataResultSet::m_aValueRange
private

Definition at line 65 of file ODatabaseMetaDataResultSet.hxx.

Referenced by getInteger(), openColumns(), and openTypeInfo().

◆ m_bEOF

bool connectivity::odbc::ODatabaseMetaDataResultSet::m_bEOF
private

Definition at line 80 of file ODatabaseMetaDataResultSet.hxx.

Referenced by absolute(), first(), isLast(), last(), next(), previous(), and relative().

◆ m_bWasNull

bool connectivity::odbc::ODatabaseMetaDataResultSet::m_bWasNull
private

◆ m_nCurrentFetchState

SQLRETURN connectivity::odbc::ODatabaseMetaDataResultSet::m_nCurrentFetchState
private

◆ m_nDriverColumnCount

sal_Int32 connectivity::odbc::ODatabaseMetaDataResultSet::m_nDriverColumnCount
private

◆ m_nRowPos

sal_Int32 connectivity::odbc::ODatabaseMetaDataResultSet::m_nRowPos
private

◆ m_nTextEncoding

rtl_TextEncoding connectivity::odbc::ODatabaseMetaDataResultSet::m_nTextEncoding
private

◆ m_pConnection

rtl::Reference<OConnection> connectivity::odbc::ODatabaseMetaDataResultSet::m_pConnection
private

◆ m_pRowStatusArray

std::unique_ptr<SQLUSMALLINT[]> connectivity::odbc::ODatabaseMetaDataResultSet::m_pRowStatusArray
private

◆ m_xMetaData

css::uno::Reference< css::sdbc::XResultSetMetaData> connectivity::odbc::ODatabaseMetaDataResultSet::m_xMetaData
private

The documentation for this class was generated from the following files: