LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | List of all members
dbahsql::FbCreateStmtParser Class Reference

#include <fbcreateparser.hxx>

Inheritance diagram for dbahsql::FbCreateStmtParser:
[legend]
Collaboration diagram for dbahsql::FbCreateStmtParser:
[legend]

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)
 

Detailed Description

Definition at line 16 of file fbcreateparser.hxx.

Constructor & Destructor Documentation

◆ FbCreateStmtParser()

dbahsql::FbCreateStmtParser::FbCreateStmtParser ( )
default

Create statement parser, which can compose the result to statements of Firebird dialect.

Member Function Documentation

◆ appendPrimaryKeyPart()

void dbahsql::FbCreateStmtParser::appendPrimaryKeyPart ( rtl::OUStringBuffer &  rSql) const
protected

Definition at line 101 of file fbcreateparser.cxx.

References dbahsql::CreateStmtParser::getPrimaryKeys().

Referenced by compose().

◆ compose()

OUString dbahsql::FbCreateStmtParser::compose ( ) const
overridevirtual

◆ ensureProperTableLengths()

void dbahsql::FbCreateStmtParser::ensureProperTableLengths ( ) const
protected

The documentation for this class was generated from the following files: