![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include <CardinalityEstimator.hpp>
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 |
Definition at line 329 of file CardinalityEstimator.hpp.
|
default |
|
inline |
Definition at line 340 of file CardinalityEstimator.hpp.
|
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.
|
friend |
Definition at line 331 of file CardinalityEstimator.hpp.
|
private |
the maximum frequencies of values of attributes to join
Definition at line 335 of file CardinalityEstimator.hpp.
Referenced by m::SpnEstimator::operator()().
|
private |
Definition at line 336 of file CardinalityEstimator.hpp.
Referenced by m::SpnEstimator::max_frequency(), and m::SpnEstimator::operator()().
|
private |
a map from table to Spn
Definition at line 334 of file CardinalityEstimator.hpp.
Referenced by m::SpnEstimator::find_spn_id(), m::SpnEstimator::max_frequency(), and m::SpnEstimator::operator()().