OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
OptimizeTableStmt (std::string *table, std::list< NameValueAssign * > *o) | |
OptimizeTableStmt (const rapidjson::Value &payload) | |
const std::string | getTableName () const |
bool | shouldVacuumDeletedRows () 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_ |
std::list< std::unique_ptr < NameValueAssign > > | options_ |
Definition at line 1239 of file ParserNode.h.
|
inline |
Definition at line 1241 of file ParserNode.h.
References options_, and table_.
Parser::OptimizeTableStmt::OptimizeTableStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 4998 of file ParserNode.cpp.
References CHECK, json_str(), options_, Parser::anonymous_namespace{ParserNode.cpp}::parse_options(), and table_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 5020 of file ParserNode.cpp.
References Executor::clearExternalCaches(), AccessPrivileges::DELETE_FROM_TABLE, Catalog_Namespace::SessionInfo::getCatalog(), legacylockmgr::getExecuteReadLock(), Executor::getExecutor(), TableDescriptor::isView, TableOptimizer::recomputeMetadata(), shouldVacuumDeletedRows(), table_, Executor::UNITARY_EXECUTOR_ID, Parser::anonymous_namespace{ParserNode.cpp}::user_can_access_table(), and TableOptimizer::vacuumDeletedRows().
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
|
inline |
Definition at line 1256 of file ParserNode.h.
References options_.
Referenced by execute().
|
private |
Definition at line 1270 of file ParserNode.h.
Referenced by OptimizeTableStmt(), and shouldVacuumDeletedRows().
|
private |
Definition at line 1269 of file ParserNode.h.
Referenced by execute(), getTableName(), and OptimizeTableStmt().