Class Parser::InsertIntoTableAsSelectStmt

class InsertIntoTableAsSelectStmt : public Parser::DDLStmt

Subclassed by Parser::CreateTableAsSelectStmt

Public Functions

InsertIntoTableAsSelectStmt(const rapidjson::Value &payload)
InsertIntoTableAsSelectStmt(const std::string *table_name, const std::string *select_query, std::list<std::string *> *c)
void populateData(QueryStateProxy query_state_proxy, const TableDescriptor *td, bool validate_table, bool for_CTAS = false)
void execute(const Catalog_Namespace::SessionInfo &session)
std::string &get_table()
std::string &get_select_query()

Public Members

DistributedConnector *leafs_connector_ = nullptr

Protected Attributes

std::vector<std::unique_ptr<std::string>> column_list_
std::string table_name_
std::string select_query_