![]() |
mutable
A Database System for Research and Fast Prototyping
|
A Join
in a QueryGraph
combines DataSource
s by a join condition.
More...
#include <QueryGraph.hpp>
Public Types | |
using | sources_t = std::vector< std::reference_wrapper< DataSource > > |
Public Member Functions | |
Join (cnf::CNF condition, sources_t sources) | |
const cnf::CNF & | condition () const |
Returns the join condition. | |
void | update_condition (cnf::CNF update) |
Adds condition to the current condition of this Join by logical conjunction. | |
const sources_t & | sources () const |
Returns a reference to the joined DataSource s. | |
bool | operator== (const Join &other) const |
bool | operator!= (const Join &other) const |
Private Attributes | |
cnf::CNF | condition_ |
join condition | |
sources_t | sources_ |
the sources to join | |
A Join
in a QueryGraph
combines DataSource
s by a join condition.
Definition at line 137 of file QueryGraph.hpp.
using m::Join::sources_t = std::vector<std::reference_wrapper<DataSource> > |
Definition at line 139 of file QueryGraph.hpp.
Definition at line 146 of file QueryGraph.hpp.
|
inline |
Returns the join condition.
Definition at line 149 of file QueryGraph.hpp.
|
inline |
Definition at line 166 of file QueryGraph.hpp.
|
inline |
Definition at line 155 of file QueryGraph.hpp.
References condition_, and sources().
|
inline |
Returns a reference to the joined DataSource
s.
Definition at line 153 of file QueryGraph.hpp.
Referenced by m::pe::hs::search_states::EdgesBottomUp::compute_datasource_to_subproblem_index(), m::pe::hs::search_states::EdgePtrBottomUp::compute_datasource_to_subproblem_index(), m::pe::hs::expansions::BottomUpComplete::operator()(), and operator==().
|
inline |
Adds condition
to the current condition of this Join
by logical conjunction.
Definition at line 151 of file QueryGraph.hpp.
References and().
|
private |
|
private |
the sources to join
Definition at line 143 of file QueryGraph.hpp.