LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
pq_sdbc_driver::SequenceResultSetMetaData Class Reference

#include <pq_sequenceresultsetmetadata.hxx>

Inheritance diagram for pq_sdbc_driver::SequenceResultSetMetaData:
[legend]
Collaboration diagram for pq_sdbc_driver::SequenceResultSetMetaData:
[legend]

Public Member Functions

 SequenceResultSetMetaData (ColumnMetaDataVector &&vec, int colCount)
 
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
 

Private Member Functions

void checkColumnIndex (sal_Int32 columnIndex)
 

Private Attributes

ColumnMetaDataVector m_columnData
 
sal_Int32 m_colCount
 

Detailed Description

Definition at line 47 of file pq_sequenceresultsetmetadata.hxx.

Constructor & Destructor Documentation

◆ SequenceResultSetMetaData()

pq_sdbc_driver::SequenceResultSetMetaData::SequenceResultSetMetaData ( ColumnMetaDataVector &&  vec,
int  colCount 
)

Definition at line 48 of file pq_sequenceresultsetmetadata.cxx.

Member Function Documentation

◆ checkColumnIndex()

void pq_sdbc_driver::SequenceResultSetMetaData::checkColumnIndex ( sal_Int32  columnIndex)
private
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 176 of file pq_sequenceresultsetmetadata.cxx.

References Any, and m_colCount.

Referenced by getColumnLabel(), getColumnName(), getColumnType(), getColumnTypeName(), getPrecision(), getScale(), getSchemaName(), getTableName(), isAutoIncrement(), isCurrency(), and isNullable().

◆ getCatalogName()

OUString pq_sdbc_driver::SequenceResultSetMetaData::getCatalogName ( sal_Int32  column)
overridevirtual

Definition at line 139 of file pq_sequenceresultsetmetadata.cxx.

◆ getColumnCount()

sal_Int32 pq_sdbc_driver::SequenceResultSetMetaData::getColumnCount ( )
overridevirtual

Definition at line 58 of file pq_sequenceresultsetmetadata.cxx.

References m_colCount.

◆ getColumnDisplaySize()

sal_Int32 pq_sdbc_driver::SequenceResultSetMetaData::getColumnDisplaySize ( sal_Int32  column)
overridevirtual

Definition at line 97 of file pq_sequenceresultsetmetadata.cxx.

◆ getColumnLabel()

OUString pq_sdbc_driver::SequenceResultSetMetaData::getColumnLabel ( sal_Int32  column)
overridevirtual

Definition at line 102 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ getColumnName()

OUString pq_sdbc_driver::SequenceResultSetMetaData::getColumnName ( sal_Int32  column)
overridevirtual

Definition at line 108 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ getColumnServiceName()

OUString pq_sdbc_driver::SequenceResultSetMetaData::getColumnServiceName ( sal_Int32  column)
overridevirtual

Definition at line 171 of file pq_sequenceresultsetmetadata.cxx.

◆ getColumnType()

sal_Int32 pq_sdbc_driver::SequenceResultSetMetaData::getColumnType ( sal_Int32  column)
overridevirtual

Definition at line 144 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ getColumnTypeName()

OUString pq_sdbc_driver::SequenceResultSetMetaData::getColumnTypeName ( sal_Int32  column)
overridevirtual

Definition at line 150 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ getPrecision()

sal_Int32 pq_sdbc_driver::SequenceResultSetMetaData::getPrecision ( sal_Int32  column)
overridevirtual

Definition at line 121 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ getScale()

sal_Int32 pq_sdbc_driver::SequenceResultSetMetaData::getScale ( sal_Int32  column)
overridevirtual

Definition at line 127 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ getSchemaName()

OUString pq_sdbc_driver::SequenceResultSetMetaData::getSchemaName ( sal_Int32  column)
overridevirtual

Definition at line 114 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ getTableName()

OUString pq_sdbc_driver::SequenceResultSetMetaData::getTableName ( sal_Int32  column)
overridevirtual

Definition at line 133 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ isAutoIncrement()

sal_Bool pq_sdbc_driver::SequenceResultSetMetaData::isAutoIncrement ( sal_Int32  column)
overridevirtual

Definition at line 63 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ isCaseSensitive()

sal_Bool pq_sdbc_driver::SequenceResultSetMetaData::isCaseSensitive ( sal_Int32  column)
overridevirtual

Definition at line 69 of file pq_sequenceresultsetmetadata.cxx.

◆ isCurrency()

sal_Bool pq_sdbc_driver::SequenceResultSetMetaData::isCurrency ( sal_Int32  column)
overridevirtual

Definition at line 80 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ isDefinitelyWritable()

sal_Bool pq_sdbc_driver::SequenceResultSetMetaData::isDefinitelyWritable ( sal_Int32  column)
overridevirtual

Definition at line 167 of file pq_sequenceresultsetmetadata.cxx.

References isWritable().

◆ isNullable()

sal_Int32 pq_sdbc_driver::SequenceResultSetMetaData::isNullable ( sal_Int32  column)
overridevirtual

Definition at line 86 of file pq_sequenceresultsetmetadata.cxx.

References checkColumnIndex(), and m_columnData.

◆ isReadOnly()

sal_Bool pq_sdbc_driver::SequenceResultSetMetaData::isReadOnly ( sal_Int32  column)
overridevirtual

Definition at line 157 of file pq_sequenceresultsetmetadata.cxx.

Referenced by isWritable().

◆ isSearchable()

sal_Bool pq_sdbc_driver::SequenceResultSetMetaData::isSearchable ( sal_Int32  column)
overridevirtual

Definition at line 75 of file pq_sequenceresultsetmetadata.cxx.

◆ isSigned()

sal_Bool pq_sdbc_driver::SequenceResultSetMetaData::isSigned ( sal_Int32  column)
overridevirtual

Definition at line 92 of file pq_sequenceresultsetmetadata.cxx.

◆ isWritable()

sal_Bool pq_sdbc_driver::SequenceResultSetMetaData::isWritable ( sal_Int32  column)
overridevirtual

Definition at line 162 of file pq_sequenceresultsetmetadata.cxx.

References isReadOnly().

Referenced by isDefinitelyWritable().

Member Data Documentation

◆ m_colCount

sal_Int32 pq_sdbc_driver::SequenceResultSetMetaData::m_colCount
private

Definition at line 51 of file pq_sequenceresultsetmetadata.hxx.

Referenced by checkColumnIndex(), and getColumnCount().

◆ m_columnData

ColumnMetaDataVector pq_sdbc_driver::SequenceResultSetMetaData::m_columnData
private

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