LibreOffice Module connectivity (master) 1
Public Member Functions | Private Attributes | List of all members
connectivity::flat::OFlatConnection Class Reference

#include <EConnection.hxx>

Inheritance diagram for connectivity::flat::OFlatConnection:
[legend]
Collaboration diagram for connectivity::flat::OFlatConnection:
[legend]

Public Member Functions

 OFlatConnection (ODriver *_pDriver)
 
virtual ~OFlatConnection () override
 
virtual void construct (const OUString &_rUrl, const css::uno::Sequence< css::beans::PropertyValue > &_rInfo) override
 
bool isHeaderLine () const
 
sal_Unicode getFieldDelimiter () const
 
sal_Unicode getStringDelimiter () const
 
sal_Unicode getDecimalDelimiter () const
 
sal_Unicode getThousandDelimiter () const
 
sal_Int32 getMaxRowsToScan () const
 
 DECLARE_SERVICE_INFO ()
 
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL getMetaData () override
 
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > createCatalog () override
 
virtual css::uno::Reference< css::sdbc::XStatement > SAL_CALL createStatement () override
 
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareStatement (const OUString &sql) override
 
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareCall (const OUString &sql) override
 
- Public Member Functions inherited from connectivity::file::OConnection
 OConnection (OFileDriver *_pDriver)
 
virtual void construct (const OUString &_rUrl, const css::uno::Sequence< css::beans::PropertyValue > &_rInfo)
 
virtual void SAL_CALL disposing () override
 
 DECLARE_SERVICE_INFO ()
 
virtual css::uno::Reference< css::sdbc::XStatement > SAL_CALL createStatement () override
 
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareStatement (const OUString &sql) override
 
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareCall (const OUString &sql) override
 
virtual OUString SAL_CALL nativeSQL (const OUString &sql) override
 
virtual void SAL_CALL setAutoCommit (sal_Bool autoCommit) override
 
virtual sal_Bool SAL_CALL getAutoCommit () override
 
virtual void SAL_CALL commit () override
 
virtual void SAL_CALL rollback () override
 
virtual sal_Bool SAL_CALL isClosed () override final
 
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL getMetaData () override
 
virtual void SAL_CALL setReadOnly (sal_Bool readOnly) override
 
virtual sal_Bool SAL_CALL isReadOnly () override
 
virtual void SAL_CALL setCatalog (const OUString &catalog) override
 
virtual OUString SAL_CALL getCatalog () override
 
virtual void SAL_CALL setTransactionIsolation (sal_Int32 level) override
 
virtual sal_Int32 SAL_CALL getTransactionIsolation () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTypeMap () override
 
virtual void SAL_CALL setTypeMap (const css::uno::Reference< css::container::XNameAccess > &typeMap) override
 
virtual void SAL_CALL close () override final
 
virtual css::uno::Any SAL_CALL getWarnings () override
 
virtual void SAL_CALL clearWarnings () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
css::uno::Reference< css::ucb::XDynamicResultSet > getDir () const
 
const css::uno::Reference< css::ucb::XContent > & getContent () const
 
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > createCatalog ()
 
bool matchesExtension (const OUString &_rExt) const
 
const OUString & getExtension () const
 
bool isCaseSensitiveExtension () const
 
OFileDrivergetDriver () const
 
bool showDeleted () const
 
bool isCheckEnabled () const
 
bool isTextEncodingDefaulted () const
 
void setCaseSensitiveExtension (bool _bIsCS, GrantAccess)
 
- Public Member Functions inherited from connectivity::OMetaConnection
 OMetaConnection ()
 
rtl_TextEncoding getTextEncoding () const
 
const OUString & getURL () const
 
void setURL (const OUString &_rsUrl)
 
void throwGenericSQLException (TranslateId pErrorResourceId, const css::uno::Reference< css::uno::XInterface > &_xContext)
 
const SharedResourcesgetResources () const
 
void setConnectionInfo (const css::uno::Sequence< css::beans::PropertyValue > &_aInfo)
 
const css::uno::Sequence< css::beans::PropertyValue > & getConnectionInfo () const
 
virtual void SAL_CALL disposing () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 

Private Attributes

sal_Int32 m_nMaxRowsToScan
 
bool m_bHeaderLine
 
sal_Unicode m_cFieldDelimiter
 
sal_Unicode m_cStringDelimiter
 
sal_Unicode m_cDecimalDelimiter
 
sal_Unicode m_cThousandDelimiter
 

Additional Inherited Members

- Static Public Member Functions inherited from connectivity::file::OConnection
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Static Public Member Functions inherited from connectivity::OMetaConnection
::dbtools::OPropertyMapgetPropMap ()
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Protected Member Functions inherited from connectivity::file::OConnection
void throwUrlNotValid (const OUString &_rsUrl, const OUString &_rsMessage)
 
virtual ~OConnection () override
 
- Protected Attributes inherited from connectivity::file::OConnection
css::uno::WeakReference< css::sdbcx::XTablesSupplier > m_xCatalog
 
OUString m_aFilenameExtension
 
OFileDriverm_pDriver
 
css::uno::Reference< css::ucb::XDynamicResultSet > m_xDir
 
css::uno::Reference< css::ucb::XContent > m_xContent
 
bool m_bAutoCommit
 
bool m_bReadOnly
 
bool m_bShowDeleted
 
bool m_bCaseSensitiveExtension
 
bool m_bCheckSQL92
 
bool m_bDefaultTextEncoding
 
- Protected Attributes inherited from connectivity::OMetaConnection
::osl::Mutex m_aMutex
 
css::uno::Sequence< css::beans::PropertyValue > m_aConnectionInfo
 
connectivity::OWeakRefArray m_aStatements
 
OUString m_sURL
 
rtl_TextEncoding m_nTextEncoding
 
css::uno::WeakReference< css::sdbc::XDatabaseMetaData > m_xMetaData
 
SharedResources m_aResources
 

Detailed Description

Definition at line 27 of file EConnection.hxx.

Constructor & Destructor Documentation

◆ OFlatConnection()

connectivity::flat::OFlatConnection::OFlatConnection ( ODriver _pDriver)

◆ ~OFlatConnection()

virtual connectivity::flat::OFlatConnection::~OFlatConnection ( )
overridevirtual

Member Function Documentation

◆ construct()

virtual void connectivity::flat::OFlatConnection::construct ( const OUString &  _rUrl,
const css::uno::Sequence< css::beans::PropertyValue > &  _rInfo 
)
overridevirtual
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException
css::uno::DeploymentException

Reimplemented from connectivity::file::OConnection.

◆ createCatalog()

virtual css::uno::Reference< css::sdbcx::XTablesSupplier > connectivity::flat::OFlatConnection::createCatalog ( )
overridevirtual

Reimplemented from connectivity::file::OConnection.

◆ createStatement()

virtual css::uno::Reference< css::sdbc::XStatement > SAL_CALL connectivity::flat::OFlatConnection::createStatement ( )
overridevirtual

Reimplemented from connectivity::file::OConnection.

◆ DECLARE_SERVICE_INFO()

connectivity::flat::OFlatConnection::DECLARE_SERVICE_INFO ( )

◆ getDecimalDelimiter()

sal_Unicode connectivity::flat::OFlatConnection::getDecimalDelimiter ( ) const
inline

◆ getFieldDelimiter()

sal_Unicode connectivity::flat::OFlatConnection::getFieldDelimiter ( ) const
inline

Definition at line 44 of file EConnection.hxx.

References m_cFieldDelimiter.

◆ getMaxRowsToScan()

sal_Int32 connectivity::flat::OFlatConnection::getMaxRowsToScan ( ) const
inline

Definition at line 48 of file EConnection.hxx.

References m_nMaxRowsToScan.

Referenced by connectivity::flat::OFlatTable::fillColumns().

◆ getMetaData()

virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL connectivity::flat::OFlatConnection::getMetaData ( )
overridevirtual

Reimplemented from connectivity::file::OConnection.

◆ getStringDelimiter()

sal_Unicode connectivity::flat::OFlatConnection::getStringDelimiter ( ) const
inline

Definition at line 45 of file EConnection.hxx.

References m_cStringDelimiter.

◆ getThousandDelimiter()

sal_Unicode connectivity::flat::OFlatConnection::getThousandDelimiter ( ) const
inline

◆ isHeaderLine()

bool connectivity::flat::OFlatConnection::isHeaderLine ( ) const
inline

Definition at line 43 of file EConnection.hxx.

References m_bHeaderLine.

Referenced by connectivity::flat::OFlatTable::fillColumns().

◆ prepareCall()

virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL connectivity::flat::OFlatConnection::prepareCall ( const OUString &  sql)
overridevirtual

Reimplemented from connectivity::file::OConnection.

◆ prepareStatement()

virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL connectivity::flat::OFlatConnection::prepareStatement ( const OUString &  sql)
overridevirtual

Reimplemented from connectivity::file::OConnection.

Member Data Documentation

◆ m_bHeaderLine

bool connectivity::flat::OFlatConnection::m_bHeaderLine
private

Definition at line 31 of file EConnection.hxx.

Referenced by isHeaderLine().

◆ m_cDecimalDelimiter

sal_Unicode connectivity::flat::OFlatConnection::m_cDecimalDelimiter
private

Definition at line 34 of file EConnection.hxx.

Referenced by getDecimalDelimiter().

◆ m_cFieldDelimiter

sal_Unicode connectivity::flat::OFlatConnection::m_cFieldDelimiter
private

Definition at line 32 of file EConnection.hxx.

Referenced by getFieldDelimiter().

◆ m_cStringDelimiter

sal_Unicode connectivity::flat::OFlatConnection::m_cStringDelimiter
private

Definition at line 33 of file EConnection.hxx.

Referenced by getStringDelimiter().

◆ m_cThousandDelimiter

sal_Unicode connectivity::flat::OFlatConnection::m_cThousandDelimiter
private

Definition at line 35 of file EConnection.hxx.

Referenced by getThousandDelimiter().

◆ m_nMaxRowsToScan

sal_Int32 connectivity::flat::OFlatConnection::m_nMaxRowsToScan
private

Definition at line 30 of file EConnection.hxx.

Referenced by getMaxRowsToScan().


The documentation for this class was generated from the following file: