mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
m::WasmBackend Struct Reference

A Backend to execute a plan on a specific WasmEngine. More...

#include <WebAssembly.hpp>

Inheritance diagram for m::WasmBackend:
[legend]
Collaboration diagram for m::WasmBackend:
[legend]

Public Member Functions

 WasmBackend (std::unique_ptr< WasmEngine > engine)
 
const WasmEngineengine () 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< WasmEngineengine_
 the WasmEngine of this backend
 

Detailed Description

A Backend to execute a plan on a specific WasmEngine.

Definition at line 128 of file WebAssembly.hpp.

Constructor & Destructor Documentation

◆ WasmBackend()

m::WasmBackend::WasmBackend ( std::unique_ptr< WasmEngine engine)
inline

Definition at line 134 of file WebAssembly.hpp.

Member Function Documentation

◆ engine()

const WasmEngine & m::WasmBackend::engine ( ) const
inline

Returns this backend's WasmEngine.

Definition at line 137 of file WebAssembly.hpp.

References engine_.

◆ execute()

void WasmBackend::execute ( const MatchBase plan) const
overridevirtual

Executes the already computed physical covering represented by plan using this Backend.

Implements m::Backend.

Definition at line 107 of file WebAssembly.cpp.

◆ register_operators()

void WasmBackend::register_operators ( PhysicalOptimizer phys_opt) const
overridevirtual

Registers all physical operators of this Backend in phys_opt.

Implements m::Backend.

Definition at line 106 of file WebAssembly.cpp.

References m::register_wasm_operators().

Field Documentation

◆ engine_

std::unique_ptr<WasmEngine> m::WasmBackend::engine_
private

the WasmEngine of this backend

Definition at line 131 of file WebAssembly.hpp.

Referenced by engine().


The documentation for this struct was generated from the following files: