43#include <com/sun/star/sdbc/SQLException.hpp>
45using com::sun::star::sdbc::XResultSetMetaData;
48using com::sun::star::uno::Any;
66 const ::rtl::Reference< comphelper::RefCountedMutex > & mutex,
67 const css::uno::Reference< css::uno::XInterface > &owner,
68 std::vector< OUString >&& colNames,
69 std::vector< std::vector< Any > >&& data,
73 m_data(
std::move(data) ),
74 m_columnNames(
std::move(colNames) )
97 throw css::sdbc::SQLException(
98 "pq_sequenceresultset: no meta supported ", *
this,
virtual ~SequenceResultSet() override
SequenceResultSet(const ::rtl::Reference< comphelper::RefCountedMutex > &mutex, const css::uno::Reference< css::uno::XInterface > &owner, std::vector< OUString > &&colNames, std::vector< std::vector< css::uno::Any > > &&data, const css::uno::Reference< css::script::XTypeConverter > &tc, const ColumnMetaDataVector *pVec=nullptr)
std::vector< std::vector< css::uno::Any > > m_data
virtual void checkClosed() override
mutex should be locked before called
virtual void SAL_CALL close() override
virtual sal_Int32 SAL_CALL findColumn(const OUString &columnName) override
virtual css::uno::Any getValue(sal_Int32 columnIndex) override
unchecked, acquire mutex before calling
css::uno::Reference< css::sdbc::XResultSetMetaData > m_meta
std::vector< OUString > m_columnNames
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData() override
std::vector< ColumnMetaData > ColumnMetaDataVector