![]() |
mutable
A Database System for Research and Fast Prototyping
|
Collects information of a cnf::Clause
.
More...
#include <QueryGraph.hpp>
Public Member Functions | |
ClauseInfo (const cnf::Clause &clause) | |
Collects correlation information of all cnf::Clause s occurring in the QueryGraph . | |
bool | is_constant () const |
bool | is_selection () const |
Data Fields | |
unsigned | binding_depth = 0 |
std::unordered_set< ThreadSafePooledString > | data_sources |
std::vector< SubqueryInfo > | nested_queries |
Collects information of a cnf::Clause
.
Definition at line 31 of file QueryGraph.hpp.
ClauseInfo::ClauseInfo | ( | const cnf::Clause & | clause | ) |
Collects correlation information of all cnf::Clause
s occurring in the QueryGraph
.
QueryCorrelationInfo
collects all tables referenced by free variables (i.e. correlated Designator
s). It further collects all correlated subexpressions occuring in the QueryGraph
and dissects them based on whether they occur in equi- or non-equi-predicates.
Definition at line 418 of file QueryGraph.cpp.
References binding_depth, data_sources, nested_queries, and m::visit().
|
inline |
Definition at line 40 of file QueryGraph.hpp.
References data_sources.
|
inline |
Definition at line 41 of file QueryGraph.hpp.
References data_sources.
unsigned m::ClauseInfo::binding_depth = 0 |
Definition at line 33 of file QueryGraph.hpp.
Referenced by ClauseInfo(), and m::GraphBuilder::process_selection().
std::unordered_set<ThreadSafePooledString> m::ClauseInfo::data_sources |
Definition at line 35 of file QueryGraph.hpp.
Referenced by ClauseInfo(), is_constant(), and is_selection().
std::vector<SubqueryInfo> m::ClauseInfo::nested_queries |
Definition at line 36 of file QueryGraph.hpp.
Referenced by ClauseInfo(), and m::GraphBuilder::process_selection().