OmniSciDB
c1a53651b2
|
#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 |
![]() | |
void | setColumnDescriptor (ColumnDescriptor &cd, const ColumnDef *coldef) |
![]() | |
virtual | ~Node () |
Private Attributes | |
std::unique_ptr< std::string > | table_ |
bool | if_exists_ |
Definition at line 1222 of file ParserNode.h.
|
inline |
Definition at line 1224 of file ParserNode.h.
Parser::DropTableStmt::DropTableStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 4427 of file ParserNode.cpp.
References CHECK, if_exists_, json_bool(), json_str(), and table_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 4437 of file ParserNode.cpp.
References CHECK, Catalog_Namespace::SessionInfo::checkDBAccessPrivileges(), Executor::clearExternalCaches(), AccessPrivileges::DROP_TABLE, legacylockmgr::ExecutorOuterLock, Catalog_Namespace::SessionInfo::getCatalog(), legacylockmgr::LockMgr< MutexType, KeyType >::getMutex(), 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 1233 of file ParserNode.h.
Referenced by DropTableStmt(), and execute().
|
private |
Definition at line 1232 of file ParserNode.h.
Referenced by DropTableStmt(), execute(), and get_table().