LibreOffice Module connectivity (master) 1
|
#include <FResultSetMetaData.hxx>
Public Member Functions | |
OResultSetMetaData (::rtl::Reference< connectivity::OSQLColumns > _xColumns, OUString _aTableName, OFileTable *_pTable) | |
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 |
Private Member Functions | |
void | checkColumnIndex (sal_Int32 column) |
Private Attributes | |
OUString | m_aTableName |
::rtl::Reference< connectivity::OSQLColumns > | m_xColumns |
OFileTable * | m_pTable |
Definition at line 35 of file FResultSetMetaData.hxx.
|
overrideprotectedvirtual |
Definition at line 49 of file FResultSetMetaData.cxx.
References m_xColumns.
OResultSetMetaData::OResultSetMetaData | ( | ::rtl::Reference< connectivity::OSQLColumns > | _xColumns, |
OUString | _aTableName, | ||
OFileTable * | _pTable | ||
) |
Definition at line 41 of file FResultSetMetaData.cxx.
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 54 of file FResultSetMetaData.cxx.
References m_xColumns, o3tl::make_unsigned(), and dbtools::throwInvalidIndexException().
Referenced by getColumnName(), getColumnType(), getColumnTypeName(), getPrecision(), getScale(), isCurrency(), isNullable(), and isReadOnly().
|
overridevirtual |
Definition at line 104 of file FResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 73 of file FResultSetMetaData.cxx.
References m_xColumns.
|
overridevirtual |
Definition at line 60 of file FResultSetMetaData.cxx.
References getPrecision().
|
overridevirtual |
Definition at line 115 of file FResultSetMetaData.cxx.
References getColumnName().
|
overridevirtual |
Definition at line 91 of file FResultSetMetaData.cxx.
References aName, Any, checkColumnIndex(), getPropertyValue(), connectivity::OMetaConnection::getPropMap(), getString(), m_xColumns, and PROPERTY_ID_NAME.
Referenced by getColumnLabel().
|
overridevirtual |
Definition at line 120 of file FResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 66 of file FResultSetMetaData.cxx.
References checkColumnIndex(), getINT32(), getPropertyValue(), connectivity::OMetaConnection::getPropMap(), m_xColumns, and PROPERTY_ID_TYPE.
|
overridevirtual |
Definition at line 109 of file FResultSetMetaData.cxx.
References checkColumnIndex(), getPropertyValue(), connectivity::OMetaConnection::getPropMap(), getString(), m_xColumns, and PROPERTY_ID_TYPENAME.
|
overridevirtual |
Definition at line 143 of file FResultSetMetaData.cxx.
References checkColumnIndex(), getINT32(), getPropertyValue(), connectivity::OMetaConnection::getPropMap(), m_xColumns, and PROPERTY_ID_PRECISION.
Referenced by getColumnDisplaySize().
|
overridevirtual |
Definition at line 149 of file FResultSetMetaData.cxx.
References checkColumnIndex(), getINT32(), getPropertyValue(), connectivity::OMetaConnection::getPropMap(), m_xColumns, and PROPERTY_ID_SCALE.
|
overridevirtual |
Definition at line 85 of file FResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 99 of file FResultSetMetaData.cxx.
References m_aTableName.
|
overridevirtual |
Definition at line 133 of file FResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 79 of file FResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 126 of file FResultSetMetaData.cxx.
References checkColumnIndex(), getBOOL(), getPropertyValue(), connectivity::OMetaConnection::getPropMap(), m_xColumns, and PROPERTY_ID_ISCURRENCY.
|
overridevirtual |
Definition at line 178 of file FResultSetMetaData.cxx.
References isReadOnly().
|
overridevirtual |
Definition at line 156 of file FResultSetMetaData.cxx.
References checkColumnIndex(), getINT32(), getPropertyValue(), connectivity::OMetaConnection::getPropMap(), m_xColumns, and PROPERTY_ID_ISNULLABLE.
|
overridevirtual |
Definition at line 169 of file FResultSetMetaData.cxx.
References checkColumnIndex(), getPropertyValue(), connectivity::OMetaConnection::getPropMap(), connectivity::file::OFileTable::isReadOnly(), m_pTable, m_xColumns, and PROPERTY_ID_FUNCTION.
Referenced by isDefinitelyWritable(), and isWritable().
|
overridevirtual |
Definition at line 163 of file FResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 138 of file FResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 183 of file FResultSetMetaData.cxx.
References isReadOnly().
|
private |
Definition at line 38 of file FResultSetMetaData.hxx.
Referenced by getTableName().
|
private |
Definition at line 40 of file FResultSetMetaData.hxx.
Referenced by isReadOnly().
|
private |
Definition at line 39 of file FResultSetMetaData.hxx.
Referenced by checkColumnIndex(), getColumnCount(), getColumnName(), getColumnType(), getColumnTypeName(), getPrecision(), getScale(), isCurrency(), isNullable(), isReadOnly(), and ~OResultSetMetaData().