LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
connectivity::firebird::OResultSetMetaData Class Reference

#include <ResultSetMetaData.hxx>

Inheritance diagram for connectivity::firebird::OResultSetMetaData:
[legend]
Collaboration diagram for connectivity::firebird::OResultSetMetaData:
[legend]

Public Member Functions

 OResultSetMetaData (Connection *pConnection, XSQLDA *pSqlda)
 
virtual sal_Int32 SAL_CALL getColumnCount () override
 
virtual sal_Bool SAL_CALL isAutoIncrement (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isCaseSensitive (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isSearchable (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isCurrency (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL isNullable (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isSigned (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL getColumnDisplaySize (sal_Int32 column) override
 
virtual OUString SAL_CALL getColumnLabel (sal_Int32 column) override
 
virtual OUString SAL_CALL getColumnName (sal_Int32 column) override
 
virtual OUString SAL_CALL getSchemaName (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL getPrecision (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL getScale (sal_Int32 column) override
 
virtual OUString SAL_CALL getTableName (sal_Int32 column) override
 
virtual OUString SAL_CALL getCatalogName (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL getColumnType (sal_Int32 column) override
 
virtual OUString SAL_CALL getColumnTypeName (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isReadOnly (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isWritable (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isDefinitelyWritable (sal_Int32 column) override
 
virtual OUString SAL_CALL getColumnServiceName (sal_Int32 column) override
 

Protected Member Functions

virtual ~OResultSetMetaData () override
 
void verifyValidColumn (sal_Int32 column)
 
OUString getCharacterSet (sal_Int32 nIndex)
 

Protected Attributes

::rtl::Reference< Connectionm_pConnection
 
XSQLDA * m_pSqlda
 

Detailed Description

Definition at line 36 of file drivers/firebird/ResultSetMetaData.hxx.

Constructor & Destructor Documentation

◆ ~OResultSetMetaData()

OResultSetMetaData::~OResultSetMetaData ( )
overrideprotectedvirtual

Definition at line 38 of file firebird/ResultSetMetaData.cxx.

◆ OResultSetMetaData()

connectivity::firebird::OResultSetMetaData::OResultSetMetaData ( Connection pConnection,
XSQLDA *  pSqlda 
)
inline

Definition at line 49 of file drivers/firebird/ResultSetMetaData.hxx.

Member Function Documentation

◆ getCatalogName()

OUString SAL_CALL OResultSetMetaData::getCatalogName ( sal_Int32  column)
overridevirtual

Definition at line 152 of file firebird/ResultSetMetaData.cxx.

◆ getCharacterSet()

OUString OResultSetMetaData::getCharacterSet ( sal_Int32  nIndex)
protected

Definition at line 42 of file firebird/ResultSetMetaData.cxx.

References getColumnName(), getTableName(), m_pConnection, and nIndex.

Referenced by getColumnType().

◆ getColumnCount()

sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount ( )
overridevirtual

Definition at line 81 of file firebird/ResultSetMetaData.cxx.

References m_pSqlda.

Referenced by verifyValidColumn().

◆ getColumnDisplaySize()

sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize ( sal_Int32  column)
overridevirtual

Definition at line 86 of file firebird/ResultSetMetaData.cxx.

References verifyValidColumn().

◆ getColumnLabel()

OUString SAL_CALL OResultSetMetaData::getColumnLabel ( sal_Int32  column)
overridevirtual

◆ getColumnName()

OUString SAL_CALL OResultSetMetaData::getColumnName ( sal_Int32  column)
overridevirtual

◆ getColumnServiceName()

OUString SAL_CALL OResultSetMetaData::getColumnServiceName ( sal_Int32  column)
overridevirtual

Definition at line 179 of file firebird/ResultSetMetaData.cxx.

◆ getColumnType()

sal_Int32 SAL_CALL OResultSetMetaData::getColumnType ( sal_Int32  column)
overridevirtual

◆ getColumnTypeName()

OUString SAL_CALL OResultSetMetaData::getColumnTypeName ( sal_Int32  column)
overridevirtual

◆ getPrecision()

sal_Int32 SAL_CALL OResultSetMetaData::getPrecision ( sal_Int32  column)
overridevirtual

◆ getScale()

sal_Int32 SAL_CALL OResultSetMetaData::getScale ( sal_Int32  column)
overridevirtual

Definition at line 267 of file firebird/ResultSetMetaData.cxx.

References m_pSqlda.

◆ getSchemaName()

OUString SAL_CALL OResultSetMetaData::getSchemaName ( sal_Int32  column)
overridevirtual

Definition at line 123 of file firebird/ResultSetMetaData.cxx.

◆ getTableName()

OUString SAL_CALL OResultSetMetaData::getTableName ( sal_Int32  column)
overridevirtual

Definition at line 144 of file firebird/ResultSetMetaData.cxx.

References m_pSqlda, and verifyValidColumn().

Referenced by getCharacterSet(), getPrecision(), and isAutoIncrement().

◆ isAutoIncrement()

sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement ( sal_Int32  column)
overridevirtual

◆ isCaseSensitive()

sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive ( sal_Int32  column)
overridevirtual

Definition at line 113 of file firebird/ResultSetMetaData.cxx.

◆ isCurrency()

sal_Bool SAL_CALL OResultSetMetaData::isCurrency ( sal_Int32  column)
overridevirtual

Definition at line 185 of file firebird/ResultSetMetaData.cxx.

◆ isDefinitelyWritable()

sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable ( sal_Int32  column)
overridevirtual

Definition at line 291 of file firebird/ResultSetMetaData.cxx.

References m_pConnection.

◆ isNullable()

sal_Int32 SAL_CALL OResultSetMetaData::isNullable ( sal_Int32  column)
overridevirtual

Definition at line 272 of file firebird/ResultSetMetaData.cxx.

References m_pSqlda.

◆ isReadOnly()

sal_Bool SAL_CALL OResultSetMetaData::isReadOnly ( sal_Int32  column)
overridevirtual

Definition at line 286 of file firebird/ResultSetMetaData.cxx.

References m_pConnection.

◆ isSearchable()

sal_Bool SAL_CALL OResultSetMetaData::isSearchable ( sal_Int32  column)
overridevirtual

Definition at line 280 of file firebird/ResultSetMetaData.cxx.

◆ isSigned()

sal_Bool SAL_CALL OResultSetMetaData::isSigned ( sal_Int32  column)
overridevirtual

Definition at line 226 of file firebird/ResultSetMetaData.cxx.

◆ isWritable()

sal_Bool SAL_CALL OResultSetMetaData::isWritable ( sal_Int32  column)
overridevirtual

Definition at line 296 of file firebird/ResultSetMetaData.cxx.

References m_pConnection.

◆ verifyValidColumn()

void OResultSetMetaData::verifyValidColumn ( sal_Int32  column)
protected
Exceptions
css::sdbc::SQLException

Definition at line 75 of file firebird/ResultSetMetaData.cxx.

References Any, and getColumnCount().

Referenced by getColumnDisplaySize(), getColumnLabel(), getColumnName(), getColumnType(), getColumnTypeName(), and getTableName().

Member Data Documentation

◆ m_pConnection

::rtl::Reference<Connection> connectivity::firebird::OResultSetMetaData::m_pConnection
protected

◆ m_pSqlda

XSQLDA* connectivity::firebird::OResultSetMetaData::m_pSqlda
protected

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