LibreOffice Module connectivity (master) 1
|
Typedefs | |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XCloseable, css::sdbc::XResultSetMetaDataSupplier, css::sdbc::XResultSet, css::sdbc::XRow, css::sdbc::XColumnLocate > | BaseResultSet_BASE |
typedef cppu::WeakComponentImplHelper< css::sdbc::XConnection, css::sdbc::XWarningsSupplier, css::lang::XInitialization, css::sdbcx::XTablesSupplier, css::sdbcx::XViewsSupplier, css::sdbcx::XUsersSupplier > | ConnectionBase |
typedef std::unordered_map< ::rtl::ByteSequence, css::uno::WeakReference< css::sdbc::XCloseable >, HashByteSequence > | WeakHashMap |
typedef std::unordered_map< sal_Int32, OUString > | Int2StringMap |
typedef std::unordered_map< sal_Int32, DatabaseTypeDescription > | Oid2DatabaseTypeDescriptionMap |
typedef cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo, css::sdbcx::XDataDefinitionSupplier > | DriverBase |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XPreparedStatement, css::sdbc::XParameters, css::sdbc::XCloseable, css::sdbc::XWarningsSupplier, css::sdbc::XMultipleResults, css::sdbc::XGeneratedResultSet, css::sdbc::XResultSetMetaDataSupplier > | PreparedStatement_BASE |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XStatement, css::sdbc::XCloseable, css::sdbc::XWarningsSupplier, css::sdbc::XMultipleResults, css::sdbc::XGeneratedResultSet, css::sdbc::XResultSetMetaDataSupplier > | Statement_BASE |
typedef std::vector< ColumnMetaData > | ColumnMetaDataVector |
typedef std::unordered_map< OUString, sal_Int32 > | BaseTypeMap |
typedef std::unordered_map< OString, OString > | String2StringMap |
typedef std::vector< UpdateableField > | UpdateableFieldVector |
typedef ::cppu::WeakComponentImplHelper< css::lang::XServiceInfo, css::sdbcx::XDataDescriptorFactory, css::container::XNamed > | ReflectionBase_BASE |
typedef std::unordered_map< OUString, sal_Int32 > | String2IntMap |
typedef ::cppu::WeakComponentImplHelper< css::container::XNameAccess, css::container::XIndexAccess, css::container::XEnumerationAccess, css::sdbcx::XAppend, css::sdbcx::XDrop, css::util::XRefreshable, css::sdbcx::XDataDescriptorFactory, css::container::XContainer > | ContainerBase |
Functions | |
::cppu::IPropertyArrayHelper & | getResultSetPropertyArrayHelper () |
static void | properties2arrays (const Sequence< PropertyValue > &args, const Reference< XTypeConverter > &tc, rtl_TextEncoding enc, cstr_vector &keywords, cstr_vector &values) |
sal_Int32 | typeNameToDataType (const OUString &typeName, std::u16string_view typtype) |
returns the constant from sdbc.DataType More... | |
static void | columnMetaData2DatabaseTypeDescription (Oid2DatabaseTypeDescriptionMap &oidMap, const Reference< XResultSet > &rs, const Reference< XStatement > &stmt) |
::cppu::IPropertyArrayHelper & | getPreparedStatementPropertyArrayHelper () |
static bool | isOperator (char c) |
static bool | isNamedParameterStart (std::string_view o, int index) |
static bool | isQuoted (std::string_view str) |
static bool | isNumber (const char *data, sal_Int32 len) |
static bool | isInteger (const char *data, sal_Int32 len) |
static bool | isDate (const char *data, sal_Int32 len) |
static bool | isTime (const char *data, sal_Int32 len) |
static bool | isTimestamp (const char *data, sal_Int32 len) |
static void | extractPrecisionAndScale (sal_Int32 atttypmod, sal_Int32 *precision, sal_Int32 *scale) |
::cppu::IPropertyArrayHelper & | getStatementPropertyArrayHelper () |
static void | raiseSQLException (const Reference< XInterface > &owner, std::string_view sql, const char *errorMsg, const char *errorType=nullptr) |
static std::vector< OUString > | lookupKeys (const Reference< css::container::XNameAccess > &tables, const OUString &table, OUString *pSchema, OUString *pTable) |
bool | executePostgresCommand (const OString &cmd, struct CommandData *data) |
static Sequence< OUString > | getPrimaryKeyColumnNames (const Reference< XConnection > &connection, const OUString &schemaName, const OUString &tableName) |
static void | getAutoValues (String2StringMap &result, const Reference< XConnection > &connection, const OUString &schemaName, const OUString &tableName, const ConnectionSettings *pConnectionSettings) |
Reference< XResultSet > | getGeneratedValuesFromLastInsert (ConnectionSettings *pConnectionSettings, const Reference< XConnection > &connection, sal_Int32 nLastOid, std::u16string_view lastTableInserted, const OString &lastQuery) |
css::uno::Reference< css::sdbc::XResultSet > | getGeneratedValuesFromLastInsert (ConnectionSettings *pConnectionSettings, const css::uno::Reference< css::sdbc::XConnection > &connection, sal_Int32 nLastOid, std::u16string_view lastTableInserted, const OString &lastQuery) |
static cppu::IPropertyArrayHelper * | createPropertyArrayHelper (PropertyDef const *props, int count, sal_Int16 attr) |
static cppu::IPropertyArrayHelper * | createPropertyArrayHelper (PropertyDefEx const *props, int count) |
Statics & | getStatics () |
OUString | concatQualified (std::u16string_view a, std::u16string_view b) |
static OString | iOUStringToOString (std::u16string_view str, ConnectionSettings const *settings) |
OString | OUStringToOString (std::u16string_view str, ConnectionSettings const *settings) |
void | bufferEscapeConstant (OUStringBuffer &buf, std::u16string_view value, ConnectionSettings *settings) |
static void | ibufferQuoteConstant (OUStringBuffer &buf, std::u16string_view value, ConnectionSettings *settings) |
void | bufferQuoteConstant (OUStringBuffer &buf, std::u16string_view value, ConnectionSettings *settings) |
void | bufferQuoteAnyConstant (OUStringBuffer &buf, const Any &val, ConnectionSettings *settings) |
static void | ibufferQuoteIdentifier (OUStringBuffer &buf, std::u16string_view toQuote, ConnectionSettings *settings) |
void | bufferQuoteIdentifier (OUStringBuffer &buf, std::u16string_view toQuote, ConnectionSettings *settings) |
void | bufferQuoteQualifiedIdentifier (OUStringBuffer &buf, std::u16string_view schema, std::u16string_view table, ConnectionSettings *settings) |
void | bufferQuoteQualifiedIdentifier (OUStringBuffer &buf, std::u16string_view schema, std::u16string_view table, std::u16string_view col, ConnectionSettings *settings) |
OUString | extractStringProperty (const Reference< XPropertySet > &descriptor, const OUString &name) |
bool | extractBoolProperty (const Reference< XPropertySet > &descriptor, const OUString &name) |
sal_Int32 | extractIntProperty (const Reference< XPropertySet > &descriptor, const OUString &name) |
void | disposeObject (const css::uno::Reference< css::uno::XInterface > &r) |
void | disposeNoThrow (const css::uno::Reference< css::uno::XInterface > &r) |
Reference< XConnection > | extractConnectionFromStatement (const Reference< XInterface > &stmt) |
bool | isWhitespace (sal_Unicode c) |
OUString | extractTableFromInsert (std::u16string_view sql) |
static bool | isOperator (char c) |
void | splitSQL (const OString &sql, std::vector< OString > &vec) |
void | tokenizeSQL (const OString &sql, std::vector< OString > &vec) |
void | splitConcatenatedIdentifier (std::u16string_view source, OUString *first, OUString *second) |
OUString | array2String (const css::uno::Sequence< Any > &seq) |
std::vector< Any > | parseArray (std::u16string_view str) |
std::vector< sal_Int32 > | parseIntArray (const OUString &str) |
void | fillAttnum2attnameMap (Int2StringMap &map, const Reference< css::sdbc::XConnection > &conn, const OUString &schema, const OUString &table) |
OString | extractSingleTableFromSelect (const std::vector< OString > &vec) |
OUString | getColExprForDefaultSettingVal (ConnectionSettings const *settings) |
css::uno::Sequence< sal_Int32 > | string2intarray (const OUString &str) |
Sequence< OUString > | convertMappedIntArray2StringArray (const Int2StringMap &map, const Sequence< sal_Int32 > &intArray) |
OUString | sqltype2string (const Reference< XPropertySet > &desc) |
static void | keyType2String (OUStringBuffer &buf, sal_Int32 keyType) |
void | bufferKey2TableConstraint (OUStringBuffer &buf, const Reference< XPropertySet > &key, ConnectionSettings *settings) |
void | extractNameValuePairsFromInsert (String2StringMap &map, const OString &lastQuery) |
OUString | querySingleValue (const css::uno::Reference< css::sdbc::XConnection > &connection, const OUString &query) |
bool | implSetObject (const Reference< XParameters > &_rxParameters, const sal_Int32 _nColumnIndex, const Any &_rValue) |
void | bufferQuoteAnyConstant (OUStringBuffer &buf, const css::uno::Any &val, ConnectionSettings *settings) |
OUString | sqltype2string (const css::uno::Reference< css::beans::XPropertySet > &column) |
void | bufferKey2TableConstraint (OUStringBuffer &buf, const css::uno::Reference< css::beans::XPropertySet > &key, ConnectionSettings *settings) |
OUString | extractStringProperty (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const OUString &name) |
sal_Int32 | extractIntProperty (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const OUString &name) |
bool | extractBoolProperty (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const OUString &name) |
OUString | array2String (const css::uno::Sequence< css::uno::Any > &seq) |
css::uno::Reference< css::sdbc::XConnection > | extractConnectionFromStatement (const css::uno::Reference< css::uno::XInterface > &stmt) |
void | fillAttnum2attnameMap (Int2StringMap &map, const css::uno::Reference< css::sdbc::XConnection > &conn, const OUString &schema, const OUString &table) |
css::uno::Sequence< OUString > | convertMappedIntArray2StringArray (const Int2StringMap &map, const css::uno::Sequence< sal_Int32 > &source) |
bool | implSetObject (const css::uno::Reference< css::sdbc::XParameters > &_rxParameters, const sal_Int32 _nColumnIndex, const css::uno::Any &_rValue) |
static Any | isCurrency (std::u16string_view typeName) |
static Any | isAutoIncrement (std::u16string_view defaultValue) |
OUString | columnMetaData2SDBCX (ReflectionBase *pBase, const css::uno::Reference< css::sdbc::XRow > &xRow) |
void | alterColumnByDescriptor (std::u16string_view schemaName, std::u16string_view tableName, ConnectionSettings *settings, const Reference< XStatement > &stmt, const css::uno::Reference< css::beans::XPropertySet > &past, const css::uno::Reference< css::beans::XPropertySet > &future) |
void | alterColumnByDescriptor (std::u16string_view schemaName, std::u16string_view tableName, ConnectionSettings *settings, const css::uno::Reference< css::sdbc::XStatement > &stmt, const css::uno::Reference< css::beans::XPropertySet > &past, const css::uno::Reference< css::beans::XPropertySet > &future) |
static sal_Int32 | findInSequence (const Sequence< OUString > &seq, std::u16string_view str) |
static sal_Int32 | string2keytype (std::u16string_view type) |
static sal_Int32 | string2keyrule (std::u16string_view rule) |
static void | appendColumnList (OUStringBuffer &buf, const Reference< XColumnsSupplier > &columnSupplier, ConnectionSettings *settings) |
static void | appendKeyList (OUStringBuffer &buf, const Reference< XKeysSupplier > &keySupplier, ConnectionSettings *settings) |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XCloseable, css::sdbc::XResultSetMetaDataSupplier, css::sdbc::XResultSet, css::sdbc::XRow, css::sdbc::XColumnLocate > pq_sdbc_driver::BaseResultSet_BASE |
Definition at line 66 of file pq_baseresultset.hxx.
typedef std::unordered_map< OUString, sal_Int32> pq_sdbc_driver::BaseTypeMap |
Definition at line 94 of file pq_statics.hxx.
typedef std::vector< ColumnMetaData > pq_sdbc_driver::ColumnMetaDataVector |
Definition at line 88 of file pq_statics.hxx.
typedef cppu::WeakComponentImplHelper< css::sdbc::XConnection, css::sdbc::XWarningsSupplier, css::lang::XInitialization, css::sdbcx::XTablesSupplier, css::sdbcx::XViewsSupplier, css::sdbcx::XUsersSupplier > pq_sdbc_driver::ConnectionBase |
Definition at line 97 of file pq_connection.hxx.
typedef ::cppu::WeakComponentImplHelper< css::container::XNameAccess, css::container::XIndexAccess, css::container::XEnumerationAccess, css::sdbcx::XAppend, css::sdbcx::XDrop, css::util::XRefreshable, css::sdbcx::XDataDescriptorFactory, css::container::XContainer> pq_sdbc_driver::ContainerBase |
Definition at line 105 of file pq_xcontainer.hxx.
typedef cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo, css::sdbcx::XDataDefinitionSupplier > pq_sdbc_driver::DriverBase |
Definition at line 65 of file pq_driver.hxx.
typedef std::unordered_map< sal_Int32, OUString> pq_sdbc_driver::Int2StringMap |
Definition at line 118 of file pq_connection.hxx.
typedef std::unordered_map< sal_Int32, DatabaseTypeDescription> pq_sdbc_driver::Oid2DatabaseTypeDescriptionMap |
Definition at line 1391 of file pq_databasemetadata.cxx.
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XPreparedStatement, css::sdbc::XParameters, css::sdbc::XCloseable, css::sdbc::XWarningsSupplier, css::sdbc::XMultipleResults, css::sdbc::XGeneratedResultSet, css::sdbc::XResultSetMetaDataSupplier > pq_sdbc_driver::PreparedStatement_BASE |
Definition at line 73 of file pq_preparedstatement.hxx.
typedef ::cppu::WeakComponentImplHelper< css::lang::XServiceInfo, css::sdbcx::XDataDescriptorFactory, css::container::XNamed > pq_sdbc_driver::ReflectionBase_BASE |
Definition at line 52 of file pq_xbase.hxx.
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XStatement, css::sdbc::XCloseable, css::sdbc::XWarningsSupplier, css::sdbc::XMultipleResults, css::sdbc::XGeneratedResultSet, css::sdbc::XResultSetMetaDataSupplier > pq_sdbc_driver::Statement_BASE |
Definition at line 75 of file pq_statement.hxx.
typedef std::unordered_map< OUString, sal_Int32> pq_sdbc_driver::String2IntMap |
Definition at line 93 of file pq_xcontainer.hxx.
typedef std::unordered_map< OString, OString > pq_sdbc_driver::String2StringMap |
Definition at line 139 of file pq_tools.hxx.
typedef std::vector< UpdateableField > pq_sdbc_driver::UpdateableFieldVector |
Definition at line 61 of file pq_updateableresultset.hxx.
typedef std::unordered_map< ::rtl::ByteSequence, css::uno::WeakReference< css::sdbc::XCloseable >, HashByteSequence > pq_sdbc_driver::WeakHashMap |
Definition at line 111 of file pq_connection.hxx.
void pq_sdbc_driver::alterColumnByDescriptor | ( | std::u16string_view | schemaName, |
std::u16string_view | tableName, | ||
ConnectionSettings * | settings, | ||
const css::uno::Reference< css::sdbc::XStatement > & | stmt, | ||
const css::uno::Reference< css::beans::XPropertySet > & | past, | ||
const css::uno::Reference< css::beans::XPropertySet > & | future | ||
) |
void pq_sdbc_driver::alterColumnByDescriptor | ( | std::u16string_view | schemaName, |
std::u16string_view | tableName, | ||
ConnectionSettings * | settings, | ||
const Reference< XStatement > & | stmt, | ||
const css::uno::Reference< css::beans::XPropertySet > & | past, | ||
const css::uno::Reference< css::beans::XPropertySet > & | future | ||
) |
Definition at line 337 of file pq_xcolumns.cxx.
References bufferQuoteConstant(), bufferQuoteIdentifier(), bufferQuoteQualifiedIdentifier(), pq_sdbc_driver::TransactionGuard::commit(), pq_sdbc_driver::Statics::DEFAULT_VALUE, pq_sdbc_driver::Statics::DESCRIPTION, pq_sdbc_driver::TransactionGuard::executeUpdate(), extractIntProperty(), extractStringProperty(), getStatics(), pq_sdbc_driver::Statics::IS_NULLABLE, pq_sdbc_driver::Statics::NAME, sqltype2string(), and tableName.
Referenced by pq_sdbc_driver::Table::alterColumnByIndex(), and pq_sdbc_driver::Columns::appendByDescriptor().
|
static |
Definition at line 152 of file pq_xtables.cxx.
References bufferQuoteConstant(), bufferQuoteIdentifier(), pq_sdbc_driver::Statics::DEFAULT_VALUE, extractBoolProperty(), extractStringProperty(), first, getStatics(), pq_sdbc_driver::Statics::IS_AUTO_INCREMENT, pq_sdbc_driver::Statics::IS_NULLABLE, isAutoIncrement(), isNullable, name, pq_sdbc_driver::Statics::NAME, sqltype2string(), type, and pq_sdbc_driver::Statics::TYPE.
Referenced by pq_sdbc_driver::Tables::appendByDescriptor().
|
static |
Definition at line 217 of file pq_xtables.cxx.
References bufferKey2TableConstraint().
Referenced by pq_sdbc_driver::Tables::appendByDescriptor().
OUString pq_sdbc_driver::array2String | ( | const css::uno::Sequence< Any > & | seq | ) |
Definition at line 569 of file pq_tools.cxx.
References i.
Referenced by pq_sdbc_driver::PreparedStatement::setArray().
OUString pq_sdbc_driver::array2String | ( | const css::uno::Sequence< css::uno::Any > & | seq | ) |
void pq_sdbc_driver::bufferEscapeConstant | ( | OUStringBuffer & | buf, |
std::u16string_view | value, | ||
ConnectionSettings * | settings | ||
) |
Definition at line 104 of file pq_tools.cxx.
References Any, pq_sdbc_driver::ConnectionSettings::encoding, iOUStringToOString(), pq_sdbc_driver::ConnectionSettings::pConnection, value, and y.
Referenced by ibufferQuoteConstant().
void pq_sdbc_driver::bufferKey2TableConstraint | ( | OUStringBuffer & | buf, |
const css::uno::Reference< css::beans::XPropertySet > & | key, | ||
ConnectionSettings * | settings | ||
) |
void pq_sdbc_driver::bufferKey2TableConstraint | ( | OUStringBuffer & | buf, |
const Reference< XPropertySet > & | key, | ||
ConnectionSettings * | settings | ||
) |
Definition at line 991 of file pq_tools.cxx.
References bufferQuoteIdentifier(), bufferQuoteQualifiedIdentifier(), pq_sdbc_driver::Statics::DELETE_RULE, extractIntProperty(), extractStringProperty(), first, getStatics(), keyType2String(), pq_sdbc_driver::Statics::NAME, pq_sdbc_driver::Statics::REFERENCED_TABLE, pq_sdbc_driver::Statics::RELATED_COLUMN, splitConcatenatedIdentifier(), tableName, type, pq_sdbc_driver::Statics::TYPE, and pq_sdbc_driver::Statics::UPDATE_RULE.
Referenced by pq_sdbc_driver::Keys::appendByDescriptor(), and appendKeyList().
void pq_sdbc_driver::bufferQuoteAnyConstant | ( | OUStringBuffer & | buf, |
const Any & | val, | ||
ConnectionSettings * | settings | ||
) |
Definition at line 143 of file pq_tools.cxx.
References bufferQuoteConstant().
Referenced by pq_sdbc_driver::UpdateableResultSet::insertRow(), and pq_sdbc_driver::UpdateableResultSet::updateRow().
void pq_sdbc_driver::bufferQuoteAnyConstant | ( | OUStringBuffer & | buf, |
const css::uno::Any & | val, | ||
ConnectionSettings * | settings | ||
) |
void pq_sdbc_driver::bufferQuoteConstant | ( | OUStringBuffer & | buf, |
std::u16string_view | value, | ||
ConnectionSettings * | settings | ||
) |
Definition at line 138 of file pq_tools.cxx.
References ibufferQuoteConstant(), and value.
Referenced by alterColumnByDescriptor(), pq_sdbc_driver::Tables::appendByDescriptor(), pq_sdbc_driver::Users::appendByDescriptor(), appendColumnList(), bufferQuoteAnyConstant(), pq_sdbc_driver::UpdateableResultSet::buildWhereClause(), and pq_sdbc_driver::User::changePassword().
void pq_sdbc_driver::bufferQuoteIdentifier | ( | OUStringBuffer & | buf, |
std::u16string_view | toQuote, | ||
ConnectionSettings * | settings | ||
) |
Definition at line 175 of file pq_tools.cxx.
References ibufferQuoteIdentifier().
Referenced by alterColumnByDescriptor(), pq_sdbc_driver::Indexes::appendByDescriptor(), pq_sdbc_driver::Users::appendByDescriptor(), appendColumnList(), bufferKey2TableConstraint(), pq_sdbc_driver::UpdateableResultSet::buildWhereClause(), pq_sdbc_driver::User::changePassword(), pq_sdbc_driver::Columns::dropByIndex(), pq_sdbc_driver::Indexes::dropByIndex(), pq_sdbc_driver::Keys::dropByIndex(), pq_sdbc_driver::Users::dropByIndex(), getGeneratedValuesFromLastInsert(), pq_sdbc_driver::UpdateableResultSet::insertRow(), pq_sdbc_driver::Table::rename(), and pq_sdbc_driver::View::rename().
void pq_sdbc_driver::bufferQuoteQualifiedIdentifier | ( | OUStringBuffer & | buf, |
std::u16string_view | schema, | ||
std::u16string_view | table, | ||
ConnectionSettings * | settings | ||
) |
Definition at line 181 of file pq_tools.cxx.
References ibufferQuoteIdentifier(), and table.
Referenced by alterColumnByDescriptor(), pq_sdbc_driver::Indexes::appendByDescriptor(), pq_sdbc_driver::Keys::appendByDescriptor(), pq_sdbc_driver::Tables::appendByDescriptor(), pq_sdbc_driver::Views::appendByDescriptor(), bufferKey2TableConstraint(), pq_sdbc_driver::UpdateableResultSet::deleteRow(), pq_sdbc_driver::Columns::dropByIndex(), pq_sdbc_driver::Keys::dropByIndex(), pq_sdbc_driver::Tables::dropByIndex(), getGeneratedValuesFromLastInsert(), pq_sdbc_driver::UpdateableResultSet::insertRow(), pq_sdbc_driver::Table::rename(), pq_sdbc_driver::View::rename(), and pq_sdbc_driver::UpdateableResultSet::updateRow().
void pq_sdbc_driver::bufferQuoteQualifiedIdentifier | ( | OUStringBuffer & | buf, |
std::u16string_view | schema, | ||
std::u16string_view | table, | ||
std::u16string_view | col, | ||
ConnectionSettings * | settings | ||
) |
Definition at line 189 of file pq_tools.cxx.
References col, ibufferQuoteIdentifier(), and table.
|
static |
Definition at line 1393 of file pq_databasemetadata.cxx.
References disposeNoThrow().
Referenced by pq_sdbc_driver::DatabaseMetaData::getColumns().
OUString pq_sdbc_driver::columnMetaData2SDBCX | ( | ReflectionBase * | pBase, |
const css::uno::Reference< css::sdbc::XRow > & | xRow | ||
) |
Definition at line 123 of file pq_xcolumns.cxx.
References Any, COLUMN_NAME, COLUMN_SIZE, pq_sdbc_driver::Statics::DEFAULT_VALUE, DEFAULT_VALUE, pq_sdbc_driver::Statics::DESCRIPTION, getStatics(), pq_sdbc_driver::Statics::IS_AUTO_INCREMENT, pq_sdbc_driver::Statics::IS_CURRENCY, pq_sdbc_driver::Statics::IS_NULLABLE, isAutoIncrement(), isCurrency(), name, pq_sdbc_driver::Statics::NAME, pq_sdbc_driver::Statics::PRECISION, pq_sdbc_driver::Statics::SCALE, pq_sdbc_driver::ReflectionBase::setPropertyValue_NoBroadcast_public(), pq_sdbc_driver::Statics::TYPE, pq_sdbc_driver::Statics::TYPE_NAME, and typeName.
Referenced by pq_sdbc_driver::Columns::refresh(), pq_sdbc_driver::IndexColumns::refresh(), and pq_sdbc_driver::KeyColumns::refresh().
OUString pq_sdbc_driver::concatQualified | ( | std::u16string_view | a, |
std::u16string_view | b | ||
) |
Definition at line 90 of file pq_tools.cxx.
References a.
Referenced by pq_sdbc_driver::Tables::dropByIndex(), pq_sdbc_driver::ReflectionBase::getName(), pq_sdbc_driver::Table::getName(), pq_sdbc_driver::View::getName(), pq_sdbc_driver::Table::rename(), and pq_sdbc_driver::View::rename().
css::uno::Sequence< OUString > pq_sdbc_driver::convertMappedIntArray2StringArray | ( | const Int2StringMap & | map, |
const css::uno::Sequence< sal_Int32 > & | source | ||
) |
Sequence< OUString > pq_sdbc_driver::convertMappedIntArray2StringArray | ( | const Int2StringMap & | map, |
const Sequence< sal_Int32 > & | intArray | ||
) |
Definition at line 917 of file pq_tools.cxx.
Referenced by getPrimaryKeyColumnNames(), and pq_sdbc_driver::Keys::refresh().
|
static |
Definition at line 88 of file pq_statics.cxx.
References count, i, name, Property, props, and type.
Referenced by getStatics().
|
static |
void pq_sdbc_driver::disposeNoThrow | ( | const css::uno::Reference< css::uno::XInterface > & | r | ) |
Definition at line 235 of file pq_tools.cxx.
References disposeObject().
Referenced by pq_sdbc_driver::Tables::appendByDescriptor(), pq_sdbc_driver::Views::appendByDescriptor(), columnMetaData2DatabaseTypeDescription(), pq_sdbc_driver::Table::rename(), pq_sdbc_driver::View::rename(), pq_sdbc_driver::DisposeGuard::~DisposeGuard(), and pq_sdbc_driver::TransactionGuard::~TransactionGuard().
void pq_sdbc_driver::disposeObject | ( | const css::uno::Reference< css::uno::XInterface > & | r | ) |
bool pq_sdbc_driver::executePostgresCommand | ( | const OString & | cmd, |
struct CommandData * | data | ||
) |
Definition at line 362 of file pq_statement.cxx.
References pq_sdbc_driver::CommandData::concurrency, pq_sdbc_driver::UpdateableResultSet::createFromPGResultSet(), pq_sdbc_driver::ConnectionSettings::encoding, extractSingleTableFromSelect(), extractTableFromInsert(), i, lookupKeys(), OUStringToOString(), pq_sdbc_driver::CommandData::owner, pq_sdbc_driver::ConnectionSettings::pConnection, pq_sdbc_driver::CommandData::pLastOidInserted, pq_sdbc_driver::CommandData::pLastQuery, pq_sdbc_driver::CommandData::pLastResultset, pq_sdbc_driver::CommandData::pLastTableInserted, pq_sdbc_driver::CommandData::pMultipleResultAvailable, pq_sdbc_driver::CommandData::pMultipleResultUpdateCount, pq_sdbc_driver::CommandData::ppSettings, raiseSQLException(), pq_sdbc_driver::CommandData::refMutex, result, SAL_INFO, SAL_WARN, splitConcatenatedIdentifier(), table, pq_sdbc_driver::ConnectionSettings::tables, pq_sdbc_driver::CommandData::tableSupplier, and tokenizeSQL().
Referenced by pq_sdbc_driver::PreparedStatement::execute(), and pq_sdbc_driver::Statement::execute().
bool pq_sdbc_driver::extractBoolProperty | ( | const css::uno::Reference< css::beans::XPropertySet > & | descriptor, |
const OUString & | name | ||
) |
bool pq_sdbc_driver::extractBoolProperty | ( | const Reference< XPropertySet > & | descriptor, |
const OUString & | name | ||
) |
Definition at line 212 of file pq_tools.cxx.
Referenced by pq_sdbc_driver::Indexes::appendByDescriptor(), and appendColumnList().
css::uno::Reference< css::sdbc::XConnection > pq_sdbc_driver::extractConnectionFromStatement | ( | const css::uno::Reference< css::uno::XInterface > & | stmt | ) |
Reference< XConnection > pq_sdbc_driver::extractConnectionFromStatement | ( | const Reference< XInterface > & | stmt | ) |
Definition at line 248 of file pq_tools.cxx.
Referenced by pq_sdbc_driver::ResultSetMetaData::checkForTypes(), pq_sdbc_driver::ResultSetMetaData::checkTable(), pq_sdbc_driver::UpdateableResultSet::deleteRow(), pq_sdbc_driver::UpdateableResultSet::insertRow(), and pq_sdbc_driver::UpdateableResultSet::updateRow().
sal_Int32 pq_sdbc_driver::extractIntProperty | ( | const css::uno::Reference< css::beans::XPropertySet > & | descriptor, |
const OUString & | name | ||
) |
sal_Int32 pq_sdbc_driver::extractIntProperty | ( | const Reference< XPropertySet > & | descriptor, |
const OUString & | name | ||
) |
Definition at line 220 of file pq_tools.cxx.
References name.
Referenced by alterColumnByDescriptor(), bufferKey2TableConstraint(), pq_sdbc_driver::PreparedStatement::execute(), pq_sdbc_driver::Statement::execute(), and sqltype2string().
void pq_sdbc_driver::extractNameValuePairsFromInsert | ( | String2StringMap & | map, |
const OString & | lastQuery | ||
) |
Definition at line 1080 of file pq_tools.cxx.
References equalsIgnoreAsciiCase(), map, n, name, and tokenizeSQL().
Referenced by getGeneratedValuesFromLastInsert().
|
static |
Definition at line 94 of file pq_resultsetmetadata.cxx.
References PQ_VARHDRSZ, precision, and scale.
Referenced by pq_sdbc_driver::DatabaseMetaData::getColumns(), and pq_sdbc_driver::ResultSetMetaData::ResultSetMetaData().
OString pq_sdbc_driver::extractSingleTableFromSelect | ( | const std::vector< OString > & | vec | ) |
Definition at line 732 of file pq_tools.cxx.
References getLength(), i, and pData.
Referenced by executePostgresCommand().
OUString pq_sdbc_driver::extractStringProperty | ( | const css::uno::Reference< css::beans::XPropertySet > & | descriptor, |
const OUString & | name | ||
) |
OUString pq_sdbc_driver::extractStringProperty | ( | const Reference< XPropertySet > & | descriptor, |
const OUString & | name | ||
) |
Definition at line 204 of file pq_tools.cxx.
Referenced by alterColumnByDescriptor(), pq_sdbc_driver::Table::alterColumnByIndex(), pq_sdbc_driver::Container::appendByDescriptor(), pq_sdbc_driver::Indexes::appendByDescriptor(), pq_sdbc_driver::Tables::appendByDescriptor(), pq_sdbc_driver::Users::appendByDescriptor(), appendColumnList(), bufferKey2TableConstraint(), pq_sdbc_driver::User::changePassword(), pq_sdbc_driver::Indexes::dropByIndex(), pq_sdbc_driver::Keys::dropByIndex(), pq_sdbc_driver::Tables::dropByIndex(), pq_sdbc_driver::Index::getColumns(), pq_sdbc_driver::Table::getColumns(), pq_sdbc_driver::Table::getIndexes(), pq_sdbc_driver::Table::getKeys(), pq_sdbc_driver::ReflectionBase::getName(), pq_sdbc_driver::Table::getName(), pq_sdbc_driver::View::getName(), pq_sdbc_driver::Table::rename(), pq_sdbc_driver::View::rename(), and sqltype2string().
OUString pq_sdbc_driver::extractTableFromInsert | ( | std::u16string_view | sql | ) |
Definition at line 318 of file pq_tools.cxx.
References i, isWhitespace(), o3tl::matchIgnoreAsciiCase(), start, o3tl::trim(), and u.
Referenced by executePostgresCommand().
void pq_sdbc_driver::fillAttnum2attnameMap | ( | Int2StringMap & | map, |
const css::uno::Reference< css::sdbc::XConnection > & | conn, | ||
const OUString & | schema, | ||
const OUString & | table | ||
) |
void pq_sdbc_driver::fillAttnum2attnameMap | ( | Int2StringMap & | map, |
const Reference< css::sdbc::XConnection > & | conn, | ||
const OUString & | schema, | ||
const OUString & | table | ||
) |
Definition at line 707 of file pq_tools.cxx.
Referenced by getPrimaryKeyColumnNames(), pq_sdbc_driver::Indexes::refresh(), and pq_sdbc_driver::Keys::refresh().
|
static |
Definition at line 90 of file pq_xindexcolumns.cxx.
References index.
Referenced by pq_sdbc_driver::IndexColumns::refresh().
|
static |
Definition at line 554 of file pq_statement.cxx.
References getColExprForDefaultSettingVal(), OUStringToOString(), result, and tableName.
Referenced by getGeneratedValuesFromLastInsert().
OUString pq_sdbc_driver::getColExprForDefaultSettingVal | ( | ConnectionSettings const * | settings | ) |
Definition at line 836 of file pq_tools.cxx.
References pq_sdbc_driver::ConnectionSettings::pConnection.
Referenced by getAutoValues(), and pq_sdbc_driver::DatabaseMetaData::getColumns().
css::uno::Reference< css::sdbc::XResultSet > pq_sdbc_driver::getGeneratedValuesFromLastInsert | ( | ConnectionSettings * | pConnectionSettings, |
const css::uno::Reference< css::sdbc::XConnection > & | connection, | ||
sal_Int32 | nLastOid, | ||
std::u16string_view | lastTableInserted, | ||
const OString & | lastQuery | ||
) |
Reference< XResultSet > pq_sdbc_driver::getGeneratedValuesFromLastInsert | ( | ConnectionSettings * | pConnectionSettings, |
const Reference< XConnection > & | connection, | ||
sal_Int32 | nLastOid, | ||
std::u16string_view | lastTableInserted, | ||
const OString & | lastQuery | ||
) |
Definition at line 589 of file pq_statement.cxx.
References bufferQuoteIdentifier(), bufferQuoteQualifiedIdentifier(), columnName, pq_sdbc_driver::ConnectionSettings::encoding, extractNameValuePairsFromInsert(), getAutoValues(), getPrimaryKeyColumnNames(), OUStringToOString(), query(), querySingleValue(), splitConcatenatedIdentifier(), tableName, and value.
Referenced by pq_sdbc_driver::PreparedStatement::getGeneratedValues(), and pq_sdbc_driver::Statement::getGeneratedValues().
|
static |
Definition at line 89 of file pq_preparedstatement.cxx.
References Property.
Referenced by pq_sdbc_driver::PreparedStatement::getInfoHelper(), and pq_sdbc_driver::PreparedStatement::getPropertySetInfo().
|
static |
Definition at line 524 of file pq_statement.cxx.
References convertMappedIntArray2StringArray(), fillAttnum2attnameMap(), string2intarray(), and tableName.
Referenced by getGeneratedValuesFromLastInsert().
|
static |
Definition at line 69 of file pq_baseresultset.cxx.
References Property.
Referenced by pq_sdbc_driver::BaseResultSet::getInfoHelper(), and pq_sdbc_driver::BaseResultSet::getPropertySetInfo().
|
static |
Definition at line 101 of file pq_statement.cxx.
References Property.
Referenced by pq_sdbc_driver::Statement::getInfoHelper(), and pq_sdbc_driver::Statement::getPropertySetInfo().
Statics & pq_sdbc_driver::getStatics | ( | ) |
Definition at line 112 of file pq_statics.cxx.
References pq_sdbc_driver::Statics::baseTypeMap, pq_sdbc_driver::Statics::BEGIN, pq_sdbc_driver::Statics::CATALOG, pq_sdbc_driver::Statics::CATALOG_NAME, pq_sdbc_driver::Statics::CHECK_OPTION, pq_sdbc_driver::ReflectionImplementations::column, pq_sdbc_driver::ReflectionImplementations::columnDescriptor, columnName, pq_sdbc_driver::Statics::columnRowNames, pq_sdbc_driver::Statics::COMMAND, pq_sdbc_driver::Statics::COMMIT, pq_sdbc_driver::Statics::cPERCENT, pq_sdbc_driver::Statics::CREATE, createPropertyArrayHelper(), pq_sdbc_driver::Statics::CURSOR_NAME, pq_sdbc_driver::Statics::DEFAULT_VALUE, pq_sdbc_driver::Statics::DELETE, pq_sdbc_driver::Statics::DELETE_RULE, pq_sdbc_driver::Statics::DESCRIPTION, pq_sdbc_driver::Statics::ESCAPE_PROCESSING, pq_sdbc_driver::Statics::EXECUTE, pq_sdbc_driver::Statics::FALSE, pq_sdbc_driver::Statics::FETCH_DIRECTION, pq_sdbc_driver::Statics::FETCH_SIZE, cppu::UnoType< typename T >::get(), pq_sdbc_driver::Statics::HELP_TEXT, i, pq_sdbc_driver::ImplementationStatics::implName, pq_sdbc_driver::ReflectionImplementations::index, pq_sdbc_driver::Statics::INDEX, pq_sdbc_driver::Statics::INDEX_COLUMN, pq_sdbc_driver::ReflectionImplementations::indexColumn, pq_sdbc_driver::ReflectionImplementations::indexColumnDescriptor, pq_sdbc_driver::ReflectionImplementations::indexDescriptor, pq_sdbc_driver::Statics::indexinfoColumnNames, pq_sdbc_driver::Statics::INSERT, pq_sdbc_driver::Statics::IS_ASCENDING, pq_sdbc_driver::Statics::IS_AUTO_INCREMENT, pq_sdbc_driver::Statics::IS_BOOKMARKABLE, pq_sdbc_driver::Statics::IS_CLUSTERED, pq_sdbc_driver::Statics::IS_CURRENCY, pq_sdbc_driver::Statics::IS_NULLABLE, pq_sdbc_driver::Statics::IS_PRIMARY_KEY_INDEX, pq_sdbc_driver::Statics::IS_ROW_VERSISON, pq_sdbc_driver::Statics::IS_UNIQUE, isAutoIncrement(), isCurrency(), isNullable, pq_sdbc_driver::ReflectionImplementations::key, pq_sdbc_driver::Statics::KEY, pq_sdbc_driver::Statics::KEY_COLUMN, pq_sdbc_driver::ReflectionImplementations::keycolumn, pq_sdbc_driver::ReflectionImplementations::keycolumnDescriptor, pq_sdbc_driver::ReflectionImplementations::keyDescriptor, pq_sdbc_driver::Statics::NAME, pq_sdbc_driver::Statics::NO, pq_sdbc_driver::Statics::NO_NULLS, pq_sdbc_driver::Statics::NULABLE, pq_sdbc_driver::Statics::NULLABLE_UNKNOWN, p, pq_sdbc_driver::Statics::PASSWORD, pq_sdbc_driver::ImplementationStatics::pProps, precision, pq_sdbc_driver::Statics::PRECISION, pq_sdbc_driver::Statics::primaryKeyNames, pq_sdbc_driver::Statics::PRIVATE_COLUMN_INDEXES, pq_sdbc_driver::Statics::PRIVATE_COLUMNS, pq_sdbc_driver::Statics::PRIVATE_FOREIGN_COLUMNS, pq_sdbc_driver::Statics::PRIVILEGES, READONLY, pq_sdbc_driver::Statics::REFERENCED_TABLE, pq_sdbc_driver::Statics::REFERENCES, pq_sdbc_driver::Statics::refl, pq_sdbc_driver::Statics::RELATED_COLUMN, pq_sdbc_driver::Statics::RESULT_SET_CONCURRENCY, pq_sdbc_driver::Statics::RESULT_SET_TYPE, pq_sdbc_driver::Statics::resultSetArrayColumnNames, pq_sdbc_driver::Statics::ROLLBACK, pq_sdbc_driver::Statics::RULE, scale, pq_sdbc_driver::Statics::SCALE, pq_sdbc_driver::Statics::SCHEMA_NAME, pq_sdbc_driver::Statics::schemaNames, schemaTableName, pq_sdbc_driver::Statics::SELECT, pq_sdbc_driver::ImplementationStatics::serviceNames, pq_sdbc_driver::Statics::SYSTEM_TABLE, pq_sdbc_driver::ReflectionImplementations::table, pq_sdbc_driver::Statics::TABLE, TABLE_INDEX_CATALOG, TABLE_INDEX_NAME, TABLE_INDEX_REMARKS, TABLE_INDEX_SCHEMA, TABLE_INDEX_TYPE, pq_sdbc_driver::ReflectionImplementations::tableDescriptor, tableName, pq_sdbc_driver::Statics::tablesRowNames, pq_sdbc_driver::Statics::tableTypeData, pq_sdbc_driver::Statics::tableTypeNames, pq_sdbc_driver::Statics::TEMPORARY, pq_sdbc_driver::Statics::TRIGGER, pq_sdbc_driver::Statics::TRUE, type, pq_sdbc_driver::Statics::TYPE, pq_sdbc_driver::Statics::TYPE_NAME, pq_sdbc_driver::Statics::typeinfoColumnNames, pq_sdbc_driver::Statics::typeInfoMetaData, typeName, pq_sdbc_driver::Statics::UNKNOWN, pq_sdbc_driver::Statics::UPDATE, pq_sdbc_driver::Statics::UPDATE_RULE, pq_sdbc_driver::Statics::USAGE, pq_sdbc_driver::ReflectionImplementations::user, pq_sdbc_driver::Statics::USER, pq_sdbc_driver::ReflectionImplementations::userDescriptor, pq_sdbc_driver::ReflectionImplementations::view, pq_sdbc_driver::Statics::VIEW, pq_sdbc_driver::ReflectionImplementations::viewDescriptor, and pq_sdbc_driver::Statics::YES.
Referenced by alterColumnByDescriptor(), pq_sdbc_driver::Table::alterColumnByIndex(), pq_sdbc_driver::Columns::appendByDescriptor(), pq_sdbc_driver::Container::appendByDescriptor(), pq_sdbc_driver::Indexes::appendByDescriptor(), pq_sdbc_driver::Tables::appendByDescriptor(), pq_sdbc_driver::Users::appendByDescriptor(), pq_sdbc_driver::Views::appendByDescriptor(), appendColumnList(), bufferKey2TableConstraint(), pq_sdbc_driver::User::changePassword(), columnMetaData2SDBCX(), pq_sdbc_driver::TransactionGuard::commit(), pq_sdbc_driver::Columns::dropByIndex(), pq_sdbc_driver::Indexes::dropByIndex(), pq_sdbc_driver::Keys::dropByIndex(), pq_sdbc_driver::Tables::dropByIndex(), pq_sdbc_driver::Users::dropByIndex(), pq_sdbc_driver::Views::dropByIndex(), pq_sdbc_driver::PreparedStatement::execute(), pq_sdbc_driver::Statement::execute(), pq_sdbc_driver::Index::getColumns(), pq_sdbc_driver::Key::getColumns(), pq_sdbc_driver::Table::getColumns(), pq_sdbc_driver::DatabaseMetaData::getColumns(), pq_sdbc_driver::ResultSetMetaData::getColumnType(), pq_sdbc_driver::ResultSetMetaData::getColumnTypeName(), pq_sdbc_driver::Table::getIndexes(), pq_sdbc_driver::DatabaseMetaData::getIndexInfo(), pq_sdbc_driver::Table::getKeys(), pq_sdbc_driver::ReflectionBase::getName(), pq_sdbc_driver::Table::getName(), pq_sdbc_driver::View::getName(), pq_sdbc_driver::DatabaseMetaData::getPrimaryKeys(), pq_sdbc_driver::Array::getResultSetAtIndex(), pq_sdbc_driver::DatabaseMetaData::getSchemas(), pq_sdbc_driver::DatabaseMetaData::getTables(), pq_sdbc_driver::DatabaseMetaData::getTableTypes(), pq_sdbc_driver::DatabaseMetaData::getTypeInfo(), pq_sdbc_driver::ResultSetMetaData::isAutoIncrement(), pq_sdbc_driver::ResultSetMetaData::isCurrency(), pq_sdbc_driver::ResultSetMetaData::isNullable(), lookupKeys(), pq_sdbc_driver::Columns::refresh(), pq_sdbc_driver::IndexColumns::refresh(), pq_sdbc_driver::Indexes::refresh(), pq_sdbc_driver::KeyColumns::refresh(), pq_sdbc_driver::Keys::refresh(), pq_sdbc_driver::Tables::refresh(), pq_sdbc_driver::Users::refresh(), pq_sdbc_driver::Views::refresh(), pq_sdbc_driver::Table::rename(), pq_sdbc_driver::View::rename(), sqltype2string(), typeNameToDataType(), pq_sdbc_driver::UpdateableResultSet::updateBoolean(), and pq_sdbc_driver::TransactionGuard::~TransactionGuard().
|
static |
Definition at line 131 of file pq_tools.cxx.
References bufferEscapeConstant(), and value.
Referenced by bufferQuoteConstant().
|
static |
Definition at line 155 of file pq_tools.cxx.
References Any, pq_sdbc_driver::ConnectionSettings::encoding, iOUStringToOString(), pq_sdbc_driver::ConnectionSettings::pConnection, and y.
Referenced by bufferQuoteIdentifier(), and bufferQuoteQualifiedIdentifier().
bool pq_sdbc_driver::implSetObject | ( | const css::uno::Reference< css::sdbc::XParameters > & | _rxParameters, |
const sal_Int32 | _nColumnIndex, | ||
const css::uno::Any & | _rValue | ||
) |
bool pq_sdbc_driver::implSetObject | ( | const Reference< XParameters > & | _rxParameters, |
const sal_Int32 | _nColumnIndex, | ||
const Any & | _rValue | ||
) |
Definition at line 1157 of file pq_tools.cxx.
References o3tl::tryAccess(), and xStream.
Referenced by pq_sdbc_driver::PreparedStatement::setObject().
|
static |
Definition at line 95 of file pq_tools.cxx.
References pq_sdbc_driver::ConnectionSettings::encoding, and OUStringToOString().
Referenced by bufferEscapeConstant(), ibufferQuoteIdentifier(), and OUStringToOString().
|
static |
Definition at line 90 of file pq_xcolumns.cxx.
References Any, o3tl::starts_with(), and u.
Referenced by appendColumnList(), columnMetaData2SDBCX(), and getStatics().
|
static |
Definition at line 79 of file pq_xcolumns.cxx.
References Any, o3tl::equalsIgnoreAsciiCase(), typeName, and u.
Referenced by columnMetaData2SDBCX(), and getStatics().
|
static |
Definition at line 229 of file pq_resultset.cxx.
References isInteger().
Referenced by pq_sdbc_driver::ResultSet::guessDataType(), and isTimestamp().
|
static |
Definition at line 201 of file pq_resultset.cxx.
References i.
Referenced by pq_sdbc_driver::ResultSet::guessDataType(), isDate(), and isTime().
|
static |
Definition at line 138 of file pq_preparedstatement.cxx.
References index, isOperator(), and isWhitespace().
Referenced by pq_sdbc_driver::PreparedStatement::execute(), and pq_sdbc_driver::PreparedStatement::PreparedStatement().
|
static |
Definition at line 173 of file pq_resultset.cxx.
References i.
Referenced by pq_sdbc_driver::ResultSet::guessDataType().
|
static |
Definition at line 126 of file pq_preparedstatement.cxx.
References w.
Referenced by pq_sdbc_driver::PreparedStatement::execute(), isNamedParameterStart(), and tokenizeSQL().
|
static |
Definition at line 373 of file pq_tools.cxx.
|
static |
Definition at line 144 of file pq_preparedstatement.cxx.
Referenced by pq_sdbc_driver::PreparedStatement::execute(), pq_sdbc_driver::PreparedStatement::PreparedStatement(), and connectivity::flat::OFlatTable::readLine().
|
static |
Definition at line 239 of file pq_resultset.cxx.
References isInteger().
Referenced by pq_sdbc_driver::ResultSet::guessDataType(), and isTimestamp().
|
static |
Definition at line 250 of file pq_resultset.cxx.
References isDate(), and isTime().
Referenced by pq_sdbc_driver::ResultSet::guessDataType().
bool pq_sdbc_driver::isWhitespace | ( | sal_Unicode | c | ) |
Definition at line 313 of file pq_tools.cxx.
Referenced by pq_sdbc_driver::PreparedStatement::execute(), extractTableFromInsert(), isNamedParameterStart(), parseArray(), and tokenizeSQL().
|
static |
Definition at line 967 of file pq_tools.cxx.
Referenced by bufferKey2TableConstraint().
|
static |
Definition at line 268 of file pq_statement.cxx.
References getStatics(), i, length, name, pq_sdbc_driver::Statics::NAME, NAME, SAL_INFO, set(), table, and pq_sdbc_driver::Statics::TYPE.
Referenced by executePostgresCommand().
OString pq_sdbc_driver::OUStringToOString | ( | std::u16string_view | str, |
ConnectionSettings const * | settings | ||
) |
Definition at line 100 of file pq_tools.cxx.
References iOUStringToOString().
Referenced by connectivity::firebird::Connection::attachServiceManager(), connectivity::odbc::OTools::bindValue(), connectivity::evoab::OEvoabConnection::construct(), connectivity::firebird::Connection::construct(), connectivity::evoab::OEvoabResultSet::construct(), connectivity::macab::MacabRecords::createHeaderForRecordType(), connectivity::dbase::ODbaseIndex::CreateImpl(), connectivity::dbase::ODbaseIndex::createINFEntry(), connectivity::mysqlc::OStatement::execute(), pq_sdbc_driver::Statement::execute(), connectivity::odbc::OStatement_Base::execute(), connectivity::odbc::OStatement::executeBatch(), executePostgresCommand(), connectivity::odbc::OResultSet::fillNeededData(), pq_sdbc_driver::ResultSet::findColumn(), dbtools::OCharsetMap::findIanaName(), connectivity::java_lang_Class::forName(), getAutoValues(), pq_sdbc_driver::BaseResultSet::getBytes(), connectivity::OSQLParser::getFunctionReturnType(), getGeneratedValuesFromLastInsert(), connectivity::evoab::OCommonStatement::impl_executeQuery_throw(), pq_sdbc_driver::Connection::initialize(), iOUStringToOString(), connectivity::odbc::OConnection::nativeSQL(), connectivity::odbc::ODatabaseMetaDataResultSet::openColumnPrivileges(), connectivity::odbc::ODatabaseMetaDataResultSet::openColumns(), connectivity::odbc::OConnection::OpenConnection(), connectivity::odbc::ODatabaseMetaDataResultSet::openForeignKeys(), connectivity::odbc::ODatabaseMetaDataResultSet::openIndexInfo(), connectivity::odbc::ODatabaseMetaDataResultSet::openPrimaryKeys(), connectivity::odbc::ODatabaseMetaDataResultSet::openProcedureColumns(), connectivity::odbc::ODatabaseMetaDataResultSet::openProcedures(), connectivity::odbc::ODatabaseMetaDataResultSet::openSpecialColumns(), connectivity::odbc::ODatabaseMetaDataResultSet::openTablePrivileges(), connectivity::odbc::ODatabaseMetaDataResultSet::openTables(), connectivity::file::OOp_Ascii::operate(), connectivity::FunctionParser::parseFunction(), connectivity::firebird::OStatementCommonBase::prepareAndDescribeStatement(), connectivity::OSQLScanner::prepareScan(), connectivity::odbc::OPreparedStatement::prepareStatement(), connectivity::mysqlc::OConnection::prepareStatement(), pq_sdbc_driver::Connection::prepareStatement(), properties2arrays(), connectivity::firebird::Connection::runBackupService(), connectivity::odbc::OConnection::setCatalog(), connectivity::firebird::OPreparedStatement::setClob(), connectivity::odbc::OStatement_Base::setCursorName(), connectivity::mysqlc::OPreparedStatement::setObjectWithInfo(), connectivity::odbc::OPreparedStatement::setParameter(), connectivity::mysqlc::OPreparedStatement::setString(), connectivity::firebird::OPreparedStatement::setString(), pq_sdbc_driver::PreparedStatement::setString(), splitConcatenatedIdentifier(), connectivity::hsqldb::StorageContainer::throwJavaException(), and connectivity::dbase::ONDXNode::Write().
std::vector< css::uno::Any > pq_sdbc_driver::parseArray | ( | std::u16string_view | str | ) |
css::sdbc::SQLException |
Definition at line 599 of file pq_tools.cxx.
References Any, i, and isWhitespace().
Referenced by pq_sdbc_driver::BaseResultSet::getArray().
std::vector< sal_Int32 > pq_sdbc_driver::parseIntArray | ( | const OUString & | str | ) |
Definition at line 691 of file pq_tools.cxx.
Referenced by pq_sdbc_driver::DatabaseMetaData::getIndexInfo(), and pq_sdbc_driver::Indexes::refresh().
|
static |
Definition at line 364 of file pq_connection.cxx.
References args, OUStringToOString(), SAL_WARN, v, value, and values.
Referenced by pq_sdbc_driver::Connection::initialize().
OUString pq_sdbc_driver::querySingleValue | ( | const css::uno::Reference< css::sdbc::XConnection > & | connection, |
const OUString & | query | ||
) |
Definition at line 1141 of file pq_tools.cxx.
References query().
Referenced by getGeneratedValuesFromLastInsert().
|
static |
SQLException |
Definition at line 241 of file pq_statement.cxx.
References Any, pq_sdbc_driver::ConnectionSettings::encoding, and SAL_WARN.
Referenced by executePostgresCommand().
void pq_sdbc_driver::splitConcatenatedIdentifier | ( | std::u16string_view | source, |
OUString * | first, | ||
OUString * | second | ||
) |
Definition at line 548 of file pq_tools.cxx.
References first, OUStringToOString(), SAL_WARN, and tokenizeSQL().
Referenced by bufferKey2TableConstraint(), executePostgresCommand(), getGeneratedValuesFromLastInsert(), pq_sdbc_driver::Table::rename(), and pq_sdbc_driver::View::rename().
void pq_sdbc_driver::splitSQL | ( | const OString & | sql, |
std::vector< OString > & | vec | ||
) |
Definition at line 404 of file pq_tools.cxx.
References i, length, and start.
Referenced by pq_sdbc_driver::PreparedStatement::PreparedStatement().
OUString pq_sdbc_driver::sqltype2string | ( | const css::uno::Reference< css::beans::XPropertySet > & | column | ) |
OUString pq_sdbc_driver::sqltype2string | ( | const Reference< XPropertySet > & | desc | ) |
Definition at line 932 of file pq_tools.cxx.
References extractIntProperty(), extractStringProperty(), getStatics(), precision, PRECISION, TYPE, and typeName.
Referenced by alterColumnByDescriptor(), and appendColumnList().
css::uno::Sequence< sal_Int32 > pq_sdbc_driver::string2intarray | ( | const OUString & | str | ) |
Definition at line 843 of file pq_tools.cxx.
References start, and o3tl::toInt32().
Referenced by getPrimaryKeyColumnNames(), and pq_sdbc_driver::Keys::refresh().
|
static |
Definition at line 103 of file pq_xkeys.cxx.
References u.
Referenced by pq_sdbc_driver::Keys::refresh().
|
static |
Definition at line 93 of file pq_xkeys.cxx.
Referenced by pq_sdbc_driver::Keys::refresh().
void pq_sdbc_driver::tokenizeSQL | ( | const OString & | sql, |
std::vector< OString > & | vec | ||
) |
Definition at line 464 of file pq_tools.cxx.
References i, isOperator(), isWhitespace(), length, and start.
Referenced by executePostgresCommand(), extractNameValuePairsFromInsert(), and splitConcatenatedIdentifier().
sal_Int32 pq_sdbc_driver::typeNameToDataType | ( | const OUString & | typeName, |
std::u16string_view | typtype | ||
) |
returns the constant from sdbc.DataType
Definition at line 1290 of file pq_databasemetadata.cxx.
References pq_sdbc_driver::Statics::baseTypeMap, getStatics(), typeName, and u.
Referenced by pq_sdbc_driver::ResultSetMetaData::checkForTypes(), and pq_sdbc_driver::DatabaseMetaData::getColumns().
const sal_Int32 pq_sdbc_driver::BASERESULTSET_CURSOR_NAME = 0 |
Definition at line 51 of file pq_baseresultset.hxx.
Referenced by pq_sdbc_driver::BaseResultSet::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::BASERESULTSET_ESCAPE_PROCESSING = 1 |
Definition at line 52 of file pq_baseresultset.hxx.
Referenced by pq_sdbc_driver::BaseResultSet::convertFastPropertyValue(), and pq_sdbc_driver::UpdateableResultSet::UpdateableResultSet().
const sal_Int32 pq_sdbc_driver::BASERESULTSET_FETCH_DIRECTION = 2 |
Definition at line 53 of file pq_baseresultset.hxx.
Referenced by pq_sdbc_driver::BaseResultSet::convertFastPropertyValue(), and pq_sdbc_driver::UpdateableResultSet::UpdateableResultSet().
const sal_Int32 pq_sdbc_driver::BASERESULTSET_FETCH_SIZE = 3 |
Definition at line 54 of file pq_baseresultset.hxx.
Referenced by pq_sdbc_driver::BaseResultSet::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::BASERESULTSET_IS_BOOKMARKABLE = 4 |
Definition at line 55 of file pq_baseresultset.hxx.
Referenced by pq_sdbc_driver::BaseResultSet::convertFastPropertyValue(), and pq_sdbc_driver::UpdateableResultSet::UpdateableResultSet().
const sal_Int32 pq_sdbc_driver::BASERESULTSET_RESULT_SET_CONCURRENCY = 5 |
Definition at line 56 of file pq_baseresultset.hxx.
Referenced by pq_sdbc_driver::BaseResultSet::convertFastPropertyValue(), and pq_sdbc_driver::UpdateableResultSet::UpdateableResultSet().
const sal_Int32 pq_sdbc_driver::BASERESULTSET_RESULT_SET_TYPE = 6 |
Definition at line 57 of file pq_baseresultset.hxx.
Referenced by pq_sdbc_driver::BaseResultSet::convertFastPropertyValue(), and pq_sdbc_driver::UpdateableResultSet::UpdateableResultSet().
const int pq_sdbc_driver::PQ_VARHDRSZ = sizeof( sal_Int32 ) |
Definition at line 92 of file pq_resultsetmetadata.cxx.
Referenced by extractPrecisionAndScale().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_CURSOR_NAME = 0 |
Definition at line 54 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_ESCAPE_PROCESSING = 1 |
Definition at line 55 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_FETCH_DIRECTION = 2 |
Definition at line 56 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_FETCH_SIZE = 3 |
Definition at line 57 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_MAX_FIELD_SIZE = 4 |
Definition at line 58 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_MAX_ROWS = 5 |
Definition at line 59 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue(), and pq_sdbc_driver::PreparedStatement::PreparedStatement().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_QUERY_TIME_OUT = 6 |
Definition at line 60 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue(), and pq_sdbc_driver::PreparedStatement::PreparedStatement().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_RESULT_SET_CONCURRENCY = 7 |
Definition at line 61 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue(), and pq_sdbc_driver::PreparedStatement::PreparedStatement().
const sal_Int32 pq_sdbc_driver::PREPARED_STATEMENT_RESULT_SET_TYPE = 8 |
Definition at line 62 of file pq_preparedstatement.hxx.
Referenced by pq_sdbc_driver::PreparedStatement::convertFastPropertyValue(), and pq_sdbc_driver::PreparedStatement::PreparedStatement().
const sal_Int32 pq_sdbc_driver::STATEMENT_CURSOR_NAME = 0 |
Definition at line 57 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::STATEMENT_ESCAPE_PROCESSING = 1 |
Definition at line 58 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::STATEMENT_FETCH_DIRECTION = 2 |
Definition at line 59 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::STATEMENT_FETCH_SIZE = 3 |
Definition at line 60 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::STATEMENT_MAX_FIELD_SIZE = 4 |
Definition at line 61 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue().
const sal_Int32 pq_sdbc_driver::STATEMENT_MAX_ROWS = 5 |
Definition at line 62 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue(), and pq_sdbc_driver::Statement::Statement().
const sal_Int32 pq_sdbc_driver::STATEMENT_QUERY_TIME_OUT = 6 |
Definition at line 63 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue(), and pq_sdbc_driver::Statement::Statement().
const sal_Int32 pq_sdbc_driver::STATEMENT_RESULT_SET_CONCURRENCY = 7 |
Definition at line 64 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue(), and pq_sdbc_driver::Statement::Statement().
const sal_Int32 pq_sdbc_driver::STATEMENT_RESULT_SET_TYPE = 8 |
Definition at line 65 of file pq_statement.hxx.
Referenced by pq_sdbc_driver::Statement::convertFastPropertyValue(), and pq_sdbc_driver::Statement::Statement().
const sal_Int32 pq_sdbc_driver::TABLE_INDEX_CATALOG = 0 |
Definition at line 128 of file pq_statics.hxx.
Referenced by getStatics(), pq_sdbc_driver::Tables::refresh(), and pq_sdbc_driver::Users::refresh().
const sal_Int32 pq_sdbc_driver::TABLE_INDEX_NAME = 2 |
Definition at line 130 of file pq_statics.hxx.
Referenced by getStatics(), and pq_sdbc_driver::Tables::refresh().
const sal_Int32 pq_sdbc_driver::TABLE_INDEX_REMARKS = 4 |
Definition at line 132 of file pq_statics.hxx.
Referenced by getStatics(), and pq_sdbc_driver::Tables::refresh().
const sal_Int32 pq_sdbc_driver::TABLE_INDEX_SCHEMA = 1 |
Definition at line 129 of file pq_statics.hxx.
Referenced by getStatics(), and pq_sdbc_driver::Tables::refresh().
const sal_Int32 pq_sdbc_driver::TABLE_INDEX_TYPE = 3 |
Definition at line 131 of file pq_statics.hxx.
Referenced by getStatics(), and pq_sdbc_driver::Tables::refresh().