#include <OptimisticSet.hxx>
|
| | OptimisticSet (const css::uno::Reference< css::uno::XComponentContext > &_rContext, const css::uno::Reference< css::sdbc::XConnection > &i_xConnection, const css::uno::Reference< css::sdb::XSingleSelectQueryAnalyzer > &_xComposer, const ORowSetValueVector &_aParameterValueForCache, sal_Int32 i_nMaxRows, sal_Int32 &o_nRowCount) |
| |
| virtual void | construct (const css::uno::Reference< css::sdbc::XResultSet > &_xDriverSet, const OUString &i_sRowSetFilter) override |
| |
| virtual void | updateRow (const ORowSetRow &_rInsertRow, const ORowSetRow &_rOriginalRow, const connectivity::OSQLTable &_xTable) override |
| |
| virtual void | deleteRow (const ORowSetRow &_rInsertRow, const connectivity::OSQLTable &_xTable) override |
| |
| virtual void | insertRow (const ORowSetRow &_rInsertRow, const connectivity::OSQLTable &_xTable) override |
| |
| virtual bool | isResultSetChanged () const override |
| |
| virtual void | mergeColumnValues (sal_Int32 i_nColumnIndex, ORowSetValueVector::Vector &io_aInsertRow, ORowSetValueVector::Vector &io_aRow, std::vector< sal_Int32 > &o_aChangedColumns) override |
| |
| virtual bool | columnValuesUpdated (ORowSetValueVector::Vector &o_aCachedRow, const ORowSetValueVector::Vector &i_aRow) override |
| |
| virtual bool | updateColumnValues (const ORowSetValueVector::Vector &io_aCachedRow, ORowSetValueVector::Vector &io_aRow, const std::vector< sal_Int32 > &i_aChangedColumns) override |
| |
| virtual void | fillMissingValues (ORowSetValueVector::Vector &io_aRow) const override |
| |
| bool | isReadOnly () const |
| |
| const std::map< sal_Int32, sal_Int32 > & | getJoinedKeyColumns () const |
| |
| | OKeySet () |
| |
| bool | isFrozen () const |
| |
| void | setFrozen () |
| |
| | ORefVector () |
| |
| | ORefVector (size_t _st) |
| |
| | ORefVector (const ORefVector &rOther) |
| |
| ORefVector & | operator= (const ORefVector &_rRH) |
| |
|
| typedef std::vector< VectorVal > | Vector |
| |
Definition at line 32 of file OptimisticSet.hxx.
◆ ~OptimisticSet()
| OptimisticSet::~OptimisticSet |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OptimisticSet()
| OptimisticSet::OptimisticSet |
( |
const css::uno::Reference< css::uno::XComponentContext > & |
_rContext, |
|
|
const css::uno::Reference< css::sdbc::XConnection > & |
i_xConnection, |
|
|
const css::uno::Reference< css::sdb::XSingleSelectQueryAnalyzer > & |
_xComposer, |
|
|
const ORowSetValueVector & |
_aParameterValueForCache, |
|
|
sal_Int32 |
i_nMaxRows, |
|
|
sal_Int32 & |
o_nRowCount |
|
) |
| |
◆ columnValuesUpdated()
◆ construct()
| void OptimisticSet::construct |
( |
const css::uno::Reference< css::sdbc::XResultSet > & |
_xDriverSet, |
|
|
const OUString & |
i_sRowSetFilter |
|
) |
| |
|
overridevirtual |
Definition at line 90 of file OptimisticSet.cxx.
References dbaccess::OCacheSet::construct(), fillJoinedColumns_throw(), connectivity::OSQLParseTreeIterator::getJoinConditions(), m_aSqlIterator, m_aSqlParser, m_xConnection, connectivity::OSQLParser::parseTree(), SERVICE_NAME_SINGLESELECTQUERYCOMPOSER, connectivity::OSQLParseTreeIterator::setParseTree(), connectivity::OSQLParseTreeIterator::traverseAll(), and xFactory.
◆ deleteRow()
◆ executeDelete()
| void OptimisticSet::executeDelete |
( |
const ORowSetRow & |
_rDeleteRow, |
|
|
const OUString & |
i_sSQL, |
|
|
std::u16string_view |
i_sTableName |
|
) |
| |
|
private |
◆ fillJoinedColumns_throw() [1/2]
| void OptimisticSet::fillJoinedColumns_throw |
( |
const OUString & |
i_sLeftColumn, |
|
|
const OUString & |
i_sRightColumn |
|
) |
| |
|
private |
◆ fillJoinedColumns_throw() [2/2]
◆ fillMissingValues()
◆ getJoinedKeyColumns()
| const std::map< sal_Int32, sal_Int32 > & dbaccess::OptimisticSet::getJoinedKeyColumns |
( |
| ) |
const |
|
inline |
◆ insertRow()
◆ isReadOnly()
| bool dbaccess::OptimisticSet::isReadOnly |
( |
| ) |
const |
|
inline |
◆ isResultSetChanged()
| bool OptimisticSet::isResultSetChanged |
( |
| ) |
const |
|
overridevirtual |
◆ makeNewStatement()
| void OptimisticSet::makeNewStatement |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ mergeColumnValues()
◆ updateColumnValues()
◆ updateRow()
◆ m_aJoinedColumns
| std::map<sal_Int32,sal_Int32> dbaccess::OptimisticSet::m_aJoinedColumns |
|
private |
◆ m_aJoinedKeyColumns
| std::map<sal_Int32,sal_Int32> dbaccess::OptimisticSet::m_aJoinedKeyColumns |
|
private |
◆ m_aSqlIterator
◆ m_aSqlParser
◆ m_bResultSetChanged
| bool dbaccess::OptimisticSet::m_bResultSetChanged |
|
mutableprivate |
The documentation for this class was generated from the following files: