OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
ShowPrivilegesStmt (std::string *t, std::string *o, std::string *r) | |
const std::string & | get_object_type () const |
const std::string & | get_object () const |
const std::string & | get_role () 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::unique_ptr< std::string > | object_type_ |
std::unique_ptr< std::string > | object_ |
std::unique_ptr< std::string > | role_ |
Definition at line 1615 of file ParserNode.h.
|
inline |
Definition at line 1617 of file ParserNode.h.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6290 of file ParserNode.cpp.
References TablePrivileges::ALTER_TABLE, DashboardPrivileges::CREATE_DASHBOARD, DatabasePrivileges::CREATE_DATABASE, TablePrivileges::CREATE_TABLE, ViewPrivileges::CREATE_VIEW, Parser::createObject(), DashboardDBObjectType, DatabaseDBObjectType, DBObjectTypeFromString(), DashboardPrivileges::DELETE_DASHBOARD, TablePrivileges::DELETE_FROM_TABLE, ViewPrivileges::DELETE_FROM_VIEW, DatabasePrivileges::DROP_DATABASE, TablePrivileges::DROP_TABLE, ViewPrivileges::DROP_VIEW, DashboardPrivileges::EDIT_DASHBOARD, Parser::extractObjectNameFromHierName(), Catalog_Namespace::SessionInfo::get_currentUser(), get_object(), get_object_type(), get_role(), Catalog_Namespace::SessionInfo::getCatalog(), DBObject::getPrivileges(), AccessPrivileges::hasPermission(), TablePrivileges::INSERT_INTO_TABLE, ViewPrivileges::INSERT_INTO_VIEW, lockmgr::instance(), TablePrivileges::SELECT_FROM_TABLE, ViewPrivileges::SELECT_FROM_VIEW, TableDBObjectType, TablePrivileges::TRUNCATE_TABLE, TablePrivileges::UPDATE_IN_TABLE, ViewPrivileges::UPDATE_IN_VIEW, Parser::verifyObject(), DashboardPrivileges::VIEW_DASHBOARD, and ViewDBObjectType.
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
Definition at line 1620 of file ParserNode.h.
References object_.
Referenced by execute().
|
inline |
Definition at line 1619 of file ParserNode.h.
References object_type_.
Referenced by execute().
|
inline |
Definition at line 1621 of file ParserNode.h.
References role_.
Referenced by execute().
|
private |
Definition at line 1627 of file ParserNode.h.
Referenced by get_object().
|
private |
Definition at line 1626 of file ParserNode.h.
Referenced by get_object_type().
|
private |
Definition at line 1628 of file ParserNode.h.
Referenced by get_role().