OmniSciDB
a5dc49c757
|
#include <ParserWrapper.h>
Public Types | |
enum | ExplainType { ExplainType::None, ExplainType::IR, ExplainType::OptimizedIR, ExplainType::Calcite, ExplainType::CalciteDetail, ExplainType::ExecutionPlan, ExplainType::Other } |
Public Member Functions | |
ExplainInfo () | |
ExplainInfo (ExplainType type) | |
ExplainInfo (std::string query_string) | |
bool | isExplain () const |
bool | isJustExplain () const |
bool | isSelectExplain () const |
bool | isIRExplain () const |
bool | isOptimizedExplain () const |
bool | isCalciteExplain () const |
bool | isCalciteExplainDetail () const |
bool | isPlanExplain () const |
bool | isOtherExplain () const |
std::string | ActualQuery () |
bool | isVerbose () const |
Private Attributes | |
ExplainType | explain_type_ = ExplainType::None |
std::string | actual_query_ = "" |
bool | verbose_ {false} |
Definition at line 34 of file ParserWrapper.h.
|
strong |
Enumerator | |
---|---|
None | |
IR | |
OptimizedIR | |
Calcite | |
CalciteDetail | |
ExecutionPlan | |
Other |
Definition at line 36 of file ParserWrapper.h.
|
inline |
Definition at line 46 of file ParserWrapper.h.
|
inline |
Definition at line 47 of file ParserWrapper.h.
ExplainInfo::ExplainInfo | ( | std::string | query_string | ) |
Definition at line 41 of file ParserWrapper.cpp.
References anonymous_namespace{ParserWrapper.cpp}::calcite_explain_detailed_str, anonymous_namespace{ParserWrapper.cpp}::calcite_explain_str, anonymous_namespace{ParserWrapper.cpp}::explain_str, logger::IR, anonymous_namespace{ExtensionFunctionsGeo.hpp}::None, anonymous_namespace{ParserWrapper.cpp}::optimized_explain_str, anonymous_namespace{ParserWrapper.cpp}::plan_explain_detailed_str, and anonymous_namespace{ParserWrapper.cpp}::plan_explain_str.
|
inline |
Definition at line 81 of file ParserWrapper.h.
References actual_query_.
Referenced by DBHandler::processCalciteRequest(), and DBHandler::sql_execute_impl().
|
inline |
Definition at line 71 of file ParserWrapper.h.
References Calcite, CalciteDetail, and explain_type_.
Referenced by DBHandler::execute_rel_alg(), DBHandler::processCalciteRequest(), and DBHandler::sql_execute_impl().
|
inline |
Definition at line 75 of file ParserWrapper.h.
References CalciteDetail, and explain_type_.
Referenced by DBHandler::processCalciteRequest().
|
inline |
|
inline |
|
inline |
Definition at line 52 of file ParserWrapper.h.
References ExecutionPlan, explain_type_, IR, and OptimizedIR.
Referenced by DBHandler::execute_rel_alg().
|
inline |
Definition at line 70 of file ParserWrapper.h.
References explain_type_, and OptimizedIR.
Referenced by DBHandler::execute_rel_alg().
|
inline |
Definition at line 79 of file ParserWrapper.h.
References explain_type_, and Other.
Referenced by ParserWrapper::ParserWrapper().
|
inline |
Definition at line 78 of file ParserWrapper.h.
References ExecutionPlan, and explain_type_.
Referenced by DBHandler::execute_rel_alg().
|
inline |
Definition at line 58 of file ParserWrapper.h.
References Calcite, CalciteDetail, ExecutionPlan, explain_type_, IR, and OptimizedIR.
Referenced by DBHandler::processCalciteRequest().
|
inline |
Definition at line 83 of file ParserWrapper.h.
References verbose_.
Referenced by DBHandler::execute_rel_alg().
|
private |
Definition at line 87 of file ParserWrapper.h.
Referenced by ActualQuery().
|
private |
Definition at line 86 of file ParserWrapper.h.
Referenced by isCalciteExplain(), isCalciteExplainDetail(), isExplain(), isIRExplain(), isJustExplain(), isOptimizedExplain(), isOtherExplain(), isPlanExplain(), and isSelectExplain().
|
private |
Definition at line 88 of file ParserWrapper.h.
Referenced by isVerbose().