OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
CreateUserStmt (const rapidjson::Value &payload) | |
CreateUserStmt (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 2011 of file ParserNode.h.
Parser::CreateUserStmt::CreateUserStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6957 of file ParserNode.cpp.
References CHECK, json_str(), options_, Parser::anonymous_namespace{ParserNode.cpp}::parse_options(), and user_name_.
|
inline |
Definition at line 2014 of file ParserNode.h.
References options_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6964 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(), and user_name_.
Referenced by heavydb.cursor.Cursor::executemany().
|
private |
Definition at line 2027 of file ParserNode.h.
Referenced by CreateUserStmt(), and execute().
|
private |
Definition at line 2026 of file ParserNode.h.
Referenced by CreateUserStmt(), and execute().