![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include <WasmOperator.hpp>
Public Member Functions | |
Match (const ScanOperator *scan, std::vector< unsharable_shared_ptr< const m::MatchBase > > &&children) | |
void | execute (setup_t setup, pipeline_t pipeline, teardown_t teardown) const override |
Executes this physical operator match. | |
const Operator & | get_matched_root () const override |
Returns the matched logical root operator for physical operators. | |
void | accept (wasm::MatchBaseVisitor &v) override |
void | accept (wasm::ConstMatchBaseVisitor &v) const override |
virtual void | accept (MatchBaseVisitor &v)=0 |
virtual void | accept (ConstMatchBaseVisitor &v) const =0 |
double | cost () const |
void | dump (std::ostream &out) const |
void | dump () const |
Data Fields | |
const ScanOperator & | scan |
Protected Member Functions | |
void | print (std::ostream &out, unsigned level) const override |
Static Protected Member Functions | |
static std::ostream & | indent (std::ostream &out, unsigned level) |
Private Member Functions | |
void | cost (double new_cost) |
Private Attributes | |
std::unique_ptr< const storage::DataLayoutFactory > | buffer_factory_ |
std::size_t | buffer_num_tuples_ = options::soft_pipeline_breaker_num_tuples |
double | cost_ = std::numeric_limits<double>::infinity() |
Definition at line 728 of file WasmOperator.hpp.
|
inline |
Definition at line 739 of file WasmOperator.hpp.
References M_insist.
|
pure virtualinherited |
|
pure virtualinherited |
|
override |
|
override |
|
inlineinherited |
Definition at line 218 of file PhysicalOptimizer.hpp.
References m::MatchBase::cost_.
|
inlineprivateinherited |
Definition at line 220 of file PhysicalOptimizer.hpp.
References m::MatchBase::cost_.
|
inherited |
Definition at line 13 of file PhysicalOptimizer.cpp.
References m::MatchBase::dump().
Referenced by m::MatchBase::dump().
|
inherited |
Definition at line 12 of file PhysicalOptimizer.cpp.
|
inlineoverridevirtual |
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.
Implements m::MatchBase.
Definition at line 745 of file WasmOperator.hpp.
References m::wasm::Buffer< IsGlobal >::consume(), m::Schema::deduplicate(), m::Schema::drop_constants(), m::wasm::Scan< SIMDfied >::execute(), m::setup_t::Make_Without_Parent(), m::teardown_t::Make_Without_Parent(), m::wasm::Buffer< IsGlobal >::resume_pipeline(), m::Operator::schema(), m::wasm::Buffer< IsGlobal >::setup(), m::options::simd, and m::wasm::Buffer< IsGlobal >::teardown().
|
inlineoverridevirtual |
Returns the matched logical root operator for physical operators.
Implements m::MatchBase.
Definition at line 769 of file WasmOperator.hpp.
|
inlinestaticprotectedinherited |
Definition at line 233 of file PhysicalOptimizer.hpp.
|
overrideprotectedvirtual |
Implements m::MatchBase.
|
private |
Definition at line 732 of file WasmOperator.hpp.
|
private |
Definition at line 736 of file WasmOperator.hpp.
|
privateinherited |
Definition at line 205 of file PhysicalOptimizer.hpp.
Referenced by m::MatchBase::cost().
const ScanOperator& m::Match< wasm::Scan< SIMDfied > >::scan |
Definition at line 730 of file WasmOperator.hpp.