LibreOffice Module connectivity (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
connectivity::file::OResultSet Class Reference

#include <FResultSet.hxx>

Inheritance diagram for connectivity::file::OResultSet:
[legend]
Collaboration diagram for connectivity::file::OResultSet:
[legend]

Public Member Functions

 DECLARE_SERVICE_INFO ()
 
 OResultSet (OStatement_Base *pStmt, connectivity::OSQLParseTreeIterator &_aSQLIterator)
 
virtual void SAL_CALL disposing () override final
 
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 css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual sal_Bool SAL_CALL next () override
 
virtual sal_Bool SAL_CALL isBeforeFirst () override
 
virtual sal_Bool SAL_CALL isAfterLast () override
 
virtual sal_Bool SAL_CALL isFirst () override
 
virtual sal_Bool SAL_CALL isLast () override
 
virtual void SAL_CALL beforeFirst () override
 
virtual void SAL_CALL afterLast () override
 
virtual sal_Bool SAL_CALL first () override
 
virtual sal_Bool SAL_CALL last () override
 
virtual sal_Int32 SAL_CALL getRow () override
 
virtual sal_Bool SAL_CALL absolute (sal_Int32 row) override
 
virtual sal_Bool SAL_CALL relative (sal_Int32 rows) override
 
virtual sal_Bool SAL_CALL previous () override
 
virtual void SAL_CALL refreshRow () override
 
virtual sal_Bool SAL_CALL rowUpdated () override
 
virtual sal_Bool SAL_CALL rowInserted () override
 
virtual sal_Bool SAL_CALL rowDeleted () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getStatement () override
 
virtual sal_Bool SAL_CALL wasNull () override
 
virtual OUString SAL_CALL getString (sal_Int32 columnIndex) override
 
virtual sal_Bool SAL_CALL getBoolean (sal_Int32 columnIndex) override
 
virtual sal_Int8 SAL_CALL getByte (sal_Int32 columnIndex) override
 
virtual sal_Int16 SAL_CALL getShort (sal_Int32 columnIndex) override
 
virtual sal_Int32 SAL_CALL getInt (sal_Int32 columnIndex) override
 
virtual sal_Int64 SAL_CALL getLong (sal_Int32 columnIndex) override
 
virtual float SAL_CALL getFloat (sal_Int32 columnIndex) override
 
virtual double SAL_CALL getDouble (sal_Int32 columnIndex) override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBytes (sal_Int32 columnIndex) override
 
virtual css::util::Date SAL_CALL getDate (sal_Int32 columnIndex) override
 
virtual css::util::Time SAL_CALL getTime (sal_Int32 columnIndex) override
 
virtual css::util::DateTime SAL_CALL getTimestamp (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream (sal_Int32 columnIndex) override
 
virtual css::uno::Any SAL_CALL getObject (sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override
 
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL getRef (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData () override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL close () override
 
virtual css::uno::Any SAL_CALL getWarnings () override
 
virtual void SAL_CALL clearWarnings () override
 
virtual void SAL_CALL insertRow () override
 
virtual void SAL_CALL updateRow () override
 
virtual void SAL_CALL deleteRow () override
 
virtual void SAL_CALL cancelRowUpdates () override
 
virtual void SAL_CALL moveToInsertRow () override
 
virtual void SAL_CALL moveToCurrentRow () override
 
virtual void SAL_CALL updateNull (sal_Int32 columnIndex) override
 
virtual void SAL_CALL updateBoolean (sal_Int32 columnIndex, sal_Bool x) override
 
virtual void SAL_CALL updateByte (sal_Int32 columnIndex, sal_Int8 x) override
 
virtual void SAL_CALL updateShort (sal_Int32 columnIndex, sal_Int16 x) override
 
virtual void SAL_CALL updateInt (sal_Int32 columnIndex, sal_Int32 x) override
 
virtual void SAL_CALL updateLong (sal_Int32 columnIndex, sal_Int64 x) override
 
virtual void SAL_CALL updateFloat (sal_Int32 columnIndex, float x) override
 
virtual void SAL_CALL updateDouble (sal_Int32 columnIndex, double x) override
 
virtual void SAL_CALL updateString (sal_Int32 columnIndex, const OUString &x) override
 
virtual void SAL_CALL updateBytes (sal_Int32 columnIndex, const css::uno::Sequence< sal_Int8 > &x) override
 
virtual void SAL_CALL updateDate (sal_Int32 columnIndex, const css::util::Date &x) override
 
virtual void SAL_CALL updateTime (sal_Int32 columnIndex, const css::util::Time &x) override
 
virtual void SAL_CALL updateTimestamp (sal_Int32 columnIndex, const css::util::DateTime &x) override
 
virtual void SAL_CALL updateBinaryStream (sal_Int32 columnIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL updateCharacterStream (sal_Int32 columnIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL updateObject (sal_Int32 columnIndex, const css::uno::Any &x) override
 
virtual void SAL_CALL updateNumericObject (sal_Int32 columnIndex, const css::uno::Any &x, sal_Int32 scale) override
 
virtual sal_Int32 SAL_CALL findColumn (const OUString &columnName) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
sal_Int32 mapColumn (sal_Int32 column)
 
void OpenImpl ()
 
void doTableSpecials (const OSQLTable &_xTable)
 
sal_Int32 getRowCountResult () const
 
void setEvaluationRow (const OValueRefRow &_aRow)
 
void setAssignValues (const ORefAssignValues &_aAssignValues)
 
void setBindingRow (const OValueRefRow &_aRow)
 
void setSelectRow (const OValueRefRow &_rRow)
 
void setColumnMapping (std::vector< sal_Int32 > &&_aColumnMapping)
 
void setSqlAnalyzer (OSQLAnalyzer *_pSQLAnalyzer)
 
void setOrderByColumns (std::vector< sal_Int32 > &&_aColumnOrderBy)
 
void setOrderByAscending (std::vector< TAscendingOrder > &&_aOrderbyAsc)
 
void setMetaData (const css::uno::Reference< css::sdbc::XResultSetMetaData > &_xMetaData)
 
virtual bool move (IResultSetHelper::Movement _eCursorPosition, sal_Int32 _nOffset, bool _bRetrieveData) override
 
virtual sal_Int32 getDriverPos () const override
 
virtual bool isRowDeleted () const override
 
virtual bool move (Movement _eCursorPosition, sal_Int32 _nOffset, bool _bRetrieveData)=0
 
virtual sal_Int32 getDriverPos () const =0
 
virtual bool isRowDeleted () const =0
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultSet >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Static Public Member Functions

static void setBoundedColumns (const OValueRefRow &_rRow, const OValueRefRow &_rSelectRow, const ::rtl::Reference< connectivity::OSQLColumns > &_rxColumns, const css::uno::Reference< css::container::XIndexAccess > &_xNames, bool _bSetColumnMapping, const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_xMetaData, std::vector< sal_Int32 > &_rColMapping)
 

Protected Member Functions

void construct ()
 
bool ExecuteRow (IResultSetHelper::Movement eFirstCursorPosition, sal_Int32 nOffset=1, bool bEvaluate=true, bool bRetrieveData=true)
 
std::unique_ptr< OKeyValueGetOrderbyKeyValue (OValueRefRow const &_rRow)
 
bool IsSorted () const
 
bool isCount () const
 
void checkIndex (sal_Int32 columnIndex)
 
const ORowSetValuegetValue (sal_Int32 columnIndex)
 
void updateValue (sal_Int32 columnIndex, const ORowSetValue &x)
 
void clearInsertRow ()
 
void sortRows ()
 
bool Move (IResultSetHelper::Movement eCursorPosition, sal_Int32 nOffset, bool bRetrieveData)
 
virtual bool fillIndexValues (const css::uno::Reference< css::sdbcx::XColumnsSupplier > &_xIndex)
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ~OResultSet () override
 
- Protected Member Functions inherited from connectivity::IResultSetHelper
 ~IResultSetHelper ()
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 

Static Protected Member Functions

static void initializeRow (OValueRefRow &_rRow, sal_Int32 _nColumnCount)
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultSet >
static std::mutextheMutex ()
 

Protected Attributes

std::vector< sal_Int32 > m_aColMapping
 
std::vector< sal_Int32 > m_aOrderbyColumnNumber
 
std::vector< TAscendingOrderm_aOrderbyAscending
 
OValueRefRow m_aSelectRow
 
OValueRefRow m_aRow
 
OValueRefRow m_aEvaluateRow
 
OValueRefRow m_aInsertRow
 
ORefAssignValues m_aAssignValues
 
OSkipDeletedSet m_aSkipDeletedSet
 
::rtl::Reference< OKeySetm_pFileSet
 
OKeySet::iterator m_aFileSetIter
 
std::unique_ptr< OSortIndexm_pSortIndex
 
::rtl::Reference< connectivity::OSQLColumnsm_xColumns
 
rtl::Reference< OFileTablem_pTable
 
connectivity::OSQLParseNodem_pParseTree
 
OSQLAnalyzerm_pSQLAnalyzer
 
connectivity::OSQLParseTreeIteratorm_aSQLIterator
 
sal_Int32 m_nFetchSize
 
sal_Int32 m_nResultSetType
 
sal_Int32 m_nFetchDirection
 
sal_Int32 m_nResultSetConcurrency
 
css::uno::Reference< css::uno::XInterface > m_xStatement
 
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData
 
css::uno::Reference< css::container::XNameAccess > m_xColNames
 
css::uno::Reference< css::container::XIndexAccess > m_xColsIdx
 
sal_Int32 m_nRowPos
 
sal_Int32 m_nFilePos
 
sal_Int32 m_nLastVisitedPos
 
sal_Int32 m_nRowCountResult
 
sal_Int32 m_nColumnCount
 
bool m_bWasNull
 
bool m_bInserted
 
bool m_bRowUpdated
 
bool m_bRowInserted
 
bool m_bRowDeleted
 
bool m_bShowDeleted
 
bool m_bIsCount
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Additional Inherited Members

- Public Types inherited from connectivity::IResultSetHelper
enum  Movement {
  NEXT = 0 ,
  PRIOR ,
  FIRST ,
  LAST ,
  RELATIVE1 ,
  ABSOLUTE1 ,
  BOOKMARK
}
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OResultSet >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 59 of file FResultSet.hxx.

Constructor & Destructor Documentation

◆ ~OResultSet()

OResultSet::~OResultSet ( )
overrideprotectedvirtual

Definition at line 111 of file FResultSet.cxx.

References disposing(), and m_refCount.

◆ OResultSet()

OResultSet::OResultSet ( OStatement_Base pStmt,
connectivity::OSQLParseTreeIterator _aSQLIterator 
)

Member Function Documentation

◆ absolute()

sal_Bool SAL_CALL OResultSet::absolute ( sal_Int32  row)
overridevirtual

◆ acquire()

void SAL_CALL OResultSet::acquire ( )
overridevirtualnoexcept

◆ afterLast()

void SAL_CALL OResultSet::afterLast ( )
overridevirtual

◆ beforeFirst()

void SAL_CALL OResultSet::beforeFirst ( )
overridevirtual

◆ cancel()

void SAL_CALL OResultSet::cancel ( )
overridevirtual

Definition at line 494 of file FResultSet.cxx.

◆ cancelRowUpdates()

void SAL_CALL OResultSet::cancelRowUpdates ( )
overridevirtual

◆ checkIndex()

void OResultSet::checkIndex ( sal_Int32  columnIndex)
protected
Exceptions
css::sdbc::SQLException

Definition at line 201 of file FResultSet.cxx.

References m_nColumnCount, and dbtools::throwInvalidIndexException().

Referenced by getValue(), and updateValue().

◆ clearInsertRow()

void OResultSet::clearInsertRow ( )
protected

Definition at line 1522 of file FResultSet.cxx.

References m_aInsertRow, m_aRow, and nPos.

Referenced by insertRow(), and updateRow().

◆ clearWarnings()

void SAL_CALL OResultSet::clearWarnings ( )
overridevirtual

Definition at line 498 of file FResultSet.cxx.

◆ close()

void SAL_CALL OResultSet::close ( )
overridevirtual

Definition at line 387 of file FResultSet.cxx.

References dispose().

◆ construct()

void OResultSet::construct ( )
protected

◆ createArrayHelper()

IPropertyArrayHelper * OResultSet::createArrayHelper ( ) const
overrideprotectedvirtual

◆ DECLARE_SERVICE_INFO()

connectivity::file::OResultSet::DECLARE_SERVICE_INFO ( )

◆ deleteRow()

void SAL_CALL OResultSet::deleteRow ( )
overridevirtual

◆ disposing() [1/2]

void OResultSet::disposing ( )
finaloverridevirtual

◆ disposing() [2/2]

virtual void SAL_CALL connectivity::file::OResultSet::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ doTableSpecials()

void OResultSet::doTableSpecials ( const OSQLTable _xTable)

Definition at line 1516 of file FResultSet.cxx.

References m_pTable.

Referenced by OpenImpl().

◆ ExecuteRow()

bool OResultSet::ExecuteRow ( IResultSetHelper::Movement  eFirstCursorPosition,
sal_Int32  nOffset = 1,
bool  bEvaluate = true,
bool  bRetrieveData = true 
)
protected

◆ fillIndexValues()

bool OResultSet::fillIndexValues ( const css::uno::Reference< css::sdbcx::XColumnsSupplier > &  _xIndex)
protectedvirtual

Reimplemented in connectivity::component::OComponentResultSet, and connectivity::dbase::ODbaseResultSet.

Definition at line 1549 of file FResultSet.cxx.

Referenced by sortRows().

◆ findColumn()

sal_Int32 SAL_CALL OResultSet::findColumn ( const OUString &  columnName)
overridevirtual

◆ first()

sal_Bool SAL_CALL OResultSet::first ( )
overridevirtual

◆ getArray()

Reference< XArray > SAL_CALL OResultSet::getArray ( sal_Int32  columnIndex)
overridevirtual

Definition at line 289 of file FResultSet.cxx.

◆ getBinaryStream()

Reference< css::io::XInputStream > SAL_CALL OResultSet::getBinaryStream ( sal_Int32  columnIndex)
overridevirtual

Definition at line 208 of file FResultSet.cxx.

◆ getBlob()

Reference< XBlob > SAL_CALL OResultSet::getBlob ( sal_Int32  columnIndex)
overridevirtual

Definition at line 300 of file FResultSet.cxx.

◆ getBoolean()

sal_Bool SAL_CALL OResultSet::getBoolean ( sal_Int32  columnIndex)
overridevirtual

Definition at line 219 of file FResultSet.cxx.

References connectivity::ORowSetValue::getBool(), and getValue().

◆ getByte()

sal_Int8 SAL_CALL OResultSet::getByte ( sal_Int32  columnIndex)
overridevirtual

Definition at line 225 of file FResultSet.cxx.

References connectivity::ORowSetValue::getInt8(), and getValue().

◆ getBytes()

Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes ( sal_Int32  columnIndex)
overridevirtual

Definition at line 231 of file FResultSet.cxx.

References connectivity::ORowSetValue::getSequence(), and getValue().

◆ getCharacterStream()

Reference< css::io::XInputStream > SAL_CALL OResultSet::getCharacterStream ( sal_Int32  columnIndex)
overridevirtual

Definition at line 213 of file FResultSet.cxx.

◆ getClob()

Reference< XClob > SAL_CALL OResultSet::getClob ( sal_Int32  columnIndex)
overridevirtual

Definition at line 295 of file FResultSet.cxx.

◆ getDate()

css::util::Date SAL_CALL OResultSet::getDate ( sal_Int32  columnIndex)
overridevirtual

Definition at line 237 of file FResultSet.cxx.

References connectivity::ORowSetValue::getDate(), and getValue().

◆ getDouble()

double SAL_CALL OResultSet::getDouble ( sal_Int32  columnIndex)
overridevirtual

Definition at line 243 of file FResultSet.cxx.

References connectivity::ORowSetValue::getDouble(), and getValue().

◆ getDriverPos()

sal_Int32 OResultSet::getDriverPos ( ) const
overridevirtual

Implements connectivity::IResultSetHelper.

Definition at line 1559 of file FResultSet.cxx.

References m_aRow.

◆ getFloat()

float SAL_CALL OResultSet::getFloat ( sal_Int32  columnIndex)
overridevirtual

Definition at line 249 of file FResultSet.cxx.

References connectivity::ORowSetValue::getFloat(), and getValue().

◆ getInfoHelper()

IPropertyArrayHelper & OResultSet::getInfoHelper ( )
overrideprotected

◆ getInt()

sal_Int32 SAL_CALL OResultSet::getInt ( sal_Int32  columnIndex)
overridevirtual

Definition at line 255 of file FResultSet.cxx.

References connectivity::ORowSetValue::getInt32(), and getValue().

◆ getLong()

sal_Int64 SAL_CALL OResultSet::getLong ( sal_Int32  columnIndex)
overridevirtual

Definition at line 272 of file FResultSet.cxx.

References connectivity::ORowSetValue::getLong(), and getValue().

◆ getMetaData()

Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData ( )
overridevirtual

◆ getObject()

virtual css::uno::Any SAL_CALL connectivity::file::OResultSet::getObject ( sal_Int32  columnIndex,
const css::uno::Reference< css::container::XNameAccess > &  typeMap 
)
overridevirtual

◆ GetOrderbyKeyValue()

std::unique_ptr< OKeyValue > OResultSet::GetOrderbyKeyValue ( OValueRefRow const &  _rRow)
protected

◆ getPropertySetInfo()

Reference< css::beans::XPropertySetInfo > SAL_CALL OResultSet::getPropertySetInfo ( )
overridevirtual

◆ getRef()

Reference< XRef > SAL_CALL OResultSet::getRef ( sal_Int32  columnIndex)
overridevirtual

Definition at line 306 of file FResultSet.cxx.

◆ getRow()

sal_Int32 SAL_CALL OResultSet::getRow ( )
overridevirtual

◆ getRowCountResult()

sal_Int32 connectivity::file::OResultSet::getRowCountResult ( ) const
inline

Definition at line 256 of file FResultSet.hxx.

◆ getShort()

sal_Int16 SAL_CALL OResultSet::getShort ( sal_Int32  columnIndex)
overridevirtual

Definition at line 318 of file FResultSet.cxx.

References connectivity::ORowSetValue::getInt16(), and getValue().

◆ getStatement()

Reference< XInterface > SAL_CALL OResultSet::getStatement ( )
overridevirtual

◆ getString()

OUString SAL_CALL OResultSet::getString ( sal_Int32  columnIndex)
overridevirtual

Definition at line 323 of file FResultSet.cxx.

References connectivity::ORowSetValue::getString(), and getValue().

◆ getTime()

css::util::Time SAL_CALL OResultSet::getTime ( sal_Int32  columnIndex)
overridevirtual

Definition at line 328 of file FResultSet.cxx.

References connectivity::ORowSetValue::getTime(), and getValue().

◆ getTimestamp()

css::util::DateTime SAL_CALL OResultSet::getTimestamp ( sal_Int32  columnIndex)
overridevirtual

Definition at line 333 of file FResultSet.cxx.

References connectivity::ORowSetValue::getDateTime(), and getValue().

◆ getTypes()

Sequence< Type > SAL_CALL OResultSet::getTypes ( )
overridevirtual

◆ getValue()

const ORowSetValue & OResultSet::getValue ( sal_Int32  columnIndex)
protected

◆ getWarnings()

Any SAL_CALL OResultSet::getWarnings ( )
overridevirtual

Definition at line 502 of file FResultSet.cxx.

References Any.

◆ initializeRow()

void OResultSet::initializeRow ( OValueRefRow _rRow,
sal_Int32  _nColumnCount 
)
staticprotected

Definition at line 1539 of file FResultSet.cxx.

Referenced by OpenImpl().

◆ insertRow()

void SAL_CALL OResultSet::insertRow ( )
overridevirtual

◆ isAfterLast()

sal_Bool SAL_CALL OResultSet::isAfterLast ( )
overridevirtual

◆ isBeforeFirst()

sal_Bool SAL_CALL OResultSet::isBeforeFirst ( )
overridevirtual

◆ isCount()

bool connectivity::file::OResultSet::isCount ( ) const
inlineprotected

Definition at line 131 of file FResultSet.hxx.

Referenced by ExecuteRow(), Move(), OpenImpl(), and OResultSet().

◆ isFirst()

sal_Bool SAL_CALL OResultSet::isFirst ( )
overridevirtual

◆ isLast()

sal_Bool SAL_CALL OResultSet::isLast ( )
overridevirtual

◆ isRowDeleted()

bool OResultSet::isRowDeleted ( ) const
overridevirtual

Implements connectivity::IResultSetHelper.

Reimplemented in connectivity::component::OComponentResultSet.

Definition at line 1564 of file FResultSet.cxx.

References m_aRow.

◆ IsSorted()

bool connectivity::file::OResultSet::IsSorted ( ) const
inlineprotected

Definition at line 128 of file FResultSet.hxx.

Referenced by OpenImpl().

◆ last()

sal_Bool SAL_CALL OResultSet::last ( )
overridevirtual

◆ mapColumn()

sal_Int32 connectivity::file::OResultSet::mapColumn ( sal_Int32  column)
inline

Definition at line 286 of file FResultSet.hxx.

References m_aColMapping, o3tl::make_unsigned(), and map.

Referenced by updateValue().

◆ move()

bool OResultSet::move ( IResultSetHelper::Movement  _eCursorPosition,
sal_Int32  _nOffset,
bool  _bRetrieveData 
)
overridevirtual

Implements connectivity::IResultSetHelper.

Definition at line 1554 of file FResultSet.cxx.

References _nOffset, and Move().

◆ Move()

bool OResultSet::Move ( IResultSetHelper::Movement  eCursorPosition,
sal_Int32  nOffset,
bool  bRetrieveData 
)
protected

◆ moveToCurrentRow()

void SAL_CALL OResultSet::moveToCurrentRow ( )
overridevirtual

Definition at line 609 of file FResultSet.cxx.

◆ moveToInsertRow()

void SAL_CALL OResultSet::moveToInsertRow ( )
overridevirtual

◆ next()

sal_Bool SAL_CALL OResultSet::next ( )
overridevirtual

◆ OpenImpl()

void OResultSet::OpenImpl ( )

◆ previous()

sal_Bool SAL_CALL OResultSet::previous ( )
overridevirtual

◆ queryInterface()

virtual css::uno::Any SAL_CALL connectivity::file::OResultSet::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ refreshRow()

void SAL_CALL OResultSet::refreshRow ( )
overridevirtual

Definition at line 716 of file FResultSet.cxx.

References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.

◆ relative()

sal_Bool SAL_CALL OResultSet::relative ( sal_Int32  rows)
overridevirtual

◆ release()

void SAL_CALL OResultSet::release ( )
overridevirtualnoexcept

◆ rowDeleted()

sal_Bool SAL_CALL OResultSet::rowDeleted ( )
overridevirtual

◆ rowInserted()

sal_Bool SAL_CALL OResultSet::rowInserted ( )
overridevirtual

◆ rowUpdated()

sal_Bool SAL_CALL OResultSet::rowUpdated ( )
overridevirtual

◆ setAssignValues()

void connectivity::file::OResultSet::setAssignValues ( const ORefAssignValues _aAssignValues)
inline

◆ setBindingRow()

void connectivity::file::OResultSet::setBindingRow ( const OValueRefRow _aRow)
inline

◆ setBoundedColumns()

void OResultSet::setBoundedColumns ( const OValueRefRow _rRow,
const OValueRefRow _rSelectRow,
const ::rtl::Reference< connectivity::OSQLColumns > &  _rxColumns,
const css::uno::Reference< css::container::XIndexAccess > &  _xNames,
bool  _bSetColumnMapping,
const css::uno::Reference< css::sdbc::XDatabaseMetaData > &  _xMetaData,
std::vector< sal_Int32 > &  _rColMapping 
)
static

◆ setColumnMapping()

void connectivity::file::OResultSet::setColumnMapping ( std::vector< sal_Int32 > &&  _aColumnMapping)
inline

◆ setEvaluationRow()

void connectivity::file::OResultSet::setEvaluationRow ( const OValueRefRow _aRow)
inline

◆ setMetaData()

void connectivity::file::OResultSet::setMetaData ( const css::uno::Reference< css::sdbc::XResultSetMetaData > &  _xMetaData)
inline

◆ setOrderByAscending()

void connectivity::file::OResultSet::setOrderByAscending ( std::vector< TAscendingOrder > &&  _aOrderbyAsc)
inline

◆ setOrderByColumns()

void connectivity::file::OResultSet::setOrderByColumns ( std::vector< sal_Int32 > &&  _aColumnOrderBy)
inline

◆ setSelectRow()

void connectivity::file::OResultSet::setSelectRow ( const OValueRefRow _rRow)
inline

◆ setSqlAnalyzer()

void connectivity::file::OResultSet::setSqlAnalyzer ( OSQLAnalyzer _pSQLAnalyzer)
inline

◆ sortRows()

void OResultSet::sortRows ( )
protected

◆ updateBinaryStream()

virtual void SAL_CALL connectivity::file::OResultSet::updateBinaryStream ( sal_Int32  columnIndex,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

◆ updateBoolean()

void SAL_CALL OResultSet::updateBoolean ( sal_Int32  columnIndex,
sal_Bool  x 
)
overridevirtual

Definition at line 633 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateByte()

void SAL_CALL OResultSet::updateByte ( sal_Int32  columnIndex,
sal_Int8  x 
)
overridevirtual

Definition at line 638 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateBytes()

virtual void SAL_CALL connectivity::file::OResultSet::updateBytes ( sal_Int32  columnIndex,
const css::uno::Sequence< sal_Int8 > &  x 
)
overridevirtual

◆ updateCharacterStream()

virtual void SAL_CALL connectivity::file::OResultSet::updateCharacterStream ( sal_Int32  columnIndex,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

◆ updateDate()

void SAL_CALL OResultSet::updateDate ( sal_Int32  columnIndex,
const css::util::Date &  x 
)
overridevirtual

Definition at line 680 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateDouble()

void SAL_CALL OResultSet::updateDouble ( sal_Int32  columnIndex,
double  x 
)
overridevirtual

Definition at line 665 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateFloat()

void SAL_CALL OResultSet::updateFloat ( sal_Int32  columnIndex,
float  x 
)
overridevirtual

Definition at line 659 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateInt()

void SAL_CALL OResultSet::updateInt ( sal_Int32  columnIndex,
sal_Int32  x 
)
overridevirtual

Definition at line 649 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateLong()

void SAL_CALL OResultSet::updateLong ( sal_Int32  columnIndex,
sal_Int64  x 
)
overridevirtual

Definition at line 654 of file FResultSet.cxx.

References dbtools::throwFeatureNotImplementedSQLException().

◆ updateNull()

void SAL_CALL OResultSet::updateNull ( sal_Int32  columnIndex)
overridevirtual

Definition at line 626 of file FResultSet.cxx.

References updateValue().

◆ updateNumericObject()

virtual void SAL_CALL connectivity::file::OResultSet::updateNumericObject ( sal_Int32  columnIndex,
const css::uno::Any &  x,
sal_Int32  scale 
)
overridevirtual

◆ updateObject()

virtual void SAL_CALL connectivity::file::OResultSet::updateObject ( sal_Int32  columnIndex,
const css::uno::Any &  x 
)
overridevirtual

◆ updateRow()

void SAL_CALL OResultSet::updateRow ( )
overridevirtual

◆ updateShort()

void SAL_CALL OResultSet::updateShort ( sal_Int32  columnIndex,
sal_Int16  x 
)
overridevirtual

Definition at line 644 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateString()

void SAL_CALL OResultSet::updateString ( sal_Int32  columnIndex,
const OUString &  x 
)
overridevirtual

Definition at line 670 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateTime()

void SAL_CALL OResultSet::updateTime ( sal_Int32  columnIndex,
const css::util::Time &  x 
)
overridevirtual

Definition at line 686 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateTimestamp()

void SAL_CALL OResultSet::updateTimestamp ( sal_Int32  columnIndex,
const css::util::DateTime &  x 
)
overridevirtual

Definition at line 692 of file FResultSet.cxx.

References updateValue(), and x.

◆ updateValue()

void OResultSet::updateValue ( sal_Int32  columnIndex,
const ORowSetValue x 
)
protected

◆ wasNull()

sal_Bool SAL_CALL OResultSet::wasNull ( )
overridevirtual

Member Data Documentation

◆ m_aAssignValues

ORefAssignValues connectivity::file::OResultSet::m_aAssignValues
protected

Definition at line 77 of file FResultSet.hxx.

Referenced by ExecuteRow(), and OpenImpl().

◆ m_aColMapping

std::vector<sal_Int32> connectivity::file::OResultSet::m_aColMapping
protected

Definition at line 68 of file FResultSet.hxx.

Referenced by mapColumn(), Move(), OpenImpl(), and sortRows().

◆ m_aEvaluateRow

OValueRefRow connectivity::file::OResultSet::m_aEvaluateRow
protected

Definition at line 75 of file FResultSet.hxx.

Referenced by ExecuteRow(), and OpenImpl().

◆ m_aFileSetIter

OKeySet::iterator connectivity::file::OResultSet::m_aFileSetIter
protected

Definition at line 82 of file FResultSet.hxx.

Referenced by Move().

◆ m_aInsertRow

OValueRefRow connectivity::file::OResultSet::m_aInsertRow
protected

◆ m_aOrderbyAscending

std::vector<TAscendingOrder> connectivity::file::OResultSet::m_aOrderbyAscending
protected

Definition at line 71 of file FResultSet.hxx.

Referenced by OpenImpl(), and sortRows().

◆ m_aOrderbyColumnNumber

std::vector<sal_Int32> connectivity::file::OResultSet::m_aOrderbyColumnNumber
protected

Definition at line 70 of file FResultSet.hxx.

Referenced by GetOrderbyKeyValue(), OpenImpl(), and sortRows().

◆ m_aRow

OValueRefRow connectivity::file::OResultSet::m_aRow
protected

◆ m_aSelectRow

OValueRefRow connectivity::file::OResultSet::m_aSelectRow
protected

Definition at line 73 of file FResultSet.hxx.

Referenced by ExecuteRow(), Move(), OpenImpl(), and sortRows().

◆ m_aSkipDeletedSet

OSkipDeletedSet connectivity::file::OResultSet::m_aSkipDeletedSet
protected

◆ m_aSQLIterator

connectivity::OSQLParseTreeIterator& connectivity::file::OResultSet::m_aSQLIterator
protected

Definition at line 91 of file FResultSet.hxx.

Referenced by ExecuteRow(), getMetaData(), Move(), and OpenImpl().

◆ m_bInserted

bool connectivity::file::OResultSet::m_bInserted
protected

Definition at line 110 of file FResultSet.hxx.

Referenced by cancelRowUpdates(), insertRow(), and moveToInsertRow().

◆ m_bIsCount

bool connectivity::file::OResultSet::m_bIsCount
protected

Definition at line 116 of file FResultSet.hxx.

Referenced by OResultSet().

◆ m_bRowDeleted

bool connectivity::file::OResultSet::m_bRowDeleted
protected

◆ m_bRowInserted

bool connectivity::file::OResultSet::m_bRowInserted
protected

◆ m_bRowUpdated

bool connectivity::file::OResultSet::m_bRowUpdated
protected

◆ m_bShowDeleted

bool connectivity::file::OResultSet::m_bShowDeleted
protected

◆ m_bWasNull

bool connectivity::file::OResultSet::m_bWasNull
protected

Definition at line 109 of file FResultSet.hxx.

Referenced by getValue(), and wasNull().

◆ m_nColumnCount

sal_Int32 connectivity::file::OResultSet::m_nColumnCount
protected

Definition at line 108 of file FResultSet.hxx.

Referenced by checkIndex().

◆ m_nFetchDirection

sal_Int32 connectivity::file::OResultSet::m_nFetchDirection
protected

Definition at line 95 of file FResultSet.hxx.

Referenced by construct().

◆ m_nFetchSize

sal_Int32 connectivity::file::OResultSet::m_nFetchSize
protected

Definition at line 93 of file FResultSet.hxx.

Referenced by construct().

◆ m_nFilePos

sal_Int32 connectivity::file::OResultSet::m_nFilePos
protected

Definition at line 105 of file FResultSet.hxx.

Referenced by ExecuteRow(), Move(), and OpenImpl().

◆ m_nLastVisitedPos

sal_Int32 connectivity::file::OResultSet::m_nLastVisitedPos
protected

Definition at line 106 of file FResultSet.hxx.

Referenced by ExecuteRow(), and OpenImpl().

◆ m_nResultSetConcurrency

sal_Int32 connectivity::file::OResultSet::m_nResultSetConcurrency
protected

Definition at line 96 of file FResultSet.hxx.

Referenced by construct(), OpenImpl(), and OResultSet().

◆ m_nResultSetType

sal_Int32 connectivity::file::OResultSet::m_nResultSetType
protected

Definition at line 94 of file FResultSet.hxx.

Referenced by construct().

◆ m_nRowCountResult

sal_Int32 connectivity::file::OResultSet::m_nRowCountResult
protected

Definition at line 107 of file FResultSet.hxx.

Referenced by Move(), and OpenImpl().

◆ m_nRowPos

sal_Int32 connectivity::file::OResultSet::m_nRowPos
protected

Definition at line 104 of file FResultSet.hxx.

Referenced by isAfterLast(), isBeforeFirst(), isFirst(), isLast(), Move(), and OpenImpl().

◆ m_pFileSet

::rtl::Reference<OKeySet> connectivity::file::OResultSet::m_pFileSet
protected

◆ m_pParseTree

connectivity::OSQLParseNode* connectivity::file::OResultSet::m_pParseTree
protected

Definition at line 88 of file FResultSet.hxx.

Referenced by disposing(), OpenImpl(), and OResultSet().

◆ m_pSortIndex

std::unique_ptr<OSortIndex> connectivity::file::OResultSet::m_pSortIndex
protected

Definition at line 85 of file FResultSet.hxx.

Referenced by disposing(), ExecuteRow(), and sortRows().

◆ m_pSQLAnalyzer

OSQLAnalyzer* connectivity::file::OResultSet::m_pSQLAnalyzer
protected

Definition at line 90 of file FResultSet.hxx.

Referenced by ExecuteRow(), Move(), OpenImpl(), and sortRows().

◆ m_pTable

rtl::Reference<OFileTable> connectivity::file::OResultSet::m_pTable
protected

◆ m_xColNames

css::uno::Reference< css::container::XNameAccess> connectivity::file::OResultSet::m_xColNames
protected

Definition at line 100 of file FResultSet.hxx.

Referenced by disposing(), and OpenImpl().

◆ m_xColsIdx

css::uno::Reference< css::container::XIndexAccess> connectivity::file::OResultSet::m_xColsIdx
protected

Definition at line 101 of file FResultSet.hxx.

Referenced by disposing(), ExecuteRow(), insertRow(), OpenImpl(), and updateRow().

◆ m_xColumns

::rtl::Reference<connectivity::OSQLColumns> connectivity::file::OResultSet::m_xColumns
protected

Definition at line 86 of file FResultSet.hxx.

Referenced by deleteRow(), disposing(), ExecuteRow(), getMetaData(), and OpenImpl().

◆ m_xMetaData

css::uno::Reference< css::sdbc::XResultSetMetaData> connectivity::file::OResultSet::m_xMetaData
protected

Definition at line 99 of file FResultSet.hxx.

Referenced by disposing(), and getMetaData().

◆ m_xStatement

css::uno::Reference< css::uno::XInterface> connectivity::file::OResultSet::m_xStatement
protected

Definition at line 98 of file FResultSet.hxx.

Referenced by disposing(), and getStatement().


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