OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
RevokeRoleStmt (std::list< std::string * > *r, std::list< std::string * > *g) | |
RevokeRoleStmt (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 1657 of file ParserNode.h.
|
inline |
Definition at line 1659 of file ParserNode.h.
References grantees_, Parser::parser_slistval_to_vector(), and roles_.
Parser::RevokeRoleStmt::RevokeRoleStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6425 of file ParserNode.cpp.
References CHECK, grantees_, json_str(), and roles_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6442 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 1666 of file ParserNode.h.
References grantees_.
Referenced by execute().
|
inline |
Definition at line 1665 of file ParserNode.h.
References roles_.
Referenced by execute().
|
private |
Definition at line 1672 of file ParserNode.h.
Referenced by get_grantees(), and RevokeRoleStmt().
|
private |
Definition at line 1671 of file ParserNode.h.
Referenced by get_roles(), and RevokeRoleStmt().