OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
DropColumnStmt (std::string *tab, std::list< std::string * > *cols) | |
void | execute (const Catalog_Namespace::SessionInfo &session, bool read_only_mode) override |
const std::string * | get_table () const |
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 < std::string > > | columns_ |
Definition at line 1379 of file ParserNode.h.
|
inline |
Definition at line 1381 of file ParserNode.h.
References columns_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 5550 of file ParserNode.cpp.
References CHECK, Parser::check_alter_table_privilege(), Executor::clearExternalCaches(), ColumnDescriptor::columnId, ColumnDescriptor::columnName, columns_, ColumnDescriptor::columnType, Data_Namespace::DISK_LEVEL, g_test_drop_column_rollback, SQLTypeInfo::get_physical_cols(), Catalog_Namespace::SessionInfo::getCatalog(), legacylockmgr::getExecuteWriteLock(), TableDescriptor::hasDeletedCol, TableDescriptor::isView, TableDescriptor::nColumns, TableDescriptor::nShards, TableDescriptor::persistenceLevel, TableDescriptor::shardedColumnId, ddl_utils::TABLE, table_, table_is_temporary(), TableDescriptor::tableId, and ddl_utils::validate_table_type().
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
|
private |
Definition at line 1393 of file ParserNode.h.
Referenced by DropColumnStmt(), and execute().
|
private |
Definition at line 1392 of file ParserNode.h.
Referenced by execute(), and get_table().