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

#include <CardinalityEstimator.hpp>

Inheritance diagram for m::SpnEstimator::SpnDataModel:
[legend]
Collaboration diagram for m::SpnEstimator::SpnDataModel:
[legend]

Public Member Functions

 SpnDataModel ()=default
 
 SpnDataModel (table_spn_map spns, std::size_t num_rows)
 
void assign_to (Subproblem) override
 Assigns this to the Subproblem s, i.e.
 

Private Attributes

table_spn_map spns_
 a map from table to Spn
 
std::vector< std::size_t > max_frequencies_
 the maximum frequencies of values of attributes to join
 
std::size_t num_rows_
 

Friends

struct SpnEstimator
 

Detailed Description

Definition at line 329 of file CardinalityEstimator.hpp.

Constructor & Destructor Documentation

◆ SpnDataModel() [1/2]

m::SpnEstimator::SpnDataModel::SpnDataModel ( )
default

◆ SpnDataModel() [2/2]

m::SpnEstimator::SpnDataModel::SpnDataModel ( table_spn_map  spns,
std::size_t  num_rows 
)
inline

Definition at line 340 of file CardinalityEstimator.hpp.

Member Function Documentation

◆ assign_to()

void m::SpnEstimator::SpnDataModel::assign_to ( Subproblem  s)
inlineoverridevirtual

Assigns this to the Subproblem s, i.e.

this model now describes the result of evaluating s.

Implements m::DataModel.

Definition at line 345 of file CardinalityEstimator.hpp.

Friends And Related Function Documentation

◆ SpnEstimator

friend struct SpnEstimator
friend

Definition at line 331 of file CardinalityEstimator.hpp.

Field Documentation

◆ max_frequencies_

std::vector<std::size_t> m::SpnEstimator::SpnDataModel::max_frequencies_
private

the maximum frequencies of values of attributes to join

Definition at line 335 of file CardinalityEstimator.hpp.

Referenced by m::SpnEstimator::operator()().

◆ num_rows_

std::size_t m::SpnEstimator::SpnDataModel::num_rows_
private

◆ spns_

table_spn_map m::SpnEstimator::SpnDataModel::spns_
private

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