OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
DropUserStmt (const rapidjson::Value &payload) | |
DropUserStmt (std::string *n, bool e) | |
auto const & | getUserName () |
void | execute (const Catalog_Namespace::SessionInfo &session, bool read_only_mode) override |
Public Member Functions inherited from Parser::DDLStmt | |
void | setColumnDescriptor (ColumnDescriptor &cd, const ColumnDef *coldef) |
Public Member Functions inherited from Parser::Node | |
virtual | ~Node () |
Private Attributes | |
std::unique_ptr< std::string > | user_name_ |
bool | if_exists_ |
Definition at line 2057 of file ParserNode.h.
Parser::DropUserStmt::DropUserStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 7054 of file ParserNode.cpp.
References CHECK, if_exists_, json_bool(), json_str(), and user_name_.
|
inline |
Definition at line 2060 of file ParserNode.h.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 7064 of file ParserNode.cpp.
References Catalog_Namespace::SessionInfo::get_currentUser(), if_exists_, lockmgr::instance(), Catalog_Namespace::UserMetadata::isSuper, and user_name_.
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
Definition at line 2061 of file ParserNode.h.
References user_name_.
|
private |
Definition at line 2067 of file ParserNode.h.
Referenced by DropUserStmt(), and execute().
|
private |
Definition at line 2066 of file ParserNode.h.
Referenced by DropUserStmt(), execute(), and getUserName().