#include <PhysicalOptimizer.hpp>
|
virtual void | print (std::ostream &out, unsigned level=0) const =0 |
|
|
static std::ostream & | indent (std::ostream &out, unsigned level) |
|
|
void | cost (double new_cost) |
|
|
double | cost_ = std::numeric_limits<double>::infinity() |
|
Definition at line 199 of file PhysicalOptimizer.hpp.
◆ ~MatchBase()
virtual m::MatchBase::~MatchBase |
( |
| ) |
|
|
inlinevirtual |
◆ cost() [1/2]
double m::MatchBase::cost |
( |
| ) |
const |
|
inline |
◆ cost() [2/2]
void m::MatchBase::cost |
( |
double |
new_cost | ) |
|
|
inlineprivate |
◆ dump() [1/2]
void MatchBase::dump |
( |
| ) |
const |
◆ dump() [2/2]
◆ execute()
Executes this physical operator match.
Recursively calls children operators to execute. The three callbacks are specified by the parent operator and are used as follows: setup
for some initializations, pipeline
for the actual computation, and teardown
for post-processing.
Implemented in m::Match< wasm::NoOp >, m::Match< wasm::Callback< SIMDfied > >, m::Match< wasm::Print< SIMDfied > >, m::Match< wasm::Scan< SIMDfied > >, m::Match< wasm::IndexScan< IndexMethod > >, m::Match< wasm::Filter< Predicated > >, m::Match< wasm::LazyDisjunctiveFilter >, m::Match< wasm::Projection >, m::Match< wasm::HashBasedGrouping >, m::Match< wasm::OrderedGrouping >, m::Match< wasm::Aggregation >, m::Match< wasm::Quicksort< CmpPredicated > >, m::Match< wasm::NoOpSorting >, m::Match< wasm::NestedLoopsJoin< Predicated > >, m::Match< wasm::SimpleHashJoin< UniqueBuild, Predicated > >, m::Match< wasm::SortMergeJoin< SortLeft, SortRight, Predicated, CmpPredicated > >, m::Match< wasm::Limit >, and m::Match< wasm::HashBasedGroupJoin >.
Referenced by write_result_set().
◆ get_matched_root()
virtual const Operator & m::MatchBase::get_matched_root |
( |
| ) |
const |
|
pure virtual |
Returns the matched logical root operator for physical operators.
Implemented in m::Match< wasm::NoOp >, m::Match< wasm::Callback< SIMDfied > >, m::Match< wasm::Print< SIMDfied > >, m::Match< wasm::Scan< SIMDfied > >, m::Match< wasm::IndexScan< IndexMethod > >, m::Match< wasm::Filter< Predicated > >, m::Match< wasm::LazyDisjunctiveFilter >, m::Match< wasm::Projection >, m::Match< wasm::HashBasedGrouping >, m::Match< wasm::OrderedGrouping >, m::Match< wasm::Aggregation >, m::Match< wasm::Quicksort< CmpPredicated > >, m::Match< wasm::NoOpSorting >, m::Match< wasm::NestedLoopsJoin< Predicated > >, m::Match< wasm::SimpleHashJoin< UniqueBuild, Predicated > >, m::Match< wasm::SortMergeJoin< SortLeft, SortRight, Predicated, CmpPredicated > >, m::Match< wasm::Limit >, and m::Match< wasm::HashBasedGroupJoin >.
Referenced by m::wasm::detail::create_env(), and m::Interpreter::execute().
◆ indent()
static std::ostream & m::MatchBase::indent |
( |
std::ostream & |
out, |
|
|
unsigned |
level |
|
) |
| |
|
inlinestaticprotected |
◆ print()
virtual void m::MatchBase::print |
( |
std::ostream & |
out, |
|
|
unsigned |
level = 0 |
|
) |
| const |
|
protectedpure virtual |
Implemented in m::Match< wasm::NoOp >, m::Match< wasm::Callback< SIMDfied > >, m::Match< wasm::Print< SIMDfied > >, m::Match< wasm::Scan< SIMDfied > >, m::Match< wasm::IndexScan< IndexMethod > >, m::Match< wasm::Filter< Predicated > >, m::Match< wasm::LazyDisjunctiveFilter >, m::Match< wasm::Projection >, m::Match< wasm::HashBasedGrouping >, m::Match< wasm::OrderedGrouping >, m::Match< wasm::Aggregation >, m::Match< wasm::Quicksort< CmpPredicated > >, m::Match< wasm::NoOpSorting >, m::Match< wasm::NestedLoopsJoin< Predicated > >, m::Match< wasm::SimpleHashJoin< UniqueBuild, Predicated > >, m::Match< wasm::SortMergeJoin< SortLeft, SortRight, Predicated, CmpPredicated > >, m::Match< wasm::Limit >, and m::Match< wasm::HashBasedGroupJoin >.
◆ Match
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
const MatchBase & |
M |
|
) |
| |
|
friend |
◆ PhysicalOptimizerImpl
◆ to_string
◆ cost_
double m::MatchBase::cost_ = std::numeric_limits<double>::infinity() |
|
private |
The documentation for this struct was generated from the following files: