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

Collects information of a cnf::Clause. More...

#include <QueryGraph.hpp>

Collaboration diagram for m::ClauseInfo:
[legend]

Public Member Functions

 ClauseInfo (const cnf::Clause &clause)
 Collects correlation information of all cnf::Clauses occurring in the QueryGraph.
 
bool is_constant () const
 
bool is_selection () const
 

Data Fields

unsigned binding_depth = 0
 
std::unordered_set< ThreadSafePooledStringdata_sources
 
std::vector< SubqueryInfonested_queries
 

Detailed Description

Collects information of a cnf::Clause.

Definition at line 31 of file QueryGraph.hpp.

Constructor & Destructor Documentation

◆ ClauseInfo()

ClauseInfo::ClauseInfo ( const cnf::Clause clause)

Collects correlation information of all cnf::Clauses occurring in the QueryGraph.

QueryCorrelationInfo collects all tables referenced by free variables (i.e. correlated Designators). 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().

Member Function Documentation

◆ is_constant()

bool m::ClauseInfo::is_constant ( ) const
inline

Definition at line 40 of file QueryGraph.hpp.

References data_sources.

◆ is_selection()

bool m::ClauseInfo::is_selection ( ) const
inline

Definition at line 41 of file QueryGraph.hpp.

References data_sources.

Field Documentation

◆ binding_depth

unsigned m::ClauseInfo::binding_depth = 0

Definition at line 33 of file QueryGraph.hpp.

Referenced by ClauseInfo(), and m::GraphBuilder::process_selection().

◆ data_sources

std::unordered_set<ThreadSafePooledString> m::ClauseInfo::data_sources

Definition at line 35 of file QueryGraph.hpp.

Referenced by ClauseInfo(), is_constant(), and is_selection().

◆ nested_queries

std::vector<SubqueryInfo> m::ClauseInfo::nested_queries

Definition at line 36 of file QueryGraph.hpp.

Referenced by ClauseInfo(), and m::GraphBuilder::process_selection().


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