21#include <com/sun/star/sdbc/XRow.hpp>
22#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
23#include <com/sun/star/sdbc/XResultSet.hpp>
24#include <com/sun/star/sdbc/XConnection.hpp>
25#include <com/sun/star/beans/XPropertySet.hpp>
35 class OCacheSet :
public ::cppu::WeakImplHelper< css::sdbc::XRow>
57 ,
const css::uno::Reference< css::sdbc::XParameters >& _xParameter
64 ,OUStringBuffer& _sCondition
65 ,OUStringBuffer& _sParameter
66 ,std::vector< sal_Int32>& _rOrgValues);
69 void fillTableName(
const css::uno::Reference< css::beans::XPropertySet>& _xTable);
75 virtual void construct(
const css::uno::Reference< css::sdbc::XResultSet>& _xDriverSet,
const OUString& i_sRowSetFilter);
80 virtual OUString SAL_CALL
getString( sal_Int32 columnIndex )
override;
83 virtual sal_Int16 SAL_CALL
getShort( sal_Int32 columnIndex )
override;
84 virtual sal_Int32 SAL_CALL
getInt( sal_Int32 columnIndex )
override;
85 virtual sal_Int64 SAL_CALL
getLong( sal_Int32 columnIndex )
override;
86 virtual float SAL_CALL
getFloat( sal_Int32 columnIndex )
override;
87 virtual double SAL_CALL
getDouble( sal_Int32 columnIndex )
override;
88 virtual css::uno::Sequence< sal_Int8 > SAL_CALL
getBytes( sal_Int32 columnIndex )
override;
89 virtual css::util::Date SAL_CALL
getDate( sal_Int32 columnIndex )
override;
90 virtual css::util::Time SAL_CALL
getTime( sal_Int32 columnIndex )
override;
91 virtual css::util::DateTime SAL_CALL
getTimestamp( sal_Int32 columnIndex )
override;
92 virtual css::uno::Reference< css::io::XInputStream > SAL_CALL
getBinaryStream( sal_Int32 columnIndex )
override;
93 virtual css::uno::Reference< css::io::XInputStream > SAL_CALL
getCharacterStream( sal_Int32 columnIndex )
override;
94 virtual css::uno::Any SAL_CALL
getObject( sal_Int32 columnIndex,
const css::uno::Reference< css::container::XNameAccess >& typeMap )
override;
95 virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL
getRef( sal_Int32 columnIndex )
override;
96 virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL
getBlob( sal_Int32 columnIndex )
override;
97 virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL
getClob( sal_Int32 columnIndex )
override;
98 virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL
getArray( sal_Int32 columnIndex )
override;
111 virtual bool first();
117 virtual sal_Int32
getRow( );
120 virtual bool absolute( sal_Int32 row );
164 virtual void reset(
const css::uno::Reference< css::sdbc::XResultSet>& _xDriverSet) = 0;
std::vector< VectorVal > Vector
std::vector< bool > m_aNullable
virtual sal_Bool SAL_CALL getBoolean(sal_Int32 columnIndex) override
virtual css::uno::Any getBookmark()=0
virtual css::util::DateTime SAL_CALL getTimestamp(sal_Int32 columnIndex) override
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob(sal_Int32 columnIndex) override
virtual sal_Int8 SAL_CALL getByte(sal_Int32 columnIndex) override
virtual bool moveToBookmark(const css::uno::Any &bookmark)=0
virtual bool hasOrderedBookmarks()=0
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xSetMetaData
css::uno::Reference< css::sdbc::XResultSet > m_xDriverSet
virtual bool updateColumnValues(const ORowSetValueVector::Vector &io_aCachedRow, ORowSetValueVector::Vector &io_aRow, const std::vector< sal_Int32 > &i_aChangedColumns)
virtual void mergeColumnValues(sal_Int32 i_nColumnIndex, ORowSetValueVector::Vector &io_aInsertRow, ORowSetValueVector::Vector &io_aRow, std::vector< sal_Int32 > &o_aChangedColumns)
OUString m_aComposedTableName
css::uno::Reference< css::sdbc::XConnection > m_xConnection
virtual OUString SAL_CALL getString(sal_Int32 columnIndex) override
virtual sal_Int64 SAL_CALL getLong(sal_Int32 columnIndex) override
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL getRef(sal_Int32 columnIndex) override
virtual bool rowInserted()
virtual void fillValueRow(ORowSetRow &_rRow, sal_Int32 _nPosition)
std::vector< bool > m_aSignedFlags
virtual void insertRow(const ORowSetRow &_rInsertRow, const connectivity::OSQLTable &_xTable)
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream(sal_Int32 columnIndex) override
virtual void beforeFirst()
virtual sal_Int32 SAL_CALL getInt(sal_Int32 columnIndex) override
virtual void reset(const css::uno::Reference< css::sdbc::XResultSet > &_xDriverSet)=0
virtual sal_Int32 hashBookmark(const css::uno::Any &bookmark)=0
virtual css::uno::Any SAL_CALL getObject(sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override
css::uno::Reference< css::sdbc::XRow > m_xDriverRow
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBytes(sal_Int32 columnIndex) override
virtual css::util::Date SAL_CALL getDate(sal_Int32 columnIndex) override
void fillParameters(const ORowSetRow &_rRow, const connectivity::OSQLTable &_xTable, OUStringBuffer &_sCondition, OUStringBuffer &_sParameter, std::vector< sal_Int32 > &_rOrgValues)
virtual bool rowDeleted()
std::vector< sal_Int32 > m_aColumnTypes
virtual void refreshRow()
OCacheSet(sal_Int32 i_nMaxRows)
virtual bool columnValuesUpdated(ORowSetValueVector::Vector &o_aCachedRow, const ORowSetValueVector::Vector &i_aRow)
virtual void fillMissingValues(ORowSetValueVector::Vector &io_aRow) const
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream(sal_Int32 columnIndex) override
virtual float SAL_CALL getFloat(sal_Int32 columnIndex) override
virtual sal_Int32 getRow()
virtual sal_Int32 compareBookmarks(const css::uno::Any &first, const css::uno::Any &second)=0
virtual void deleteRow(const ORowSetRow &_rDeleteRow, const connectivity::OSQLTable &_xTable)=0
virtual bool rowUpdated()
virtual sal_Int16 SAL_CALL getShort(sal_Int32 columnIndex) override
virtual double SAL_CALL getDouble(sal_Int32 columnIndex) override
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob(sal_Int32 columnIndex) override
static void setParameter(sal_Int32 nPos, const css::uno::Reference< css::sdbc::XParameters > &_xParameter, const connectivity::ORowSetValue &_rValue, sal_Int32 _nType, sal_Int32 _nScale)
virtual sal_Bool SAL_CALL wasNull() override
virtual bool absolute(sal_Int32 row)
virtual void construct(const css::uno::Reference< css::sdbc::XResultSet > &_xDriverSet, const OUString &i_sRowSetFilter)
virtual css::util::Time SAL_CALL getTime(sal_Int32 columnIndex) override
virtual void updateRow(const ORowSetRow &_rInsertRow, const ORowSetRow &_rOriginalRow, const connectivity::OSQLTable &_xTable)
OUString getIdentifierQuoteString() const
virtual bool isResultSetChanged() const
virtual ~OCacheSet() override
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray(sal_Int32 columnIndex) override
void fillTableName(const css::uno::Reference< css::beans::XPropertySet > &_xTable)
css::uno::Reference< css::sdbcx::XColumnsSupplier > OSQLTable