OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
GrantPrivilegesStmt (std::list< std::string * > *p, std::string *t, std::string *o, std::list< std::string * > *g) | |
GrantPrivilegesStmt (const rapidjson::Value &payload) | |
const std::vector< std::string > & | get_privs () const |
const std::string & | get_object_type () const |
const std::string & | get_object () 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 > | privileges_ |
std::unique_ptr< std::string > | type_ |
std::unique_ptr< std::string > | target_ |
std::vector< std::string > | grantees_ |
Definition at line 1555 of file ParserNode.h.
|
inline |
Definition at line 1557 of file ParserNode.h.
References grantees_, Parser::parser_slistval_to_vector(), and privileges_.
Parser::GrantPrivilegesStmt::GrantPrivilegesStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6155 of file ParserNode.cpp.
References CHECK, grantees_, json_str(), privileges_, target_, and type_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6181 of file ParserNode.cpp.
References Parser::createObject(), DBObjectTypeFromString(), Parser::extractObjectNameFromHierName(), g_enable_fsi, Catalog_Namespace::SessionInfo::get_currentUser(), get_object(), get_object_type(), get_privs(), Catalog_Namespace::SessionInfo::getCatalog(), grantees_, lockmgr::instance(), Parser::parseStringPrivs(), ServerDBObjectType, and Parser::verifyObject().
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
Definition at line 1570 of file ParserNode.h.
References grantees_.
|
inline |
Definition at line 1569 of file ParserNode.h.
References target_.
Referenced by execute().
|
inline |
Definition at line 1568 of file ParserNode.h.
References type_.
Referenced by execute().
|
inline |
Definition at line 1567 of file ParserNode.h.
References privileges_.
Referenced by execute().
|
private |
Definition at line 1578 of file ParserNode.h.
Referenced by execute(), get_grantees(), and GrantPrivilegesStmt().
|
private |
Definition at line 1575 of file ParserNode.h.
Referenced by get_privs(), and GrantPrivilegesStmt().
|
private |
Definition at line 1577 of file ParserNode.h.
Referenced by get_object(), and GrantPrivilegesStmt().
|
private |
Definition at line 1576 of file ParserNode.h.
Referenced by get_object_type(), and GrantPrivilegesStmt().