OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
DropModelStmt (const rapidjson::Value &payload) | |
auto const & | getModelName () |
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::string | model_name_ |
bool | if_exists_ |
Definition at line 1995 of file ParserNode.h.
Parser::DropModelStmt::DropModelStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 3848 of file ParserNode.cpp.
References CHECK, if_exists_, json_bool(), json_str(), and model_name_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 3858 of file ParserNode.cpp.
References MLModelMap::deleteModel(), g_ml_models, if_exists_, and model_name_.
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
|
private |
Definition at line 2004 of file ParserNode.h.
Referenced by DropModelStmt(), and execute().
|
private |
Definition at line 2003 of file ParserNode.h.
Referenced by DropModelStmt(), execute(), and getModelName().