OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
size_t | getOuterFragmentCount (QueryStateProxy, std::string &sql_query_string) override |
AggregatedResult | query (QueryStateProxy, std::string &sql_query_string, std::vector< size_t > outer_frag_indices, bool validate_only, bool allow_interrupt) |
std::vector< AggregatedResult > | query (QueryStateProxy, std::string &sql_query_string, std::vector< size_t > outer_frag_indices, bool allow_interrupt) override |
std::list< ColumnDescriptor > | getColumnDescriptors (AggregatedResult &result, bool for_create) |
size_t | leafCount () override |
void | insertChunksToLeaf (const Catalog_Namespace::SessionInfo &parent_session_info, const size_t leaf_idx, const Fragmenter_Namespace::InsertChunks &insert_chunks) override |
void | insertDataToLeaf (const Catalog_Namespace::SessionInfo &parent_session_info, const size_t leaf_idx, Fragmenter_Namespace::InsertData &insert_data) override |
void | checkpoint (const Catalog_Namespace::SessionInfo &parent_session_info, int tableId) override |
void | rollback (const Catalog_Namespace::SessionInfo &parent_session_info, int tableId) override |
Public Member Functions inherited from Parser::QueryConnector | |
~QueryConnector ()=default | |
Public Member Functions inherited from Fragmenter_Namespace::InsertDataLoader::InsertConnector | |
virtual | ~InsertConnector ()=default |
Additional Inherited Members | |
Private Member Functions inherited from Fragmenter_Namespace::InsertDataLoader::InsertConnector | |
virtual | ~InsertConnector ()=default |
Definition at line 1042 of file ParserNode.h.
|
inlineoverridevirtual |
Reimplemented from Fragmenter_Namespace::LocalInsertConnector.
Definition at line 1072 of file ParserNode.h.
std::list< ColumnDescriptor > Parser::LocalQueryConnector::getColumnDescriptors | ( | AggregatedResult & | result, |
bool | for_create | ||
) |
Definition at line 4036 of file ParserNode.cpp.
References ColumnDescriptor::columnName, ColumnDescriptor::columnType, SQLTypeInfo::get_compression(), SQLTypeInfo::get_size(), SQLTypeInfo::is_array(), SQLTypeInfo::is_date(), SQLTypeInfo::is_date_in_days(), kENCODING_DATE_IN_DAYS, kENCODING_DICT, SQLTypeInfo::set_comp_param(), SQLTypeInfo::set_compression(), AggregatedResult::targets_meta, and to_string().
Referenced by Parser::CreateModelStmt::build_model_query(), EvaluateModelCommand::execute(), Parser::CreateTableAsSelectStmt::execute(), and Parser::InsertIntoTableAsSelectStmt::populateData().
|
overridevirtual |
Implements Parser::QueryConnector.
Definition at line 3946 of file ParserNode.cpp.
References CPU, Default, g_enable_watchdog, query_state::QueryState::getConstSessionInfo(), Executor::getExecutor(), Catalog_Namespace::SysCatalog::instance(), Catalog_Namespace::SysCatalog::isAggregator(), pg_shim(), and Executor::UNITARY_EXECUTOR_ID.
|
inlineoverridevirtual |
Reimplemented from Fragmenter_Namespace::LocalInsertConnector.
Definition at line 1059 of file ParserNode.h.
|
inlineoverridevirtual |
Reimplemented from Fragmenter_Namespace::LocalInsertConnector.
Definition at line 1066 of file ParserNode.h.
|
inlineoverridevirtual |
Reimplemented from Fragmenter_Namespace::LocalInsertConnector.
Definition at line 1058 of file ParserNode.h.
AggregatedResult Parser::LocalQueryConnector::query | ( | QueryStateProxy | query_state_proxy, |
std::string & | sql_query_string, | ||
std::vector< size_t > | outer_frag_indices, | ||
bool | validate_only, | ||
bool | allow_interrupt | ||
) |
Definition at line 3996 of file ParserNode.cpp.
References query_state::QueryState::getConstSessionInfo(), Executor::getExecutor(), query_state::QueryState::getQuerySubmittedTime(), Parser::getResultSet(), pg_shim(), run_benchmark_import::res, and Executor::UNITARY_EXECUTOR_ID.
Referenced by Parser::CreateModelStmt::build_model_query(), EvaluateModelCommand::execute(), Parser::CreateTableAsSelectStmt::execute(), Parser::ExportQueryStmt::execute(), Parser::InsertIntoTableAsSelectStmt::populateData(), query(), and Parser::CreateModelStmt::train_model().
|
overridevirtual |
Implements Parser::QueryConnector.
Definition at line 4026 of file ParserNode.cpp.
References query(), and run_benchmark_import::res.
|
inlineoverridevirtual |
Reimplemented from Fragmenter_Namespace::LocalInsertConnector.
Definition at line 1076 of file ParserNode.h.