LibreOffice Module connectivity (master) 1
|
Classes | |
class | Blob |
class | Catalog |
class | Clob |
class | Column |
class | Columns |
class | ColumnTypeInfo |
class | Connection |
class | FirebirdDriver |
class | Indexes |
Firebird has a non-standard DROP INDEX statement, hence we need to override OIndexesHelper::dropObject. More... | |
class | Keys |
class | ODatabaseMetaData |
class | OPreparedStatement |
class | OPropertyArrayUsageHelper |
class | OResultSet |
This ResultSet does not deal with the management of the SQLDA it is supplied with. More... | |
class | OResultSetMetaData |
class | OStatement |
class | OStatementCommonBase |
class | Table |
Implements sdbcx.Table. More... | |
class | Tables |
This implements com.sun.star.sdbcx.Container, which seems to be also known by the name of Tables and Collection. More... | |
class | User |
This implements com.sun.star.sdbcx.Container. More... | |
class | Users |
This implements com.sun.star.sdbcx.Container. More... | |
class | View |
class | Views |
Typedefs | |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XBlob, css::io::XInputStream > | Blob_BASE |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XClob > | Clob_BASE |
typedef ::comphelper::OIdPropertyArrayUsageHelper< Column > | Column_PROP |
typedef ::cppu::WeakComponentImplHelper< css::document::XDocumentEventListener, css::lang::XServiceInfo, css::lang::XUnoTunnel, css::sdbc::XConnection, css::sdbc::XWarningsSupplier > | Connection_BASE |
typedef std::vector< ::connectivity::OTypeInfo > | TTypeInfoVector |
typedef std::vector< css::uno::WeakReferenceHelper > | OWeakRefArray |
typedef ::cppu::WeakImplHelper< css::sdbc::XDatabaseMetaData > | ODatabaseMetaData_BASE |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::sdbcx::XDataDefinitionSupplier, css::lang::XServiceInfo > | ODriver_BASE |
typedef ::cppu::ImplHelper5< css::sdbc::XPreparedStatement, css::sdbc::XParameters, css::sdbc::XPreparedBatchExecution, css::sdbc::XResultSetMetaDataSupplier, css::lang::XServiceInfo > | OPreparedStatement_Base |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XResultSet, css::sdbc::XRow, css::sdbc::XResultSetMetaDataSupplier, css::util::XCancellable, css::sdbc::XCloseable, css::sdbc::XColumnLocate, css::lang::XServiceInfo > | OResultSet_BASE |
typedef ::cppu::WeakImplHelper< css::sdbc::XResultSetMetaData > | OResultSetMetaData_BASE |
typedef ::cppu::ImplHelper1< css::sdbc::XStatement > | OStatement_Base |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XWarningsSupplier, css::util::XCancellable, css::sdbc::XCloseable, css::sdbc::XMultipleResults > | OStatementCommonBase_Base |
typedef ::connectivity::sdbcx::OView | View_Base |
typedef ::cppu::ImplHelper1< css::sdbcx::XAlterView > | View_IBASE |
Enumerations | |
enum class | BlobSubtype { Blob = 0 , Clob = 1 , Image = -9546 } |
enum class | NumberSubType { Other = 0 , Numeric = 1 , Decimal = 2 } |
Numeric and decimal types can be identified by their subtype in Firebird API. More... | |
Functions | |
void | checkDisposed (bool _bThrow) |
OUString | sanitizeIdentifier (std::u16string_view rIdentifier) |
Make sure an identifier is safe to use within the database. More... | |
bool | IndicatesError (const ISC_STATUS_ARRAY &rStatusVector) |
OUString | StatusVectorToString (const ISC_STATUS_ARRAY &rStatusVector, std::u16string_view rCause) |
void | evaluateStatusVector (const ISC_STATUS_ARRAY &rStatusVector, std::u16string_view aCause, const css::uno::Reference< css::uno::XInterface > &_rxContext) |
Evaluate a firebird status vector and throw exceptions as necessary. More... | |
short | getFBTypeFromBlrType (short blrType) |
Internally (i.e. More... | |
void | mallocSQLVAR (XSQLDA *pSqlda) |
void | freeSQLVAR (XSQLDA *pSqlda) |
sal_Int64 | pow10Integer (int nDecimalCount) |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XBlob, css::io::XInputStream > connectivity::firebird::Blob_BASE |
Definition at line 25 of file drivers/firebird/Blob.hxx.
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XClob > connectivity::firebird::Clob_BASE |
Definition at line 23 of file drivers/firebird/Clob.hxx.
Definition at line 16 of file Column.hxx.
typedef ::cppu::WeakComponentImplHelper< css::document::XDocumentEventListener, css::lang::XServiceInfo, css::lang::XUnoTunnel, css::sdbc::XConnection, css::sdbc::XWarningsSupplier > connectivity::firebird::Connection_BASE |
Definition at line 52 of file drivers/firebird/Connection.hxx.
typedef ::cppu::WeakImplHelper< css::sdbc::XDatabaseMetaData> connectivity::firebird::ODatabaseMetaData_BASE |
Definition at line 38 of file drivers/firebird/DatabaseMetaData.hxx.
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::sdbcx::XDataDefinitionSupplier, css::lang::XServiceInfo > connectivity::firebird::ODriver_BASE |
Definition at line 42 of file drivers/firebird/Driver.hxx.
typedef ::cppu::ImplHelper5< css::sdbc::XPreparedStatement, css::sdbc::XParameters, css::sdbc::XPreparedBatchExecution, css::sdbc::XResultSetMetaDataSupplier, css::lang::XServiceInfo> connectivity::firebird::OPreparedStatement_Base |
Definition at line 42 of file drivers/firebird/PreparedStatement.hxx.
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XResultSet, css::sdbc::XRow, css::sdbc::XResultSetMetaDataSupplier, css::util::XCancellable, css::sdbc::XCloseable, css::sdbc::XColumnLocate, css::lang::XServiceInfo> connectivity::firebird::OResultSet_BASE |
Definition at line 49 of file drivers/firebird/ResultSet.hxx.
typedef ::cppu::WeakImplHelper< css::sdbc::XResultSetMetaData> connectivity::firebird::OResultSetMetaData_BASE |
Definition at line 34 of file drivers/firebird/ResultSetMetaData.hxx.
typedef ::cppu::ImplHelper1< css::sdbc::XStatement > connectivity::firebird::OStatement_Base |
Definition at line 31 of file Statement.hxx.
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XWarningsSupplier, css::util::XCancellable, css::sdbc::XCloseable, css::sdbc::XMultipleResults> connectivity::firebird::OStatementCommonBase_Base |
Definition at line 45 of file StatementCommonBase.hxx.
typedef std::vector< css::uno::WeakReferenceHelper > connectivity::firebird::OWeakRefArray |
Definition at line 60 of file drivers/firebird/Connection.hxx.
typedef std::vector< ::connectivity::OTypeInfo> connectivity::firebird::TTypeInfoVector |
Definition at line 59 of file drivers/firebird/Connection.hxx.
typedef ::cppu::ImplHelper1<css::sdbcx::XAlterView> connectivity::firebird::View_IBASE |
|
strong |
|
strong |
void connectivity::firebird::checkDisposed | ( | bool | _bThrow | ) |
css::lang::DisposedException |
Definition at line 208 of file Driver.cxx.
Referenced by connectivity::firebird::Blob::available(), connectivity::firebird::OStatementCommonBase::cancel(), connectivity::firebird::Connection::close(), connectivity::firebird::OPreparedStatement::close(), connectivity::firebird::OStatementCommonBase::close(), connectivity::firebird::Connection::commit(), connectivity::firebird::Connection::createClob(), connectivity::firebird::Connection::createStatement(), connectivity::firebird::OPreparedStatement::ensurePrepared(), connectivity::firebird::OPreparedStatement::execute(), connectivity::firebird::OStatement::executeQuery(), connectivity::firebird::Connection::getAutoCommit(), connectivity::firebird::Blob::getBytes(), connectivity::firebird::Clob::getCharacterStream(), connectivity::firebird::OPreparedStatement::getConnection(), connectivity::firebird::OStatement::getConnection(), connectivity::firebird::Connection::getMetaData(), connectivity::firebird::OPreparedStatement::getMetaData(), connectivity::firebird::OStatementCommonBase::getResultSet(), connectivity::firebird::Clob::getSubString(), connectivity::firebird::Connection::getTransactionIsolation(), IMPLEMENT_SERVICE_INFO(), connectivity::firebird::Connection::isReadOnly(), connectivity::firebird::Blob::length(), connectivity::firebird::Clob::length(), connectivity::firebird::Connection::prepareCall(), connectivity::firebird::Connection::prepareStatement(), connectivity::firebird::Blob::readBytes(), connectivity::firebird::Blob::readOneSegment(), connectivity::firebird::Connection::rollback(), connectivity::firebird::Connection::setAutoCommit(), connectivity::firebird::OPreparedStatement::setClob(), connectivity::firebird::OPreparedStatement::setDouble(), connectivity::firebird::OPreparedStatement::setNull(), connectivity::firebird::OPreparedStatement::setObjectNull(), connectivity::firebird::Connection::setReadOnly(), connectivity::firebird::OPreparedStatement::setString(), connectivity::firebird::Connection::setTransactionIsolation(), and connectivity::firebird::OPreparedStatement::setValue().
void connectivity::firebird::evaluateStatusVector | ( | const ISC_STATUS_ARRAY & | rStatusVector, |
std::u16string_view | aCause, | ||
const css::uno::Reference< css::uno::XInterface > & | _rxContext | ||
) |
Evaluate a firebird status vector and throw exceptions as necessary.
The content of the status vector is included in the thrown exception.
css::sdbc::SQLException |
Referenced by connectivity::firebird::Connection::attachServiceManager(), connectivity::firebird::Blob::closeBlob(), connectivity::firebird::OPreparedStatement::closeBlobAfterWriting(), connectivity::firebird::Connection::commit(), connectivity::firebird::Connection::construct(), connectivity::firebird::Connection::detachServiceManager(), connectivity::firebird::Connection::disposing(), connectivity::firebird::Blob::ensureBlobIsOpened(), connectivity::firebird::OPreparedStatement::ensurePrepared(), connectivity::firebird::OPreparedStatement::execute(), connectivity::firebird::OStatement::executeQuery(), connectivity::firebird::OStatementCommonBase::freeStatementHandle(), connectivity::firebird::OStatementCommonBase::getSqlInfoItem(), connectivity::firebird::OStatementCommonBase::getStatementChangeCount(), connectivity::firebird::OPreparedStatement::openBlobForWriting(), connectivity::firebird::OStatementCommonBase::prepareAndDescribeStatement(), connectivity::firebird::Connection::runBackupService(), connectivity::firebird::OPreparedStatement::setClob(), and connectivity::firebird::Connection::setupTransaction().
void connectivity::firebird::freeSQLVAR | ( | XSQLDA * | pSqlda | ) |
short connectivity::firebird::getFBTypeFromBlrType | ( | short | blrType | ) |
Internally (i.e.
in RDB$FIELD_TYPE) firebird stores the data type for a column as defined in blr_*, however in the firebird api the SQL_* types are used, hence we need to be able to convert between the two when retrieving column metadata.
|
inline |
Definition at line 92 of file Util.hxx.
Referenced by connectivity::firebird::Blob::readBytes(), and connectivity::firebird::Blob::readOneSegment().
void connectivity::firebird::mallocSQLVAR | ( | XSQLDA * | pSqlda | ) |
sal_Int64 connectivity::firebird::pow10Integer | ( | int | nDecimalCount | ) |
Referenced by connectivity::firebird::OResultSet::makeNumericString().
OUString connectivity::firebird::sanitizeIdentifier | ( | std::u16string_view | rIdentifier | ) |
Make sure an identifier is safe to use within the database.
Currently firebird seems to return identifiers with 93 character (instead of 31), whereby the name is simply padded with trailing whitespace. This removes all trailing whitespace (i.e. if necessary so that the length is below 31 characters). Firebird automatically compensates for such shorter strings, however any trailing padding makes the gui editing of such names harder, hence we remove all trailing whitespace.
Referenced by connectivity::firebird::OResultSetMetaData::getColumnLabel(), connectivity::firebird::OResultSetMetaData::getColumnName(), and connectivity::firebird::ODatabaseMetaData::lcl_getKeys().
OUString connectivity::firebird::StatusVectorToString | ( | const ISC_STATUS_ARRAY & | rStatusVector, |
std::u16string_view | rCause | ||
) |