mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
m::PlanTableEntry Struct Reference

#include <PlanTable.hpp>

Collaboration diagram for m::PlanTableEntry:
[legend]

Public Member Functions

std::vector< Subproblemget_subproblems () const
 
bool operator== (const PlanTableEntry &other) const
 Returns true iff two entries are equal.
 
bool operator!= (const PlanTableEntry &other) const
 Returns true iff two entries are not equal.
 

Data Fields

Subproblem left
 the left subproblem
 
Subproblem right
 the right subproblem
 
std::unique_ptr< DataModelmodel
 the model of this subplan's result
 
double cost = std::numeric_limits<double>::infinity()
 the cost of the subproblem
 
std::unique_ptr< PlanTableEntryDatadata
 

‍additional data associated to this PlanTableEntry; used for holistic optimization


 

Detailed Description

Definition at line 38 of file PlanTable.hpp.

Member Function Documentation

◆ get_subproblems()

std::vector< Subproblem > m::PlanTableEntry::get_subproblems ( ) const
inline

Definition at line 48 of file PlanTable.hpp.

◆ operator!=()

bool m::PlanTableEntry::operator!= ( const PlanTableEntry other) const
inline

Returns true iff two entries are not equal.

Definition at line 61 of file PlanTable.hpp.

◆ operator==()

bool m::PlanTableEntry::operator== ( const PlanTableEntry other) const
inline

Returns true iff two entries are equal.

Definition at line 56 of file PlanTable.hpp.

References and(), cost, left, and right.

Field Documentation

◆ cost

double m::PlanTableEntry::cost = std::numeric_limits<double>::infinity()

the cost of the subproblem

Definition at line 43 of file PlanTable.hpp.

Referenced by operator==().

◆ data

std::unique_ptr<PlanTableEntryData> m::PlanTableEntry::data

‍additional data associated to this PlanTableEntry; used for holistic optimization

Definition at line 45 of file PlanTable.hpp.

◆ left

Subproblem m::PlanTableEntry::left

the left subproblem

Definition at line 40 of file PlanTable.hpp.

Referenced by operator==().

◆ model

std::unique_ptr<DataModel> m::PlanTableEntry::model

the model of this subplan's result

Definition at line 42 of file PlanTable.hpp.

Referenced by m::Optimizer::optimize_plan().

◆ right

Subproblem m::PlanTableEntry::right

the right subproblem

Definition at line 41 of file PlanTable.hpp.

Referenced by operator==().


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