LibreOffice Module connectivity (master) 1
|
#include <FResultSet.hxx>
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::IPropertyArrayHelper * | getArrayHelper () |
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< OKeyValue > | GetOrderbyKeyValue (OValueRefRow const &_rRow) |
bool | IsSorted () const |
bool | isCount () const |
void | checkIndex (sal_Int32 columnIndex) |
const ORowSetValue & | getValue (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::IPropertyArrayHelper * | createArrayHelper () 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::IPropertyArrayHelper * | createArrayHelper () 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::mutex & | theMutex () |
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::IPropertyArrayHelper * | s_pProps |
Definition at line 59 of file FResultSet.hxx.
|
overrideprotectedvirtual |
Definition at line 111 of file FResultSet.cxx.
References disposing(), and m_refCount.
OResultSet::OResultSet | ( | OStatement_Base * | pStmt, |
connectivity::OSQLParseTreeIterator & | _aSQLIterator | ||
) |
Definition at line 71 of file FResultSet.cxx.
References construct(), connectivity::OSQLParseNode::count(), connectivity::OSQLParseNode::getChild(), isCount(), m_aMutex, m_aSkipDeletedSet, m_bIsCount, m_bShowDeleted, m_nResultSetConcurrency, m_pParseTree, m_refCount, connectivity::OSkipDeletedSet::SetDeletedVisible(), and SQL_ISRULE.
|
overridevirtual |
Definition at line 409 of file FResultSet.cxx.
References connectivity::IResultSetHelper::ABSOLUTE1, connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aSkipDeletedSet, m_pTable, and connectivity::OSkipDeletedSet::skipDeleted().
|
overridevirtualnoexcept |
Reimplemented in connectivity::component::OComponentResultSet, connectivity::dbase::ODbaseResultSet, and connectivity::flat::OFlatResultSet.
Definition at line 1501 of file FResultSet.cxx.
Referenced by connectivity::component::OComponentResultSet::acquire(), connectivity::dbase::ODbaseResultSet::acquire(), and connectivity::flat::OFlatResultSet::acquire().
|
overridevirtual |
Definition at line 376 of file FResultSet.cxx.
References connectivity::checkDisposed(), last(), cppu::BaseMutex::m_aMutex, and next().
|
overridevirtual |
Definition at line 366 of file FResultSet.cxx.
References connectivity::checkDisposed(), first(), cppu::BaseMutex::m_aMutex, and previous().
|
overridevirtual |
Definition at line 494 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 567 of file FResultSet.cxx.
References connectivity::checkDisposed(), m_aInsertRow, cppu::BaseMutex::m_aMutex, m_bInserted, m_bRowDeleted, m_bRowInserted, and m_bRowUpdated.
|
protected |
css::sdbc::SQLException |
Definition at line 201 of file FResultSet.cxx.
References m_nColumnCount, and dbtools::throwInvalidIndexException().
Referenced by getValue(), and updateValue().
|
protected |
Definition at line 1522 of file FResultSet.cxx.
References m_aInsertRow, m_aRow, and nPos.
Referenced by insertRow(), and updateRow().
|
overridevirtual |
Definition at line 498 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 387 of file FResultSet.cxx.
References dispose().
|
protected |
Definition at line 117 of file FResultSet.cxx.
References connectivity::OMetaConnection::getPropMap(), m_nFetchDirection, m_nFetchSize, m_nResultSetConcurrency, m_nResultSetType, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by OResultSet().
|
overrideprotectedvirtual |
Implements comphelper::OPropertyArrayUsageHelper< OResultSet >.
Reimplemented in connectivity::flat::OFlatResultSet.
Definition at line 735 of file FResultSet.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
connectivity::file::OResultSet::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
Definition at line 545 of file FResultSet.cxx.
References connectivity::checkDisposed(), connectivity::OSkipDeletedSet::deletePosition(), cppu::BaseMutex::m_aMutex, m_aRow, m_aSkipDeletedSet, m_bRowDeleted, m_bShowDeleted, m_pFileSet, m_pTable, m_xColumns, and nPos.
|
finaloverridevirtual |
Definition at line 125 of file FResultSet.cxx.
References connectivity::OSkipDeletedSet::clear(), comphelper::OPropertySetHelper::disposing(), m_aInsertRow, cppu::BaseMutex::m_aMutex, m_aSkipDeletedSet, m_pFileSet, m_pParseTree, m_pSortIndex, m_pTable, m_xColNames, m_xColsIdx, m_xColumns, m_xMetaData, and m_xStatement.
Referenced by ~OResultSet().
|
overridevirtual |
void OResultSet::doTableSpecials | ( | const OSQLTable & | _xTable | ) |
|
protected |
Definition at line 748 of file FResultSet.cxx.
References connectivity::IResultSetHelper::ABSOLUTE1, connectivity::Delete, connectivity::file::OSQLAnalyzer::evaluateRestriction(), connectivity::IResultSetHelper::FIRST, GetOrderbyKeyValue(), connectivity::OSQLParseTreeIterator::getStatementType(), getValue(), connectivity::file::OSQLAnalyzer::hasRestriction(), isCount(), connectivity::IResultSetHelper::LAST, m_aAssignValues, m_aEvaluateRow, m_aRow, m_aSelectRow, m_aSQLIterator, m_bShowDeleted, m_nFilePos, m_nLastVisitedPos, m_pFileSet, m_pSortIndex, m_pSQLAnalyzer, m_pTable, m_xColsIdx, m_xColumns, connectivity::IResultSetHelper::NEXT, connectivity::IResultSetHelper::PRIOR, connectivity::IResultSetHelper::RELATIVE1, connectivity::Select, and connectivity::Update.
Referenced by Move(), OpenImpl(), and sortRows().
|
protectedvirtual |
Reimplemented in connectivity::component::OComponentResultSet, and connectivity::dbase::ODbaseResultSet.
Definition at line 1549 of file FResultSet.cxx.
Referenced by sortRows().
|
overridevirtual |
Definition at line 168 of file FResultSet.cxx.
References connectivity::checkDisposed(), columnName, getMetaData(), i, cppu::BaseMutex::m_aMutex, and dbtools::throwInvalidColumnException().
|
overridevirtual |
Definition at line 393 of file FResultSet.cxx.
References connectivity::checkDisposed(), connectivity::IResultSetHelper::FIRST, cppu::BaseMutex::m_aMutex, m_aSkipDeletedSet, m_pTable, and connectivity::OSkipDeletedSet::skipDeleted().
Referenced by beforeFirst().
|
overridevirtual |
Definition at line 289 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 208 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 300 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 219 of file FResultSet.cxx.
References connectivity::ORowSetValue::getBool(), and getValue().
|
overridevirtual |
Definition at line 225 of file FResultSet.cxx.
References connectivity::ORowSetValue::getInt8(), and getValue().
Definition at line 231 of file FResultSet.cxx.
References connectivity::ORowSetValue::getSequence(), and getValue().
|
overridevirtual |
Definition at line 213 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 295 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 237 of file FResultSet.cxx.
References connectivity::ORowSetValue::getDate(), and getValue().
|
overridevirtual |
Definition at line 243 of file FResultSet.cxx.
References connectivity::ORowSetValue::getDouble(), and getValue().
|
overridevirtual |
Implements connectivity::IResultSetHelper.
Definition at line 1559 of file FResultSet.cxx.
References m_aRow.
|
overridevirtual |
Definition at line 249 of file FResultSet.cxx.
References connectivity::ORowSetValue::getFloat(), and getValue().
|
overrideprotected |
Definition at line 742 of file FResultSet.cxx.
References comphelper::OPropertyArrayUsageHelper< OResultSet >::getArrayHelper().
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 255 of file FResultSet.cxx.
References connectivity::ORowSetValue::getInt32(), and getValue().
|
overridevirtual |
Definition at line 272 of file FResultSet.cxx.
References connectivity::ORowSetValue::getLong(), and getValue().
|
overridevirtual |
Definition at line 278 of file FResultSet.cxx.
References connectivity::checkDisposed(), connectivity::OSQLParseTreeIterator::getTables(), cppu::BaseMutex::m_aMutex, m_aSQLIterator, m_pTable, m_xColumns, and m_xMetaData.
Referenced by findColumn().
|
overridevirtual |
|
protected |
Definition at line 86 of file FNoException.cxx.
References connectivity::OKeyValue::createKeyValue(), getValue(), and m_aOrderbyColumnNumber.
Referenced by ExecuteRow().
|
overridevirtual |
Reimplemented in connectivity::component::OComponentResultSet, connectivity::dbase::ODbaseResultSet, and connectivity::flat::OFlatResultSet.
Definition at line 1511 of file FResultSet.cxx.
References getInfoHelper().
|
overridevirtual |
Definition at line 306 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 261 of file FResultSet.cxx.
References connectivity::checkDisposed(), connectivity::OSkipDeletedSet::getMappedPosition(), getValue(), cppu::BaseMutex::m_aMutex, m_aRow, m_aSkipDeletedSet, and m_bShowDeleted.
|
inline |
Definition at line 256 of file FResultSet.hxx.
|
overridevirtual |
Definition at line 318 of file FResultSet.cxx.
References connectivity::ORowSetValue::getInt16(), and getValue().
|
overridevirtual |
Definition at line 430 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_xStatement.
|
overridevirtual |
Definition at line 323 of file FResultSet.cxx.
References connectivity::ORowSetValue::getString(), and getValue().
|
overridevirtual |
Definition at line 328 of file FResultSet.cxx.
References connectivity::ORowSetValue::getTime(), and getValue().
|
overridevirtual |
Definition at line 333 of file FResultSet.cxx.
References connectivity::ORowSetValue::getDateTime(), and getValue().
Reimplemented in connectivity::component::OComponentResultSet, connectivity::dbase::ODbaseResultSet, and connectivity::flat::OFlatResultSet.
Definition at line 156 of file FResultSet.cxx.
References aTypes, and cppu::BaseMutex::m_aMutex.
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 189 of file FResultSet.cxx.
References connectivity::checkDisposed(), checkIndex(), cppu::BaseMutex::m_aMutex, and m_bWasNull.
Referenced by ExecuteRow(), connectivity::component::OComponentResultSet::getBookmark(), connectivity::dbase::ODbaseResultSet::getBookmark(), connectivity::flat::OFlatResultSet::getBookmark(), getBoolean(), getByte(), getBytes(), getDate(), getDouble(), getFloat(), getInt(), getLong(), GetOrderbyKeyValue(), getRow(), getShort(), getString(), getTime(), getTimestamp(), insertRow(), and sortRows().
|
overridevirtual |
Definition at line 502 of file FResultSet.cxx.
References Any.
|
staticprotected |
Definition at line 1539 of file FResultSet.cxx.
Referenced by OpenImpl().
|
overridevirtual |
Definition at line 507 of file FResultSet.cxx.
References connectivity::checkDisposed(), clearInsertRow(), getValue(), connectivity::OSkipDeletedSet::insertNewPosition(), connectivity::IResultSetHelper::LAST, m_aInsertRow, cppu::BaseMutex::m_aMutex, m_aRow, m_aSkipDeletedSet, m_bInserted, m_bRowInserted, m_pFileSet, m_pTable, m_xColsIdx, nPos, connectivity::OSkipDeletedSet::skipDeleted(), and dbtools::throwFunctionSequenceException().
|
overridevirtual |
Definition at line 339 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nRowPos, and m_pFileSet.
|
overridevirtual |
Definition at line 467 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPos.
|
inlineprotected |
Definition at line 131 of file FResultSet.hxx.
Referenced by ExecuteRow(), Move(), OpenImpl(), and OResultSet().
|
overridevirtual |
Definition at line 348 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_nRowPos.
|
overridevirtual |
Definition at line 357 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_nRowPos, and m_pFileSet.
|
overridevirtual |
Implements connectivity::IResultSetHelper.
Reimplemented in connectivity::component::OComponentResultSet.
Definition at line 1564 of file FResultSet.cxx.
References m_aRow.
|
inlineprotected |
Definition at line 128 of file FResultSet.hxx.
Referenced by OpenImpl().
|
overridevirtual |
Definition at line 401 of file FResultSet.cxx.
References connectivity::checkDisposed(), connectivity::IResultSetHelper::LAST, cppu::BaseMutex::m_aMutex, m_aSkipDeletedSet, m_pTable, and connectivity::OSkipDeletedSet::skipDeleted().
Referenced by afterLast().
|
inline |
Definition at line 286 of file FResultSet.hxx.
References m_aColMapping, o3tl::make_unsigned(), and map.
Referenced by updateValue().
|
overridevirtual |
Implements connectivity::IResultSetHelper.
Definition at line 1554 of file FResultSet.cxx.
|
protected |
Definition at line 878 of file FResultSet.cxx.
References connectivity::IResultSetHelper::ABSOLUTE1, connectivity::IResultSetHelper::BOOKMARK, Error, ExecuteRow(), connectivity::IResultSetHelper::FIRST, connectivity::OSQLParseTreeIterator::getStatementType(), connectivity::file::OSQLAnalyzer::hasFunctions(), connectivity::file::OSQLAnalyzer::hasRestriction(), isCount(), connectivity::IResultSetHelper::LAST, m_aColMapping, m_aFileSetIter, m_aRow, m_aSelectRow, m_aSQLIterator, m_nFilePos, m_nRowCountResult, m_nRowPos, m_pFileSet, m_pSQLAnalyzer, m_pTable, o3tl::make_unsigned(), connectivity::IResultSetHelper::NEXT, connectivity::IResultSetHelper::PRIOR, connectivity::IResultSetHelper::RELATIVE1, connectivity::Select, and connectivity::file::OSQLAnalyzer::setSelectionEvaluationResult().
Referenced by move(), connectivity::component::OComponentResultSet::moveRelativeToBookmark(), connectivity::dbase::ODbaseResultSet::moveRelativeToBookmark(), connectivity::flat::OFlatResultSet::moveRelativeToBookmark(), connectivity::component::OComponentResultSet::moveToBookmark(), connectivity::dbase::ODbaseResultSet::moveToBookmark(), and connectivity::flat::OFlatResultSet::moveToBookmark().
|
overridevirtual |
Definition at line 609 of file FResultSet.cxx.
|
overridevirtual |
Definition at line 590 of file FResultSet.cxx.
References connectivity::checkDisposed(), m_aInsertRow, cppu::BaseMutex::m_aMutex, m_bInserted, and m_pTable.
|
overridevirtual |
Definition at line 476 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aSkipDeletedSet, m_pTable, connectivity::IResultSetHelper::NEXT, and connectivity::OSkipDeletedSet::skipDeleted().
Referenced by afterLast().
void OResultSet::OpenImpl | ( | ) |
Definition at line 1159 of file FResultSet.cxx.
References a, connectivity::IResultSetHelper::ABSOLUTE1, connectivity::ASC, connectivity::IResultSetHelper::BOOKMARK, connectivity::Delete, doTableSpecials(), ExecuteRow(), connectivity::OSQLParseNode::getChild(), connectivity::OSQLParseTreeIterator::getSelectColumns(), connectivity::OSQLParseTreeIterator::getStatementType(), connectivity::OSQLParseTreeIterator::getTables(), connectivity::OSQLParseNode::getTokenID(), connectivity::OSQLParseTreeIterator::hasErrors(), connectivity::file::OSQLAnalyzer::hasRestriction(), i, initializeRow(), connectivity::Insert, isCount(), IsSorted(), m_aAssignValues, m_aColMapping, m_aEvaluateRow, m_aInsertRow, m_aOrderbyAscending, m_aOrderbyColumnNumber, m_aRow, m_aSelectRow, m_aSQLIterator, m_nFilePos, m_nLastVisitedPos, m_nResultSetConcurrency, m_nRowCountResult, m_nRowPos, m_pFileSet, m_pParseTree, m_pSQLAnalyzer, m_pTable, m_xColNames, m_xColsIdx, m_xColumns, connectivity::IResultSetHelper::NEXT, nPos, SAL_WARN, connectivity::Select, connectivity::file::OSQLAnalyzer::setSelectionEvaluationResult(), sortRows(), and connectivity::Update.
Referenced by connectivity::file::OPreparedStatement::initResultSet().
|
overridevirtual |
Definition at line 423 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aSkipDeletedSet, m_pTable, connectivity::IResultSetHelper::PRIOR, and connectivity::OSkipDeletedSet::skipDeleted().
Referenced by beforeFirst().
|
overridevirtual |
|
overridevirtual |
Definition at line 716 of file FResultSet.cxx.
References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 416 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, m_aSkipDeletedSet, m_pTable, connectivity::IResultSetHelper::RELATIVE1, and connectivity::OSkipDeletedSet::skipDeleted().
Referenced by connectivity::component::OComponentResultSet::moveRelativeToBookmark(), connectivity::dbase::ODbaseResultSet::moveRelativeToBookmark(), and connectivity::flat::OFlatResultSet::moveRelativeToBookmark().
|
overridevirtualnoexcept |
Reimplemented in connectivity::component::OComponentResultSet, connectivity::dbase::ODbaseResultSet, and connectivity::flat::OFlatResultSet.
Definition at line 1506 of file FResultSet.cxx.
Referenced by connectivity::component::OComponentResultSet::release(), connectivity::dbase::ODbaseResultSet::release(), and connectivity::flat::OFlatResultSet::release().
|
overridevirtual |
Definition at line 440 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bRowDeleted.
|
overridevirtual |
Definition at line 449 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bRowInserted.
|
overridevirtual |
Definition at line 457 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bRowUpdated.
|
inline |
Definition at line 258 of file FResultSet.hxx.
Referenced by connectivity::file::OStatement_Base::initializeResultSet().
|
inline |
Definition at line 259 of file FResultSet.hxx.
Referenced by connectivity::file::OStatement_Base::initializeResultSet().
|
static |
Definition at line 1384 of file FResultSet.cxx.
References Exception, dbtools::OPropertyMap::getNameByIndex(), connectivity::OMetaConnection::getPropMap(), i, nType, PROPERTY_ID_NAME, PROPERTY_ID_REALNAME, PROPERTY_ID_TYPE, sName, sType, and TOOLS_WARN_EXCEPTION.
Referenced by connectivity::file::OPreparedStatement::construct(), and connectivity::file::OStatement_Base::createColumnMapping().
|
inline |
Definition at line 265 of file FResultSet.hxx.
Referenced by connectivity::file::OStatement_Base::initializeResultSet().
|
inline |
Definition at line 257 of file FResultSet.hxx.
Referenced by connectivity::file::OStatement_Base::initializeResultSet().
|
inline |
Definition at line 270 of file FResultSet.hxx.
Referenced by connectivity::file::OPreparedStatement::initResultSet().
|
inline |
Definition at line 269 of file FResultSet.hxx.
Referenced by connectivity::file::OStatement_Base::initializeResultSet().
|
inline |
Definition at line 268 of file FResultSet.hxx.
Referenced by connectivity::file::OStatement_Base::initializeResultSet().
|
inline |
Definition at line 260 of file FResultSet.hxx.
Referenced by connectivity::file::OStatement_Base::initializeResultSet().
|
inline |
Definition at line 266 of file FResultSet.hxx.
Referenced by connectivity::file::OStatement_Base::initializeResultSet().
|
protected |
Definition at line 1067 of file FResultSet.cxx.
References connectivity::IResultSetHelper::BOOKMARK, connectivity::Double, ExecuteRow(), fillIndexValues(), connectivity::ORowSetValue::getInt32(), dbtools::OPropertyMap::getNameByIndex(), connectivity::OMetaConnection::getPropMap(), comphelper::getString(), getValue(), connectivity::file::OSQLAnalyzer::hasFunctions(), connectivity::file::OSQLAnalyzer::hasRestriction(), i, m_aColMapping, m_aOrderbyAscending, m_aOrderbyColumnNumber, m_aRow, m_aSelectRow, m_pFileSet, m_pSortIndex, m_pSQLAnalyzer, m_pTable, nCount, connectivity::IResultSetHelper::NEXT, connectivity::NONE, PROPERTY_ID_NAME, SAL_WARN, connectivity::file::OSQLAnalyzer::setSelectionEvaluationResult(), and connectivity::String.
Referenced by OpenImpl().
|
overridevirtual |
|
overridevirtual |
Definition at line 633 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 638 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 680 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 665 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 659 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 649 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 654 of file FResultSet.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
overridevirtual |
Definition at line 626 of file FResultSet.cxx.
References updateValue().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 531 of file FResultSet.cxx.
References connectivity::checkDisposed(), clearInsertRow(), m_aInsertRow, cppu::BaseMutex::m_aMutex, m_aRow, m_bRowUpdated, m_pTable, and m_xColsIdx.
|
overridevirtual |
Definition at line 644 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 670 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 686 of file FResultSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 692 of file FResultSet.cxx.
References updateValue(), and x.
|
protected |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 613 of file FResultSet.cxx.
References connectivity::checkDisposed(), checkIndex(), cppu::BaseMutex::m_aMutex, mapColumn(), and x.
Referenced by updateBoolean(), updateByte(), updateDate(), updateDouble(), updateFloat(), updateInt(), updateNull(), updateShort(), updateString(), updateTime(), and updateTimestamp().
|
overridevirtual |
Definition at line 485 of file FResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_bWasNull.
|
protected |
Definition at line 77 of file FResultSet.hxx.
Referenced by ExecuteRow(), and OpenImpl().
|
protected |
Definition at line 68 of file FResultSet.hxx.
Referenced by mapColumn(), Move(), OpenImpl(), and sortRows().
|
protected |
Definition at line 75 of file FResultSet.hxx.
Referenced by ExecuteRow(), and OpenImpl().
|
protected |
Definition at line 82 of file FResultSet.hxx.
Referenced by Move().
|
protected |
Definition at line 76 of file FResultSet.hxx.
Referenced by cancelRowUpdates(), clearInsertRow(), disposing(), insertRow(), moveToInsertRow(), OpenImpl(), and updateRow().
|
protected |
Definition at line 71 of file FResultSet.hxx.
Referenced by OpenImpl(), and sortRows().
|
protected |
Definition at line 70 of file FResultSet.hxx.
Referenced by GetOrderbyKeyValue(), OpenImpl(), and sortRows().
|
protected |
Definition at line 74 of file FResultSet.hxx.
Referenced by clearInsertRow(), deleteRow(), ExecuteRow(), connectivity::component::OComponentResultSet::getBookmark(), connectivity::dbase::ODbaseResultSet::getBookmark(), connectivity::flat::OFlatResultSet::getBookmark(), getDriverPos(), getRow(), insertRow(), isRowDeleted(), Move(), OpenImpl(), sortRows(), and updateRow().
|
protected |
Definition at line 73 of file FResultSet.hxx.
Referenced by ExecuteRow(), Move(), OpenImpl(), and sortRows().
|
protected |
Definition at line 79 of file FResultSet.hxx.
Referenced by absolute(), deleteRow(), disposing(), first(), getRow(), insertRow(), last(), next(), OResultSet(), previous(), and relative().
|
protected |
Definition at line 91 of file FResultSet.hxx.
Referenced by ExecuteRow(), getMetaData(), Move(), and OpenImpl().
|
protected |
Definition at line 110 of file FResultSet.hxx.
Referenced by cancelRowUpdates(), insertRow(), and moveToInsertRow().
|
protected |
Definition at line 116 of file FResultSet.hxx.
Referenced by OResultSet().
|
protected |
Definition at line 114 of file FResultSet.hxx.
Referenced by cancelRowUpdates(), deleteRow(), connectivity::component::OComponentResultSet::moveRelativeToBookmark(), connectivity::flat::OFlatResultSet::moveRelativeToBookmark(), connectivity::component::OComponentResultSet::moveToBookmark(), connectivity::dbase::ODbaseResultSet::moveToBookmark(), connectivity::flat::OFlatResultSet::moveToBookmark(), and rowDeleted().
|
protected |
Definition at line 113 of file FResultSet.hxx.
Referenced by cancelRowUpdates(), insertRow(), connectivity::component::OComponentResultSet::moveRelativeToBookmark(), connectivity::flat::OFlatResultSet::moveRelativeToBookmark(), connectivity::component::OComponentResultSet::moveToBookmark(), connectivity::dbase::ODbaseResultSet::moveToBookmark(), connectivity::flat::OFlatResultSet::moveToBookmark(), and rowInserted().
|
protected |
Definition at line 112 of file FResultSet.hxx.
Referenced by cancelRowUpdates(), connectivity::component::OComponentResultSet::moveRelativeToBookmark(), connectivity::flat::OFlatResultSet::moveRelativeToBookmark(), connectivity::component::OComponentResultSet::moveToBookmark(), connectivity::dbase::ODbaseResultSet::moveToBookmark(), connectivity::flat::OFlatResultSet::moveToBookmark(), rowUpdated(), and updateRow().
|
protected |
Definition at line 115 of file FResultSet.hxx.
Referenced by deleteRow(), ExecuteRow(), connectivity::dbase::ODbaseResultSet::getBookmark(), getRow(), and OResultSet().
|
protected |
Definition at line 109 of file FResultSet.hxx.
Referenced by getValue(), and wasNull().
|
protected |
Definition at line 108 of file FResultSet.hxx.
Referenced by checkIndex().
|
protected |
Definition at line 95 of file FResultSet.hxx.
Referenced by construct().
|
protected |
Definition at line 93 of file FResultSet.hxx.
Referenced by construct().
|
protected |
Definition at line 105 of file FResultSet.hxx.
Referenced by ExecuteRow(), Move(), and OpenImpl().
|
protected |
Definition at line 106 of file FResultSet.hxx.
Referenced by ExecuteRow(), and OpenImpl().
|
protected |
Definition at line 96 of file FResultSet.hxx.
Referenced by construct(), OpenImpl(), and OResultSet().
|
protected |
Definition at line 94 of file FResultSet.hxx.
Referenced by construct().
|
protected |
Definition at line 107 of file FResultSet.hxx.
Referenced by Move(), and OpenImpl().
|
protected |
Definition at line 104 of file FResultSet.hxx.
Referenced by isAfterLast(), isBeforeFirst(), isFirst(), isLast(), Move(), and OpenImpl().
|
protected |
Definition at line 81 of file FResultSet.hxx.
Referenced by deleteRow(), disposing(), ExecuteRow(), connectivity::dbase::ODbaseResultSet::fillIndexValues(), insertRow(), isAfterLast(), isLast(), Move(), OpenImpl(), and sortRows().
|
protected |
Definition at line 88 of file FResultSet.hxx.
Referenced by disposing(), OpenImpl(), and OResultSet().
|
protected |
Definition at line 85 of file FResultSet.hxx.
Referenced by disposing(), ExecuteRow(), and sortRows().
|
protected |
Definition at line 90 of file FResultSet.hxx.
Referenced by ExecuteRow(), Move(), OpenImpl(), and sortRows().
|
protected |
Definition at line 87 of file FResultSet.hxx.
Referenced by absolute(), deleteRow(), disposing(), doTableSpecials(), ExecuteRow(), first(), connectivity::dbase::ODbaseResultSet::getCurrentFilePos(), getMetaData(), insertRow(), last(), Move(), connectivity::dbase::ODbaseResultSet::moveRelativeToBookmark(), connectivity::dbase::ODbaseResultSet::moveToBookmark(), moveToInsertRow(), next(), OpenImpl(), previous(), relative(), sortRows(), and updateRow().
|
protected |
Definition at line 100 of file FResultSet.hxx.
Referenced by disposing(), and OpenImpl().
|
protected |
Definition at line 101 of file FResultSet.hxx.
Referenced by disposing(), ExecuteRow(), insertRow(), OpenImpl(), and updateRow().
|
protected |
Definition at line 86 of file FResultSet.hxx.
Referenced by deleteRow(), disposing(), ExecuteRow(), getMetaData(), and OpenImpl().
|
protected |
Definition at line 99 of file FResultSet.hxx.
Referenced by disposing(), and getMetaData().
|
protected |
Definition at line 98 of file FResultSet.hxx.
Referenced by disposing(), and getStatement().