OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
AlterUserStmt (const rapidjson::Value &payload) | |
AlterUserStmt (std::string *n, std::list< NameValueAssign * > *l) | |
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 > | user_name_ |
std::list< std::unique_ptr < NameValueAssign > > | options_ |
Definition at line 2034 of file ParserNode.h.
Parser::AlterUserStmt::AlterUserStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6996 of file ParserNode.cpp.
References CHECK, json_str(), options_, Parser::anonymous_namespace{ParserNode.cpp}::parse_options(), and user_name_.
|
inline |
Definition at line 2037 of file ParserNode.h.
References options_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 7003 of file ParserNode.cpp.
References Catalog_Namespace::UserAlterations::can_login, Parser::checkStringLiteral(), Catalog_Namespace::UserAlterations::default_db, Catalog_Namespace::SessionInfo::get_currentUser(), lockmgr::instance(), Catalog_Namespace::UserAlterations::is_super, Catalog_Namespace::UserMetadata::isSuper, options_, Catalog_Namespace::UserAlterations::passwd, Parser::readBooleanLiteral(), user_name_, and Catalog_Namespace::UserMetadata::userId.
Referenced by heavydb.cursor.Cursor::executemany().
|
private |
Definition at line 2050 of file ParserNode.h.
Referenced by AlterUserStmt(), and execute().
|
private |
Definition at line 2049 of file ParserNode.h.
Referenced by AlterUserStmt(), and execute().