LibreOffice Module dbaccess (master) 1
|
#include <alterparser.hxx>
Public Member Functions | |
virtual | ~AlterStmtParser ()=default |
OUString const & | getTableName () const |
void | parse (const OUString &sSql) |
virtual OUString | compose () const =0 |
Protected Member Functions | |
AlterAction | getActionType () const |
OUString const & | getColumnName () const |
sal_Int32 | getIdentityParam () const |
OUString const & | getStatement () const |
Private Attributes | |
OUString | m_sStmt |
OUString | m_sTableName |
OUString | m_sColumnName |
AlterAction | m_eAction = AlterAction::UNKNOWN |
sal_Int32 | m_nIdentityParam = 0 |
Definition at line 23 of file alterparser.hxx.
|
virtualdefault |
|
pure virtual |
Implemented in dbahsql::FbAlterStmtParser.
|
inlineprotected |
Definition at line 33 of file alterparser.hxx.
References m_eAction.
Referenced by dbahsql::FbAlterStmtParser::compose().
|
inlineprotected |
Definition at line 34 of file alterparser.hxx.
References m_sColumnName.
Referenced by dbahsql::FbAlterStmtParser::compose().
|
inlineprotected |
Definition at line 35 of file alterparser.hxx.
References m_nIdentityParam.
Referenced by dbahsql::FbAlterStmtParser::compose().
|
inlineprotected |
Definition at line 36 of file alterparser.hxx.
References m_sStmt.
Referenced by dbahsql::FbAlterStmtParser::compose().
|
inline |
Definition at line 44 of file alterparser.hxx.
References m_sTableName.
Referenced by dbahsql::FbAlterStmtParser::compose().
void dbahsql::AlterStmtParser::parse | ( | const OUString & | sSql | ) |
Definition at line 27 of file alterparser.cxx.
References dbahsql::ADD_FOREIGN, dbahsql::utils::getTableNameFromStmt(), dbahsql::IDENTITY_RESTART, m_eAction, m_nIdentityParam, m_sColumnName, m_sStmt, m_sTableName, SAL_WARN, comphelper::string::split(), and u.
Referenced by dbahsql::SchemaParser::parseSchema().
|
private |
Definition at line 29 of file alterparser.hxx.
Referenced by getActionType(), and parse().
|
private |
Definition at line 30 of file alterparser.hxx.
Referenced by getIdentityParam(), and parse().
|
private |
Definition at line 28 of file alterparser.hxx.
Referenced by getColumnName(), and parse().
|
private |
Definition at line 26 of file alterparser.hxx.
Referenced by getStatement(), and parse().
|
private |
Definition at line 27 of file alterparser.hxx.
Referenced by getTableName(), and parse().