LibreOffice Module connectivity (master) 1
|
#include <OResultSetMetaData.hxx>
Public Member Functions | |
OResultSetMetaData (OConnection *_pConnection, SQLHANDLE _pStmt) | |
OResultSetMetaData (OConnection *_pConnection, SQLHANDLE _pStmt, std::vector< sal_Int32 > &&_vMapping) | |
virtual | ~OResultSetMetaData () override |
oslGenericFunction | getOdbcFunction (ODBC3SQLFunctionId _nIndex) const |
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 |
Static Public Member Functions | |
static SQLLEN | getNumColAttrib (OConnection const *_pConnection, SQLHANDLE _aStatementHandle, const css::uno::Reference< css::uno::XInterface > &_xInterface, sal_Int32 _column, sal_Int32 ident) |
static SQLSMALLINT | getColumnODBCType (OConnection const *_pConnection, SQLHANDLE _aStatementHandle, const css::uno::Reference< css::uno::XInterface > &_xInterface, sal_Int32 column) |
Private Member Functions | |
OUString | getCharColAttrib (sal_Int32 column, sal_Int32 ident) |
sal_Int32 | getNumColAttrib (sal_Int32 column, sal_Int32 ident) |
Private Attributes | |
std::vector< sal_Int32 > | m_vMapping |
std::map< sal_Int32, sal_Int32 > | m_aColumnTypes |
SQLHANDLE | m_aStatementHandle |
OConnection * | m_pConnection |
sal_Int32 | m_nColCount |
bool | m_bUseODBC2Types |
Definition at line 36 of file OResultSetMetaData.hxx.
|
inline |
Definition at line 55 of file OResultSetMetaData.hxx.
|
inline |
Definition at line 61 of file OResultSetMetaData.hxx.
References size.
|
overridevirtual |
Definition at line 29 of file OResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 193 of file OResultSetMetaData.cxx.
References getCharColAttrib().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 33 of file OResultSetMetaData.cxx.
References connectivity::OMetaConnection::getTextEncoding(), m_aStatementHandle, m_pConnection, m_vMapping, N3SQLColAttribute, pName, and connectivity::odbc::OTools::ThrowException().
Referenced by getCatalogName(), getColumnLabel(), getColumnName(), getColumnTypeName(), getSchemaName(), and getTableName().
|
overridevirtual |
Definition at line 160 of file OResultSetMetaData.cxx.
References m_aStatementHandle, m_nColCount, m_pConnection, N3SQLNumResultCols, and connectivity::odbc::OTools::ThrowException().
|
overridevirtual |
Definition at line 104 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 203 of file OResultSetMetaData.cxx.
References getCharColAttrib().
|
overridevirtual |
Definition at line 183 of file OResultSetMetaData.cxx.
References getCharColAttrib().
|
static |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 109 of file OResultSetMetaData.cxx.
References getNumColAttrib(), and nType.
Referenced by connectivity::odbc::ODatabaseMetaDataResultSet::impl_getColumnType_nothrow(), and connectivity::odbc::OResultSet::impl_getColumnType_nothrow().
|
overridevirtual |
Definition at line 208 of file OResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 129 of file OResultSetMetaData.cxx.
References getNumColAttrib(), m_aColumnTypes, m_bUseODBC2Types, connectivity::odbc::OTools::MapOdbcType2Jdbc(), and nType.
|
overridevirtual |
Definition at line 198 of file OResultSetMetaData.cxx.
References getCharColAttrib().
|
static |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 78 of file OResultSetMetaData.cxx.
References ColAttribute, connectivity::odbc::OConnection::getOdbcFunction(), nValue, and connectivity::odbc::OTools::ThrowException().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 95 of file OResultSetMetaData.cxx.
References getNumColAttrib(), m_aStatementHandle, m_pConnection, and m_vMapping.
Referenced by getColumnDisplaySize(), getColumnODBCType(), getColumnType(), getNumColAttrib(), getPrecision(), getScale(), isAutoIncrement(), isCaseSensitive(), isCurrency(), isDefinitelyWritable(), isNullable(), isReadOnly(), isSearchable(), isSigned(), and isWritable().
|
inline |
Definition at line 86 of file OResultSetMetaData.hxx.
References connectivity::odbc::OConnection::getOdbcFunction().
|
overridevirtual |
Definition at line 231 of file OResultSetMetaData.cxx.
References getNumColAttrib(), m_bUseODBC2Types, and nType.
|
overridevirtual |
Definition at line 246 of file OResultSetMetaData.cxx.
References getNumColAttrib(), m_bUseODBC2Types, and nType.
|
overridevirtual |
Definition at line 177 of file OResultSetMetaData.cxx.
References getCharColAttrib().
|
overridevirtual |
Definition at line 188 of file OResultSetMetaData.cxx.
References getCharColAttrib().
|
overridevirtual |
Definition at line 220 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 171 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 214 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 280 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 262 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 274 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 268 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 226 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
overridevirtual |
Definition at line 285 of file OResultSetMetaData.cxx.
References getNumColAttrib().
|
private |
Definition at line 40 of file OResultSetMetaData.hxx.
Referenced by getColumnType().
|
private |
Definition at line 42 of file OResultSetMetaData.hxx.
Referenced by getCharColAttrib(), getColumnCount(), and getNumColAttrib().
|
private |
Definition at line 45 of file OResultSetMetaData.hxx.
Referenced by getColumnType(), getPrecision(), and getScale().
|
private |
Definition at line 44 of file OResultSetMetaData.hxx.
Referenced by getColumnCount().
|
private |
Definition at line 43 of file OResultSetMetaData.hxx.
Referenced by getCharColAttrib(), getColumnCount(), and getNumColAttrib().
|
private |
Definition at line 39 of file OResultSetMetaData.hxx.
Referenced by getCharColAttrib(), and getNumColAttrib().