OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
DropViewStmt (std::string *v, bool i) | |
DropViewStmt (const rapidjson::Value &payload) | |
const std::string * | get_view_name () 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 > | view_name_ |
bool | if_exists_ |
Definition at line 1896 of file ParserNode.h.
|
inline |
Definition at line 1898 of file ParserNode.h.
Parser::DropViewStmt::DropViewStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 6802 of file ParserNode.cpp.
References CHECK, if_exists_, json_bool(), json_str(), and view_name_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 6812 of file ParserNode.cpp.
References CHECK, Catalog_Namespace::SessionInfo::checkDBAccessPrivileges(), AccessPrivileges::DROP_VIEW, Catalog_Namespace::SessionInfo::getCatalog(), legacylockmgr::getExecuteReadLock(), if_exists_, ddl_utils::validate_table_type(), ddl_utils::VIEW, view_name_, and ViewDBObjectType.
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
Definition at line 1901 of file ParserNode.h.
References view_name_.
|
private |
Definition at line 1907 of file ParserNode.h.
Referenced by DropViewStmt(), and execute().
|
private |
Definition at line 1906 of file ParserNode.h.
Referenced by DropViewStmt(), execute(), and get_view_name().