22#include <com/sun/star/sdbc/XStatement.hpp>
23#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
24#include <com/sun/star/sdbc/XCloseable.hpp>
25#include <com/sun/star/sdbc/SQLWarning.hpp>
26#include <com/sun/star/util/XCancellable.hpp>
35#include <com/sun/star/lang/XServiceInfo.hpp>
44 typedef ::cppu::WeakComponentImplHelper< css::sdbc::XWarningsSupplier,
45 css::util::XCancellable,
67 css::uno::Reference< css::container::XNameAccess>
m_xColNames;
96 void createColumnMapping();
102 virtual void initializeResultSet(
OResultSet* _pResult);
106 void closeResultSet();
108 void disposeResultSet();
109 void GetAssignValues();
110 void SetAssignValue(
const OUString& aColumnName,
111 const OUString& aValue,
112 bool bSetNull =
false,
114 void ParseAssignValues(
const std::vector< OUString>& aColumnNameList,
117 virtual void parseParamterElem(
const OUString& _sColumnName,
OSQLParseNode* pRow_Value_Constructor_Elem);
121 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( )
const override;
123 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper()
override;
132 using OStatement_BASE::operator css::uno::Reference< css::uno::XInterface >;
136 virtual void construct(
const OUString&
sql);
139 virtual void SAL_CALL disposing()
override;
142 virtual void SAL_CALL acquire() noexcept override;
144 virtual css::
uno::Any SAL_CALL queryInterface( const css::
uno::
Type & rType ) override;
149 virtual css::
uno::
Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
151 virtual css::
uno::Any SAL_CALL getWarnings( ) override;
152 virtual
void SAL_CALL clearWarnings( ) override;
154 virtual
void SAL_CALL cancel( ) override;
156 virtual
void SAL_CALL close( ) override;
165 virtual void SAL_CALL disposing()
override;
167 virtual void SAL_CALL release() noexcept override;
183 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
184 virtual void SAL_CALL acquire() noexcept override;
185 virtual
void SAL_CALL release() noexcept override;
188 virtual css::
uno::
Reference< css::sdbc::XResultSet > SAL_CALL executeQuery( const OUString&
sql ) override ;
189 virtual sal_Int32 SAL_CALL executeUpdate( const OUString&
sql ) override ;
190 virtual
sal_Bool SAL_CALL execute( const OUString&
sql ) override ;
OStatement_BASE2(OConnection *_pConnection)
std::unique_ptr< OSQLAnalyzer > m_pSQLAnalyzer
OValueRefRow m_aSelectRow
std::vector< sal_Int32 > m_aColMapping
connectivity::OSQLParseTreeIterator m_aSQLIterator
css::uno::Reference< css::container::XNameAccess > m_xColNames
css::sdbc::SQLWarning m_aLastWarning
connectivity::OSQLParseNode * m_pParseTree
sal_Int32 m_nResultSetConcurrency
std::vector< sal_Int32 > m_aOrderbyColumnNumber
rtl::Reference< OConnection > m_pConnection
connectivity::OSQLParseNode * getParseTree() const
virtual rtl::Reference< OResultSet > createResultSet()=0
sal_Int32 m_nFetchDirection
rtl::Reference< OFileTable > m_pTable
connectivity::OSQLParser m_aParser
sal_Int32 m_nResultSetType
css::uno::WeakReference< css::sdbc::XResultSet > m_xResultSet
ORefAssignValues m_aAssignValues
sal_Int32 m_nMaxFieldSize
std::vector< TAscendingOrder > m_aOrderbyAscending
sal_Int32 m_nQueryTimeOut
std::vector< sal_Int32 > m_aParameterIndexes
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xDBMetaData
OConnection * getOwnConnection() const
OValueRefRow m_aEvaluateRow
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
OStatement(OConnection *_pConnection)
#define OOO_DLLPUBLIC_FILE
::cppu::WeakComponentImplHelper< css::sdbc::XWarningsSupplier, css::util::XCancellable, css::sdbc::XCloseable > OStatement_BASE
::cppu::ImplHelper1< css::sdbc::XStatement > OStatement_Base