OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
GrantRoleStmt (std::list< std::string * > *r, std::list< std::string * > *g) | |
GrantRoleStmt (const rapidjson::Value &payload) | |
const std::vector< std::string > & | get_roles () const |
const std::vector< std::string > & | get_grantees () 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::vector< std::string > | roles_ |
std::vector< std::string > | grantees_ |
Definition at line 1635 of file ParserNode.h.
|
inline |
Definition at line 1637 of file ParserNode.h.
References grantees_, Parser::parser_slistval_to_vector(), and roles_.
Parser::GrantRoleStmt::GrantRoleStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6388 of file ParserNode.cpp.
References CHECK, grantees_, json_str(), and roles_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6405 of file ParserNode.cpp.
References Catalog_Namespace::SessionInfo::get_currentUser(), get_grantees(), get_roles(), lockmgr::instance(), and shared::kRootUsername.
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
Definition at line 1644 of file ParserNode.h.
References grantees_.
Referenced by execute().
|
inline |
Definition at line 1643 of file ParserNode.h.
References roles_.
Referenced by execute().
|
private |
Definition at line 1650 of file ParserNode.h.
Referenced by get_grantees(), and GrantRoleStmt().
|
private |
Definition at line 1649 of file ParserNode.h.
Referenced by get_roles(), and GrantRoleStmt().