LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dbaccess::ODataColumn Class Reference

#include <datacolumn.hxx>

Inheritance diagram for dbaccess::ODataColumn:
[legend]
Collaboration diagram for dbaccess::ODataColumn:
[legend]

Public Member Functions

 ODataColumn (const css::uno::Reference< css::sdbc::XResultSetMetaData > &_xMetaData, const css::uno::Reference< css::sdbc::XRow > &_xRow, const css::uno::Reference< css::sdbc::XRowUpdate > &_xRowUpdate, sal_Int32 _nPos, const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxDBMeta)
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL disposing () override
 
virtual sal_Bool SAL_CALL wasNull () override
 
virtual OUString SAL_CALL getString () override
 
virtual sal_Bool SAL_CALL getBoolean () override
 
virtual sal_Int8 SAL_CALL getByte () override
 
virtual sal_Int16 SAL_CALL getShort () override
 
virtual sal_Int32 SAL_CALL getInt () override
 
virtual sal_Int64 SAL_CALL getLong () override
 
virtual float SAL_CALL getFloat () override
 
virtual double SAL_CALL getDouble () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBytes () override
 
virtual css::util::Date SAL_CALL getDate () override
 
virtual css::util::Time SAL_CALL getTime () override
 
virtual css::util::DateTime SAL_CALL getTimestamp () override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream () override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream () override
 
virtual css::uno::Any SAL_CALL getObject (const css::uno::Reference< css::container::XNameAccess > &typeMap) override
 
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL getRef () override
 
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob () override
 
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob () override
 
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray () override
 
virtual void SAL_CALL updateNull () override
 
virtual void SAL_CALL updateBoolean (sal_Bool x) override
 
virtual void SAL_CALL updateByte (sal_Int8 x) override
 
virtual void SAL_CALL updateShort (sal_Int16 x) override
 
virtual void SAL_CALL updateInt (sal_Int32 x) override
 
virtual void SAL_CALL updateLong (sal_Int64 x) override
 
virtual void SAL_CALL updateFloat (float x) override
 
virtual void SAL_CALL updateDouble (double x) override
 
virtual void SAL_CALL updateString (const OUString &x) override
 
virtual void SAL_CALL updateBytes (const css::uno::Sequence< sal_Int8 > &x) override
 
virtual void SAL_CALL updateDate (const css::util::Date &x) override
 
virtual void SAL_CALL updateTime (const css::util::Time &x) override
 
virtual void SAL_CALL updateTimestamp (const css::util::DateTime &x) override
 
virtual void SAL_CALL updateBinaryStream (const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL updateCharacterStream (const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL updateObject (const css::uno::Any &x) override
 
virtual void SAL_CALL updateNumericObject (const css::uno::Any &x, sal_Int32 scale) override
 
- Public Member Functions inherited from dbaccess::OResultColumn
 OResultColumn (const css::uno::Reference< css::sdbc::XResultSetMetaData > &_xMetaData, sal_Int32 _nPos, const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxDBMeta)
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL disposing () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
- Public Member Functions inherited from connectivity::OColumn
 OColumn ()
 
 OColumn (OUString _aTableName, const OUString &_aColumnName, sal_Int32 _aNullable, sal_Int32 _aColumnDisplaySize, sal_Int32 _aPrecision, sal_Int32 _aScale, sal_Int32 _aColumnType)
 
bool isAutoIncrement () const
 
bool isCaseSensitive () const
 
bool isSearchable () const
 
bool isCurrency () const
 
bool isSigned () const
 
bool isReadOnly () const
 
bool isWritable () const
 
bool isDefinitelyWritable () const
 
sal_Int32 isNullable () const
 
sal_Int32 getColumnDisplaySize () const
 
sal_Int32 getPrecision () const
 
sal_Int32 getScale () const
 
sal_Int32 getColumnType () const
 
const OUString & getColumnLabel () const
 
const OUString & getColumnName () const
 
const OUString & getTableName () const
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ~ODataColumn () override
 
- Protected Member Functions inherited from dbaccess::OResultColumn
virtual ~OResultColumn () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 

Private Attributes

css::uno::Reference< css::sdbc::XRow > m_xRow
 
css::uno::Reference< css::sdbc::XRowUpdate > m_xRowUpdate
 

Additional Inherited Members

- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn >
static std::mutextheMutex ()
 
- Protected Attributes inherited from dbaccess::OResultColumn
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData
 
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xDBMetaData
 
sal_Int32 m_nPos
 
css::uno::Any m_aIsRowVersion
 
mutable ::std::optional< sal_Boolm_isSigned
 
mutable ::std::optional< sal_Boolm_isCurrency
 
mutable ::std::optional< sal_Boolm_bSearchable
 
mutable ::std::optional< sal_Boolm_isCaseSensitive
 
mutable ::std::optional< sal_Boolm_isReadOnly
 
mutable ::std::optional< sal_Boolm_isWritable
 
mutable ::std::optional< sal_Boolm_isDefinitelyWritable
 
mutable ::std::optional< sal_Boolm_isAutoIncrement
 
mutable ::std::optional< sal_Int32 > m_isNullable
 
mutable ::std::optional< OUString > m_sColumnLabel
 
mutable ::std::optional< sal_Int32 > m_nColumnDisplaySize
 
mutable ::std::optional< sal_Int32 > m_nColumnType
 
mutable ::std::optional< sal_Int32 > m_nPrecision
 
mutable ::std::optional< sal_Int32 > m_nScale
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 33 of file datacolumn.hxx.

Constructor & Destructor Documentation

◆ ~ODataColumn()

ODataColumn::~ODataColumn ( )
overrideprotectedvirtual

Definition at line 49 of file datacolumn.cxx.

◆ ODataColumn()

ODataColumn::ODataColumn ( const css::uno::Reference< css::sdbc::XResultSetMetaData > &  _xMetaData,
const css::uno::Reference< css::sdbc::XRow > &  _xRow,
const css::uno::Reference< css::sdbc::XRowUpdate > &  _xRowUpdate,
sal_Int32  _nPos,
const css::uno::Reference< css::sdbc::XDatabaseMetaData > &  _rxDBMeta 
)

Definition at line 37 of file datacolumn.cxx.

References _nPos, and m_xRow.

Member Function Documentation

◆ acquire()

virtual void SAL_CALL dbaccess::ODataColumn::acquire ( )
inlineoverridevirtualnoexcept

Definition at line 54 of file datacolumn.hxx.

◆ disposing()

void ODataColumn::disposing ( )
overridevirtual

Reimplemented from dbaccess::OResultColumn.

Definition at line 90 of file datacolumn.cxx.

References dbaccess::OResultColumn::disposing(), m_xRow, and m_xRowUpdate.

◆ getArray()

Reference< XArray > ODataColumn::getArray ( )
overridevirtual

Definition at line 251 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getBinaryStream()

Reference< css::io::XInputStream > ODataColumn::getBinaryStream ( )
overridevirtual

Definition at line 203 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getBlob()

Reference< XBlob > ODataColumn::getBlob ( )
overridevirtual

Definition at line 235 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getBoolean()

sal_Bool ODataColumn::getBoolean ( )
overridevirtual

Definition at line 115 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getByte()

sal_Int8 ODataColumn::getByte ( )
overridevirtual

Definition at line 123 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getBytes()

Sequence< sal_Int8 > ODataColumn::getBytes ( )
overridevirtual

Definition at line 171 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getCharacterStream()

Reference< css::io::XInputStream > ODataColumn::getCharacterStream ( )
overridevirtual

Definition at line 211 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getClob()

Reference< XClob > ODataColumn::getClob ( )
overridevirtual

Definition at line 243 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getDate()

css::util::Date ODataColumn::getDate ( )
overridevirtual

Definition at line 179 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getDouble()

double ODataColumn::getDouble ( )
overridevirtual

Definition at line 163 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getFloat()

float ODataColumn::getFloat ( )
overridevirtual

Definition at line 155 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getImplementationId()

Sequence< sal_Int8 > ODataColumn::getImplementationId ( )
overridevirtual

Reimplemented from dbaccess::OResultColumn.

Reimplemented in dbaccess::ORowSetDataColumn.

Definition at line 62 of file datacolumn.cxx.

◆ getImplementationName()

OUString ODataColumn::getImplementationName ( )
overridevirtual

Reimplemented from dbaccess::OResultColumn.

Definition at line 79 of file datacolumn.cxx.

◆ getInt()

sal_Int32 ODataColumn::getInt ( )
overridevirtual

Definition at line 139 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getLong()

sal_Int64 ODataColumn::getLong ( )
overridevirtual

Definition at line 147 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getObject()

Any ODataColumn::getObject ( const css::uno::Reference< css::container::XNameAccess > &  typeMap)
overridevirtual

Definition at line 219 of file datacolumn.cxx.

References Any, m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getRef()

Reference< XRef > ODataColumn::getRef ( )
overridevirtual

Definition at line 227 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getShort()

sal_Int16 ODataColumn::getShort ( )
overridevirtual

Definition at line 131 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getString()

OUString ODataColumn::getString ( )
overridevirtual

Definition at line 107 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getSupportedServiceNames()

Sequence< OUString > ODataColumn::getSupportedServiceNames ( )
overridevirtual

Reimplemented from dbaccess::OResultColumn.

Definition at line 84 of file datacolumn.cxx.

References SERVICE_SDB_DATACOLUMN, SERVICE_SDB_RESULTCOLUMN, and SERVICE_SDBCX_COLUMN.

◆ getTime()

css::util::Time ODataColumn::getTime ( )
overridevirtual

Definition at line 187 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getTimestamp()

css::util::DateTime ODataColumn::getTimestamp ( )
overridevirtual

Definition at line 195 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRow.

◆ getTypes()

Sequence< Type > ODataColumn::getTypes ( )
overridevirtual

Definition at line 54 of file datacolumn.cxx.

References aTypes.

◆ queryInterface()

Any SAL_CALL ODataColumn::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Definition at line 67 of file datacolumn.cxx.

References Any.

◆ release()

virtual void SAL_CALL dbaccess::ODataColumn::release ( )
inlineoverridevirtualnoexcept

Definition at line 55 of file datacolumn.hxx.

◆ updateBinaryStream()

void ODataColumn::updateBinaryStream ( const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

Definition at line 372 of file datacolumn.cxx.

References length, m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateBoolean()

void ODataColumn::updateBoolean ( sal_Bool  x)
overridevirtual

Definition at line 268 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateByte()

void ODataColumn::updateByte ( sal_Int8  x)
overridevirtual

Definition at line 276 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateBytes()

void ODataColumn::updateBytes ( const css::uno::Sequence< sal_Int8 > &  x)
overridevirtual

Definition at line 332 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateCharacterStream()

void ODataColumn::updateCharacterStream ( const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

Definition at line 364 of file datacolumn.cxx.

References length, m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateDate()

void ODataColumn::updateDate ( const css::util::Date &  x)
overridevirtual

Definition at line 340 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateDouble()

void ODataColumn::updateDouble ( double  x)
overridevirtual

Definition at line 316 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateFloat()

void ODataColumn::updateFloat ( float  x)
overridevirtual

Definition at line 308 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateInt()

void ODataColumn::updateInt ( sal_Int32  x)
overridevirtual

Definition at line 292 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateLong()

void ODataColumn::updateLong ( sal_Int64  x)
overridevirtual

Definition at line 300 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateNull()

void ODataColumn::updateNull ( )
overridevirtual

Definition at line 260 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, and m_xRowUpdate.

◆ updateNumericObject()

void ODataColumn::updateNumericObject ( const css::uno::Any &  x,
sal_Int32  scale 
)
overridevirtual

Definition at line 380 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, scale, and x.

◆ updateObject()

void ODataColumn::updateObject ( const css::uno::Any &  x)
overridevirtual

◆ updateShort()

void ODataColumn::updateShort ( sal_Int16  x)
overridevirtual

Definition at line 284 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateString()

void ODataColumn::updateString ( const OUString &  x)
overridevirtual

Definition at line 324 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateTime()

void ODataColumn::updateTime ( const css::util::Time &  x)
overridevirtual

Definition at line 348 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ updateTimestamp()

void ODataColumn::updateTimestamp ( const css::util::DateTime &  x)
overridevirtual

Definition at line 356 of file datacolumn.cxx.

References m_aMutex, dbaccess::OResultColumn::m_nPos, m_xRowUpdate, and x.

◆ wasNull()

sal_Bool ODataColumn::wasNull ( )
overridevirtual

Definition at line 99 of file datacolumn.cxx.

References m_aMutex, and m_xRow.

Member Data Documentation

◆ m_xRow

css::uno::Reference< css::sdbc::XRow > dbaccess::ODataColumn::m_xRow
private

◆ m_xRowUpdate

css::uno::Reference< css::sdbc::XRowUpdate > dbaccess::ODataColumn::m_xRowUpdate
private

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