LibreOffice Module connectivity (master) 1
|
#include <algorithm>
#include <string_view>
#include <sal/log.hxx>
#include "pq_databasemetadata.hxx"
#include "pq_driver.hxx"
#include "pq_sequenceresultset.hxx"
#include "pq_statics.hxx"
#include "pq_tools.hxx"
#include <o3tl/string_view.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/macros.h>
#include <com/sun/star/sdbc/TransactionIsolation.hpp>
#include <com/sun/star/sdbc/ResultSetType.hpp>
#include <com/sun/star/sdbc/XParameters.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/IndexType.hpp>
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/ColumnSearch.hpp>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | pq_sdbc_driver |
Typedefs | |
typedef std::unordered_map< sal_Int32, DatabaseTypeDescription > | pq_sdbc_driver::Oid2DatabaseTypeDescriptionMap |
Functions | |
sal_Int32 | pq_sdbc_driver::typeNameToDataType (const OUString &typeName, std::u16string_view typtype) |
returns the constant from sdbc.DataType More... | |
static void | pq_sdbc_driver::columnMetaData2DatabaseTypeDescription (Oid2DatabaseTypeDescriptionMap &oidMap, const Reference< XResultSet > &rs, const Reference< XStatement > &stmt) |
#define DEFERRABILITY_INITIALLY_DEFERRED 5 |
Definition at line 113 of file pq_databasemetadata.cxx.
#define DEFERRABILITY_INITIALLY_IMMEDIATE 6 |
Definition at line 114 of file pq_databasemetadata.cxx.
#define DEFERRABILITY_NONE 7 |
Definition at line 115 of file pq_databasemetadata.cxx.
#define KEYRULE_CASCADE 0 |
Definition at line 107 of file pq_databasemetadata.cxx.
#define KEYRULE_NO_ACTION 4 |
Definition at line 110 of file pq_databasemetadata.cxx.
#define KEYRULE_RESTRICT 1 |
Definition at line 108 of file pq_databasemetadata.cxx.
#define KEYRULE_SET_DEFAULT 4 |
Definition at line 111 of file pq_databasemetadata.cxx.
#define KEYRULE_SET_NULL 2 |
Definition at line 109 of file pq_databasemetadata.cxx.
#define SQL_CASE_KEYRULE |
Definition at line 1789 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES |
Definition at line 1796 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_FSCHEMA " AND fkn.nspname = ? " |
Definition at line 1823 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_FTABLE " AND fkc.relname = ? " |
Definition at line 1824 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_NONE_NONE_NONE_NONE |
Definition at line 1828 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_NONE_NONE_NONE_SOME |
Definition at line 1853 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_NONE_NONE_SOME_NONE |
Definition at line 1848 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_NONE_NONE_SOME_SOME |
Definition at line 1858 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_NONE_SOME_NONE_NONE |
Definition at line 1837 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_NONE_SOME_NONE_SOME |
Definition at line 1889 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_NONE_SOME_SOME_NONE |
Definition at line 1883 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_NONE_SOME_SOME_SOME |
Definition at line 1895 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_ORDER_NO_PTABLE "ORDER BY pkn.nspname, pkc.relname, conkeyseq" |
Definition at line 1826 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_ORDER_SOME_PTABLE "ORDER BY fkn.nspname, fkc.relname, conkeyseq" |
Definition at line 1825 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_PSCHEMA " AND pkn.nspname = ? " |
Definition at line 1821 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_PTABLE " AND pkc.relname = ? " |
Definition at line 1822 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_SOME_NONE_NONE_NONE |
Definition at line 1832 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_SOME_NONE_NONE_SOME |
Definition at line 1870 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_SOME_NONE_SOME_NONE |
Definition at line 1864 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_SOME_NONE_SOME_SOME |
Definition at line 1876 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_SOME_SOME_NONE_NONE |
Definition at line 1842 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_SOME_SOME_NONE_SOME |
Definition at line 1909 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_SOME_SOME_SOME_NONE |
Definition at line 1902 of file pq_databasemetadata.cxx.
#define SQL_GET_REFERENCES_SOME_SOME_SOME_SOME |
Definition at line 1916 of file pq_databasemetadata.cxx.
OUString typeName |
Definition at line 1382 of file pq_databasemetadata.cxx.
Referenced by pq_sdbc_driver::ResultSetMetaData::checkForTypes(), pq_sdbc_driver::columnMetaData2SDBCX(), connectivity::mysqlc::ODatabaseMetaData::getTypeInfo(), pq_sdbc_driver::isCurrency(), connectivity::java_sql_CallableStatement::registerOutParameter(), dbtools::ParameterManager::setObjectNull(), pq_sdbc_driver::sqltype2string(), and pq_sdbc_driver::typeNameToDataType().
OUString typeType |
Definition at line 1383 of file pq_databasemetadata.cxx.