OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
DropRoleStmt (std::string *r, bool e) | |
DropRoleStmt (const rapidjson::Value &payload) | |
const std::string & | get_role () const |
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 > | role_ |
bool | if_exists_ |
Definition at line 1528 of file ParserNode.h.
|
inline |
Definition at line 1530 of file ParserNode.h.
Parser::DropRoleStmt::DropRoleStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 5941 of file ParserNode.cpp.
References CHECK, if_exists_, json_bool(), json_str(), and role_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 5951 of file ParserNode.cpp.
References Catalog_Namespace::SessionInfo::get_currentUser(), get_role(), if_exists_, and lockmgr::instance().
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
Definition at line 1532 of file ParserNode.h.
References role_.
Referenced by execute().
|
private |
Definition at line 1538 of file ParserNode.h.
Referenced by DropRoleStmt(), and execute().
|
private |
Definition at line 1537 of file ParserNode.h.
Referenced by DropRoleStmt(), and get_role().