24#include <com/sun/star/sdbc/XRow.hpp>
28View::View(
const css::uno::Reference<css::sdbc::XConnection>& _rxConnection,
bool _bCaseSensitive,
29 const OUString& _rSchemaName,
const OUString& _rName)
30 :
View_Base(_bCaseSensitive, _rName, _rxConnection->getMetaData(), OUString(), _rSchemaName,
43 if (!aReturn.hasValue())
55 return css::uno::Sequence<sal_Int8>();
79 OUString
aCommand(
"SELECT VIEW_DEFINITION FROM INFORMATION_SCHEMA.VIEWS WHERE TABLE_SCHEMA = '"
82 css::uno::Reference<css::sdbc::XResultSet> xResult(
84 css::uno::UNO_SET_THROW);
92 css::uno::Reference<css::sdbc::XRow> xRow(xResult, css::uno::UNO_QUERY_THROW);
93 return xRow->getString(1);
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
virtual void SAL_CALL release() noexcept override
View(const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, bool _bCaseSensitive, const OUString &_rSchemaName, const OUString &_rName)
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void SAL_CALL alterCommand(const OUString &NewCommand) override
virtual void SAL_CALL acquire() noexcept override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &_rValue, sal_Int32 _nHandle) const override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
OUString impl_getCommand() const
retrieves the current command of the View
virtual void SAL_CALL release() noexcept override
virtual void SAL_CALL acquire() noexcept override
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
Reference< XConnection > m_xConnection
#define PROPERTY_ID_COMMAND