OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
CreateDataframeStmt (std::string *tab, std::list< TableElement * > *table_elems, std::string *filename, std::list< NameValueAssign * > *s) | |
CreateDataframeStmt (const rapidjson::Value &payload) | |
const std::string * | get_table () const override |
const std::list < std::unique_ptr < TableElement > > & | get_table_element_list () const override |
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 < TableElement > > | table_element_list_ |
std::unique_ptr< std::string > | filename_ |
std::list< std::unique_ptr < NameValueAssign > > | storage_options_ |
Definition at line 1086 of file ParserNode.h.
|
inline |
Definition at line 1088 of file ParserNode.h.
References CHECK, storage_options_, and table_element_list_.
Parser::CreateDataframeStmt::CreateDataframeStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 3366 of file ParserNode.cpp.
References CHECK, filename_, json_str(), Parser::anonymous_namespace{ParserNode.cpp}::parse_elements(), Parser::anonymous_namespace{ParserNode.cpp}::parse_options(), storage_options_, table_, and table_element_list_.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 3382 of file ParserNode.cpp.
References Catalog_Namespace::SessionInfo::checkDBAccessPrivileges(), ColumnDescriptor::columnName, Data_Namespace::CPU_LEVEL, AccessPrivileges::CREATE_TABLE, DEFAULT_FRAGMENT_ROWS, DEFAULT_MAX_CHUNK_SIZE, DEFAULT_MAX_ROWS, DEFAULT_PAGE_SIZE, filename_, TableDescriptor::fragmenter, TableDescriptor::fragPageSize, TableDescriptor::fragType, Parser::ColumnDef::get_column_name(), Catalog_Namespace::SessionInfo::get_currentUser(), Parser::anonymous_namespace{ParserNode.cpp}::get_dataframe_definitions(), Catalog_Namespace::SessionInfo::getCatalog(), legacylockmgr::getExecuteWriteLock(), Fragmenter_Namespace::INSERT_ORDER, lockmgr::instance(), TableDescriptor::isView, TableDescriptor::keyMetainfo, TableDescriptor::maxChunkSize, TableDescriptor::maxFragRows, TableDescriptor::maxRows, TableDescriptor::nColumns, TableDescriptor::persistenceLevel, Parser::anonymous_namespace{ParserNode.cpp}::serialize_key_metainfo(), Parser::DDLStmt::setColumnDescriptor(), storage_options_, TableDescriptor::storageType, table_, table_element_list_, TableDBObjectType, TableDescriptor::tableName, TableDescriptor::userId, Catalog_Namespace::UserMetadata::userId, and validate_shared_dictionary().
Referenced by heavydb.cursor.Cursor::executemany().
|
inlineoverridevirtual |
Implements Parser::CreateTableBaseStmt.
Definition at line 1107 of file ParserNode.h.
References table_.
|
inlineoverridevirtual |
Implements Parser::CreateTableBaseStmt.
Definition at line 1108 of file ParserNode.h.
References table_element_list_.
|
private |
Definition at line 1119 of file ParserNode.h.
Referenced by CreateDataframeStmt(), and execute().
|
private |
Definition at line 1120 of file ParserNode.h.
Referenced by CreateDataframeStmt(), and execute().
|
private |
Definition at line 1117 of file ParserNode.h.
Referenced by CreateDataframeStmt(), execute(), and get_table().
|
private |
Definition at line 1118 of file ParserNode.h.
Referenced by CreateDataframeStmt(), execute(), and get_table_element_list().