![]() |
mutable
A Database System for Research and Fast Prototyping
|
A Backend to execute a plan on a specific WasmEngine.
More...
#include <WebAssembly.hpp>
Public Member Functions | |
| WasmBackend (std::unique_ptr< WasmEngine > engine) | |
| const WasmEngine & | engine () const |
Returns this backend's WasmEngine. | |
| void | register_operators (PhysicalOptimizer &phys_opt) const override |
Registers all physical operators of this Backend in phys_opt. | |
| void | execute (const MatchBase &plan) const override |
Executes the already computed physical covering represented by plan using this Backend. | |
Private Attributes | |
| std::unique_ptr< WasmEngine > | engine_ |
the WasmEngine of this backend | |
A Backend to execute a plan on a specific WasmEngine.
Definition at line 132 of file WebAssembly.hpp.
|
inline |
Definition at line 138 of file WebAssembly.hpp.
|
inline |
Returns this backend's WasmEngine.
Definition at line 141 of file WebAssembly.hpp.
References engine_.
|
overridevirtual |
Executes the already computed physical covering represented by plan using this Backend.
Implements m::Backend.
Definition at line 127 of file WebAssembly.cpp.
|
overridevirtual |
Registers all physical operators of this Backend in phys_opt.
Implements m::Backend.
Definition at line 126 of file WebAssembly.cpp.
References m::register_wasm_operators().
|
private |
the WasmEngine of this backend
Definition at line 135 of file WebAssembly.hpp.
Referenced by engine().