Column-oriented GPU-accelerated Database Management System
CoGaDB
|
#include <optimizer.hpp>
Public Member Functions | |
bool | optimize (query_processing::LogicalQueryPlanPtr) |
Static Public Member Functions | |
static Logical_Optimizer & | instance () |
Private Types | |
typedef boost::function< bool(query_processing::LogicalQueryPlanPtr)> | OptimizerRule |
typedef std::vector < OptimizerRule > | OptimizerRules |
Private Member Functions | |
Logical_Optimizer () | |
Logical_Optimizer (const Logical_Optimizer &) | |
Logical_Optimizer & | operator() (const Logical_Optimizer &) |
Private Attributes | |
OptimizerRules | optimizer_rules_ |
typedef boost::function<bool (query_processing::LogicalQueryPlanPtr)> CoGaDB::optimizer::Logical_Optimizer::OptimizerRule [private] |
typedef std::vector<OptimizerRule> CoGaDB::optimizer::Logical_Optimizer::OptimizerRules [private] |
CoGaDB::optimizer::Logical_Optimizer::Logical_Optimizer | ( | ) | [private] |
References CoGaDB::optimizer::optimizer_rules::compose_complex_selections(), CoGaDB::optimizer::optimizer_rules::cross_product_to_join(), CoGaDB::optimizer::optimizer_rules::decompose_complex_selections(), optimizer_rules_, and CoGaDB::optimizer::optimizer_rules::push_down_selections().
CoGaDB::optimizer::Logical_Optimizer::Logical_Optimizer | ( | const Logical_Optimizer & | ) | [private] |
Logical_Optimizer & CoGaDB::optimizer::Logical_Optimizer::instance | ( | ) | [static] |
Referenced by CoGaDB::SQL::ParseTree::SelectFrom::execute().
Logical_Optimizer& CoGaDB::optimizer::Logical_Optimizer::operator() | ( | const Logical_Optimizer & | ) | [private] |
bool CoGaDB::optimizer::Logical_Optimizer::optimize | ( | query_processing::LogicalQueryPlanPtr | log_plan | ) |
References CoGaDB::RuntimeConfiguration::getPrintQueryPlan(), CoGaDB::RuntimeConfiguration::instance(), and optimizer_rules_.
Referenced by CoGaDB::SQL::ParseTree::SelectFrom::execute().
Referenced by Logical_Optimizer(), and optimize().