LibreOffice Module dbaccess (master) 1
|
#include <fbcreateparser.hxx>
Public Member Functions | |
FbCreateStmtParser ()=default | |
Create statement parser, which can compose the result to statements of Firebird dialect. More... | |
virtual OUString | compose () const override |
Compose the result of the parser to statements of Firebird dialect. More... | |
Public Member Functions inherited from dbahsql::CreateStmtParser | |
CreateStmtParser () | |
virtual | ~CreateStmtParser () |
OUString const & | getTableName () const |
std::vector< OUString > const & | getPrimaryKeys () const |
const std::vector< ColumnDefinition > & | getColumnDef () const |
const std::vector< OUString > & | getForeignParts () const |
void | parse (std::u16string_view sSql) |
Parses a create statement. More... | |
virtual OUString | compose () const =0 |
Recreate the sql statement. More... | |
Protected Member Functions | |
void | ensureProperTableLengths () const |
void | appendPrimaryKeyPart (rtl::OUStringBuffer &rSql) const |
Protected Member Functions inherited from dbahsql::CreateStmtParser | |
void | parseColumnPart (std::u16string_view sColumnPart) |
void | parsePrimaryKeys (std::u16string_view sPrimaryPart) |
Definition at line 16 of file fbcreateparser.hxx.
|
default |
Create statement parser, which can compose the result to statements of Firebird dialect.
|
protected |
Definition at line 101 of file fbcreateparser.cxx.
References dbahsql::CreateStmtParser::getPrimaryKeys().
Referenced by compose().
|
overridevirtual |
Compose the result of the parser to statements of Firebird dialect.
Implements dbahsql::CreateStmtParser.
Definition at line 127 of file fbcreateparser.cxx.
References appendPrimaryKeyPart(), ensureProperTableLengths(), dbahsql::CreateStmtParser::getColumnDef(), and dbahsql::CreateStmtParser::getTableName().
Referenced by dbahsql::SchemaParser::parseSchema().
|
protected |
Definition at line 120 of file fbcreateparser.cxx.
References col, dbahsql::utils::ensureFirebirdTableLength(), and dbahsql::CreateStmtParser::getColumnDef().
Referenced by compose().