OmniSciDB
c1a53651b2
|
#include <ParserNode.h>
Public Member Functions | |
CreateDBStmt (const rapidjson::Value &payload) | |
CreateDBStmt (std::string *n, std::list< NameValueAssign * > *l, const bool if_not_exists) | |
void | execute (const Catalog_Namespace::SessionInfo &session, bool read_only_mode) override |
![]() | |
void | setColumnDescriptor (ColumnDescriptor &cd, const ColumnDef *coldef) |
![]() | |
virtual | ~Node () |
Private Attributes | |
std::unique_ptr< std::string > | db_name_ |
std::list< std::unique_ptr < NameValueAssign > > | options_ |
bool | if_not_exists_ |
Definition at line 1927 of file ParserNode.h.
Parser::CreateDBStmt::CreateDBStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6545 of file ParserNode.cpp.
References CHECK, db_name_, if_not_exists_, json_bool(), json_str(), options_, and Parser::anonymous_namespace{ParserNode.cpp}::parse_options().
|
inline |
Definition at line 1931 of file ParserNode.h.
References options_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6557 of file ParserNode.cpp.
References Parser::checkStringLiteral(), db_name_, legacylockmgr::ExecutorOuterLock, Catalog_Namespace::SessionInfo::get_currentUser(), legacylockmgr::LockMgr< MutexType, KeyType >::getMutex(), if_not_exists_, Catalog_Namespace::UserMetadata::isSuper, options_, and Catalog_Namespace::UserMetadata::userId.
Referenced by heavydb.cursor.Cursor::executemany().
|
private |
Definition at line 1944 of file ParserNode.h.
Referenced by CreateDBStmt(), and execute().
|
private |
Definition at line 1946 of file ParserNode.h.
Referenced by CreateDBStmt(), and execute().
|
private |
Definition at line 1945 of file ParserNode.h.
Referenced by CreateDBStmt(), and execute().