OmniSciDB
c1a53651b2
|
#include <ParserNode.h>
Public Member Functions | |
DropDBStmt (const rapidjson::Value &payload) | |
DropDBStmt (std::string *n, bool i) | |
auto const & | getDatabaseName () |
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_ |
bool | if_exists_ |
Definition at line 1953 of file ParserNode.h.
Parser::DropDBStmt::DropDBStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6597 of file ParserNode.cpp.
References CHECK, db_name_, if_exists_, json_bool(), and json_str().
|
inlineexplicit |
Definition at line 1957 of file ParserNode.h.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6607 of file ParserNode.cpp.
References db_name_, legacylockmgr::ExecutorOuterLock, Catalog_Namespace::SessionInfo::get_currentUser(), legacylockmgr::LockMgr< MutexType, KeyType >::getMutex(), if_exists_, Catalog_Namespace::UserMetadata::isSuper, and Catalog_Namespace::UserMetadata::userId.
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
|
private |
Definition at line 1963 of file ParserNode.h.
Referenced by DropDBStmt(), execute(), and getDatabaseName().
|
private |
Definition at line 1964 of file ParserNode.h.
Referenced by DropDBStmt(), and execute().