50 template <
typename List>
51 std::vector<std::string>
visitList(
const List& expressions)
const;
55 const std::string& next_result)
const override {
56 throw std::runtime_error(
"Expression not supported yet");
60 throw std::runtime_error(
"Expression not supported yet");
std::string visitColumnVar(const Analyzer::ColumnVar *col_var) const override
class for a per-database catalog. also includes metadata for the current database and the current use...
std::string visitWindowFunction(const Analyzer::WindowFunction *window_func) const override
ScalarExprToSql(const RelAlgExecutionUnit *ra_exe_unit)
std::string visitBinOper(const Analyzer::BinOper *bin_oper) const override
std::vector< std::string > visitList(const List &expressions) const
std::string visitConstant(const Analyzer::Constant *constant) const override
std::string serialize_column_ref(const int table_id, const int column_id, const Catalog_Namespace::Catalog *catalog)
std::string visitAggExpr(const Analyzer::AggExpr *agg) const override
This file contains the class specification and related data structures for Catalog.
std::string defaultResult() const override
std::string visitCaseExpr(const Analyzer::CaseExpr *case_) const override
std::string aggregateResult(const std::string &aggregate, const std::string &next_result) const override
std::string visitVar(const Analyzer::Var *) const override
std::string visitLikeExpr(const Analyzer::LikeExpr *like) const override
static std::string binOpTypeToString(const SQLOps op_type)
ExecutionUnitSql serialize_to_sql(const RelAlgExecutionUnit *ra_exe_unit)
const RelAlgExecutionUnit * ra_exe_unit_
std::string visitFunctionOper(const Analyzer::FunctionOper *func_oper) const override
std::string visitUOper(const Analyzer::UOper *uoper) const override
Execution unit for relational algebra. It's a low-level description of any relational algebra operati...
std::string visitInValues(const Analyzer::InValues *in_values) const override
std::string serialize_table_ref(const int table_id, const Catalog_Namespace::Catalog *catalog)