OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
RevokePrivilegesStmt (std::list< std::string * > *p, std::string *t, std::string *o, std::list< std::string * > *g) | |
RevokePrivilegesStmt (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 1585 of file ParserNode.h.
|
inline |
Definition at line 1587 of file ParserNode.h.
References grantees_, Parser::parser_slistval_to_vector(), and privileges_.
Parser::RevokePrivilegesStmt::RevokePrivilegesStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6222 of file ParserNode.cpp.
References CHECK, grantees_, json_str(), privileges_, target_, and type_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6248 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 1600 of file ParserNode.h.
References grantees_.
|
inline |
Definition at line 1599 of file ParserNode.h.
References target_.
Referenced by execute().
|
inline |
Definition at line 1598 of file ParserNode.h.
References type_.
Referenced by execute().
|
inline |
Definition at line 1597 of file ParserNode.h.
References privileges_.
Referenced by execute().
|
private |
Definition at line 1608 of file ParserNode.h.
Referenced by execute(), get_grantees(), and RevokePrivilegesStmt().
|
private |
Definition at line 1605 of file ParserNode.h.
Referenced by get_privs(), and RevokePrivilegesStmt().
|
private |
Definition at line 1607 of file ParserNode.h.
Referenced by get_object(), and RevokePrivilegesStmt().
|
private |
Definition at line 1606 of file ParserNode.h.
Referenced by get_object_type(), and RevokePrivilegesStmt().