Interface to properties of the database language used. More...
#include <databaseLanguage.hpp>
Public Types | |
typedef std::pair< std::string, std::string > | TemplateArgumentAssignment |
Substitute all template arguments in the specified embedded database statement. More... | |
Public Member Functions | |
virtual | ~LanguageDescription () |
Destructor. More... | |
virtual const char * | eoln_commentopr () const =0 |
Operator marking the start of an end of line comment. More... | |
virtual std::string | stm_argument_reference (int index) const =0 |
String used for declaring a reference to an argument by index (starting with 1). Default is the SQL standard argument reference in embedded database statements. More... | |
virtual bool | isEmbeddedStatement (std::string::const_iterator si, std::string::const_iterator se) const =0 |
Evaluate if the start of the block specified as argument is forming an embedded statement in the database language. More... | |
virtual std::string | parseEmbeddedStatement (std::string::const_iterator &si, std::string::const_iterator se) const =0 |
Parse an embedded statement in the database language. More... | |
virtual std::string | substituteTemplateArguments (const std::string &cmd, const std::vector< TemplateArgumentAssignment > &arg) const =0 |
virtual bool | isCaseSensitive () const =0 |
Define if a database is case-insensitive. This has influence on TDL parsing Default is according SQL standard 'false'. More... | |
Interface to properties of the database language used.
Interface to properties of the database language (SQL)
typedef std::pair<std::string,std::string> _Wolframe::db::LanguageDescription::TemplateArgumentAssignment |
Substitute all template arguments in the specified embedded database statement.
[in] | cmd | embedded database statement |
[in] | arg | template arguments to substitute in the embedded database statement |
|
inlinevirtual |
Destructor.
|
pure virtual |
Operator marking the start of an end of line comment.
Implemented in _Wolframe::db::LanguageDescriptionSQL.
|
pure virtual |
Define if a database is case-insensitive. This has influence on TDL parsing Default is according SQL standard 'false'.
Implemented in _Wolframe::db::LanguageDescriptionSQL.
|
pure virtual |
Evaluate if the start of the block specified as argument is forming an embedded statement in the database language.
Implemented in _Wolframe::db::LanguageDescriptionSQL.
|
pure virtual |
Parse an embedded statement in the database language.
Implemented in _Wolframe::db::LanguageDescriptionSQL.
|
pure virtual |
String used for declaring a reference to an argument by index (starting with 1). Default is the SQL standard argument reference in embedded database statements.
Implemented in _Wolframe::db::LanguageDescriptionSQL.
|
pure virtual |
Implemented in _Wolframe::db::LanguageDescriptionSQL.
Copyright © 2014 - Project Wolframe - All Rights Reserved