OmniSciDB
c1a53651b2
|
#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 |
![]() | |
void | setColumnDescriptor (ColumnDescriptor &cd, const ColumnDef *coldef) |
![]() | |
virtual | ~Node () |
Private Attributes | |
std::vector< std::string > | roles_ |
std::vector< std::string > | grantees_ |
Definition at line 1670 of file ParserNode.h.
|
inline |
Definition at line 1672 of file ParserNode.h.
References grantees_, Parser::parser_slistval_to_vector(), and roles_.
Parser::RevokeRoleStmt::RevokeRoleStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6102 of file ParserNode.cpp.
References CHECK, grantees_, json_str(), and roles_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6119 of file ParserNode.cpp.
References Catalog_Namespace::SessionInfo::get_currentUser(), get_grantees(), get_roles(), and shared::kRootUsername.
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
Definition at line 1679 of file ParserNode.h.
References grantees_.
Referenced by execute().
|
inline |
Definition at line 1678 of file ParserNode.h.
References roles_.
Referenced by execute().
|
private |
Definition at line 1685 of file ParserNode.h.
Referenced by get_grantees(), and RevokeRoleStmt().
|
private |
Definition at line 1684 of file ParserNode.h.
Referenced by get_roles(), and RevokeRoleStmt().