OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
DropTableStmt (std::string *tab, bool i) | |
DropTableStmt (const rapidjson::Value &payload) | |
const std::string * | get_table () 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 > | table_ |
bool | if_exists_ |
Definition at line 1209 of file ParserNode.h.
|
inline |
Definition at line 1211 of file ParserNode.h.
Parser::DropTableStmt::DropTableStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 4890 of file ParserNode.cpp.
References CHECK, if_exists_, json_bool(), json_str(), and table_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 4900 of file ParserNode.cpp.
References CHECK, Catalog_Namespace::SessionInfo::checkDBAccessPrivileges(), Executor::clearExternalCaches(), AccessPrivileges::DROP_TABLE, Catalog_Namespace::SessionInfo::getCatalog(), legacylockmgr::getExecuteReadLock(), lockmgr::TableLockMgrImpl< TableDataLockMgr >::getReadLockForTable(), lockmgr::TableLockMgrImpl< TableDataLockMgr >::getWriteLockForTable(), if_exists_, ddl_utils::TABLE, table_, TableDBObjectType, and ddl_utils::validate_table_type().
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
|
private |
Definition at line 1220 of file ParserNode.h.
Referenced by DropTableStmt(), and execute().
|
private |
Definition at line 1219 of file ParserNode.h.
Referenced by DropTableStmt(), execute(), and get_table().