OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
RenameColumnStmt (std::string *tab, std::string *col, std::string *new_col_name) | |
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::unique_ptr< std::string > | column_ |
std::unique_ptr< std::string > | new_column_name_ |
Definition at line 1345 of file ParserNode.h.
|
inline |
Definition at line 1347 of file ParserNode.h.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 5629 of file ParserNode.cpp.
References CHECK, Parser::check_alter_table_privilege(), column_, Catalog_Namespace::SessionInfo::getCatalog(), legacylockmgr::getExecuteReadLock(), new_column_name_, ddl_utils::TABLE, table_, TableDescriptor::tableId, and ddl_utils::validate_table_type().
Referenced by heavydb.cursor.Cursor::executemany().
|
private |
Definition at line 1354 of file ParserNode.h.
Referenced by execute().
|
private |
Definition at line 1355 of file ParserNode.h.
Referenced by execute().
|
private |
Definition at line 1353 of file ParserNode.h.
Referenced by execute().