OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
CreateRoleStmt (std::string *r) | |
CreateRoleStmt (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_ |
Definition at line 1512 of file ParserNode.h.
|
inline |
Definition at line 1514 of file ParserNode.h.
Parser::CreateRoleStmt::CreateRoleStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 5921 of file ParserNode.cpp.
References CHECK, json_str(), and role_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 5926 of file ParserNode.cpp.
References Catalog_Namespace::SessionInfo::get_currentUser(), get_role(), and lockmgr::instance().
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
Definition at line 1516 of file ParserNode.h.
References role_.
Referenced by execute().
|
private |
Definition at line 1521 of file ParserNode.h.
Referenced by CreateRoleStmt(), and get_role().