LibreOffice Module connectivity (master) 1
Classes | Namespaces | Typedefs | Functions
pq_tools.hxx File Reference
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdbc/XParameters.hpp>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/Time.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <rtl/ustrbuf.hxx>
#include <rtl/string.hxx>
#include "pq_connection.hxx"
#include <string_view>
#include <vector>
Include dependency graph for pq_tools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pq_sdbc_driver::DisposeGuard
 
class  pq_sdbc_driver::TransactionGuard
 

Namespaces

namespace  pq_sdbc_driver
 

Typedefs

typedef std::unordered_map< OString, OString > pq_sdbc_driver::String2StringMap
 

Functions

bool pq_sdbc_driver::isWhitespace (sal_Unicode c)
 
OUString pq_sdbc_driver::concatQualified (std::u16string_view a, std::u16string_view b)
 
OString pq_sdbc_driver::OUStringToOString (std::u16string_view str, ConnectionSettings const *settings)
 
void pq_sdbc_driver::bufferQuoteConstant (OUStringBuffer &buf, std::u16string_view value, ConnectionSettings *settings)
 
void pq_sdbc_driver::bufferQuoteAnyConstant (OUStringBuffer &buf, const css::uno::Any &val, ConnectionSettings *settings)
 
void pq_sdbc_driver::bufferEscapeConstant (OUStringBuffer &buf, std::u16string_view value, ConnectionSettings *settings)
 
OUString pq_sdbc_driver::sqltype2string (const css::uno::Reference< css::beans::XPropertySet > &column)
 
void pq_sdbc_driver::bufferQuoteQualifiedIdentifier (OUStringBuffer &buf, std::u16string_view schema, std::u16string_view table, ConnectionSettings *settings)
 
void pq_sdbc_driver::bufferQuoteQualifiedIdentifier (OUStringBuffer &buf, std::u16string_view schema, std::u16string_view table, std::u16string_view col, ConnectionSettings *settings)
 
void pq_sdbc_driver::bufferQuoteIdentifier (OUStringBuffer &buf, std::u16string_view toQuote, ConnectionSettings *settings)
 
void pq_sdbc_driver::bufferKey2TableConstraint (OUStringBuffer &buf, const css::uno::Reference< css::beans::XPropertySet > &key, ConnectionSettings *settings)
 
OUString pq_sdbc_driver::extractStringProperty (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const OUString &name)
 
sal_Int32 pq_sdbc_driver::extractIntProperty (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const OUString &name)
 
bool pq_sdbc_driver::extractBoolProperty (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const OUString &name)
 
void pq_sdbc_driver::disposeNoThrow (const css::uno::Reference< css::uno::XInterface > &r)
 
void pq_sdbc_driver::disposeObject (const css::uno::Reference< css::uno::XInterface > &r)
 
OUString pq_sdbc_driver::extractTableFromInsert (std::u16string_view sql)
 
OString pq_sdbc_driver::extractSingleTableFromSelect (const std::vector< OString > &vec)
 
OUString pq_sdbc_driver::getColExprForDefaultSettingVal (ConnectionSettings const *settings)
 
void pq_sdbc_driver::tokenizeSQL (const OString &sql, std::vector< OString > &vec)
 
void pq_sdbc_driver::splitSQL (const OString &sql, std::vector< OString > &vec)
 
std::vector< sal_Int32 > pq_sdbc_driver::parseIntArray (const OUString &str)
 
std::vector< Any > pq_sdbc_driver::parseArray (std::u16string_view str)
 
OUString pq_sdbc_driver::array2String (const css::uno::Sequence< css::uno::Any > &seq)
 
css::uno::Reference< css::sdbc::XConnection > pq_sdbc_driver::extractConnectionFromStatement (const css::uno::Reference< css::uno::XInterface > &stmt)
 
void pq_sdbc_driver::splitConcatenatedIdentifier (std::u16string_view source, OUString *first, OUString *second)
 
void pq_sdbc_driver::fillAttnum2attnameMap (Int2StringMap &map, const css::uno::Reference< css::sdbc::XConnection > &conn, const OUString &schema, const OUString &table)
 
css::uno::Sequence< sal_Int32 > pq_sdbc_driver::string2intarray (const OUString &str)
 
css::uno::Sequence< OUString > pq_sdbc_driver::convertMappedIntArray2StringArray (const Int2StringMap &map, const css::uno::Sequence< sal_Int32 > &source)
 
OUString pq_sdbc_driver::querySingleValue (const css::uno::Reference< css::sdbc::XConnection > &connection, const OUString &query)
 
void pq_sdbc_driver::extractNameValuePairsFromInsert (String2StringMap &map, const OString &lastQuery)
 
sal_Int32 pq_sdbc_driver::typeNameToDataType (const OUString &typeName, std::u16string_view typtype)
 returns the constant from sdbc.DataType More...
 
bool pq_sdbc_driver::implSetObject (const css::uno::Reference< css::sdbc::XParameters > &_rxParameters, const sal_Int32 _nColumnIndex, const css::uno::Any &_rValue)