OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RelAlgDagModifier Struct Reference

#include <RelAlgDag.h>

+ Inheritance diagram for RelAlgDagModifier:

Static Protected Member Functions

static std::vector
< std::shared_ptr< RelAlgNode > > & 
getNodes (RelAlgDag &rel_alg_dag)
 
static std::vector
< std::shared_ptr< RexSubQuery > > & 
getSubqueries (RelAlgDag &rel_alg_dag)
 
static std::unordered_map
< size_t, std::unordered_map
< unsigned,
RegisteredQueryHint > > & 
getQueryHints (RelAlgDag &rel_alg_dag)
 
static void setBuildState (RelAlgDag &rel_alg_dag, const RelAlgDag::BuildState build_state)
 

Detailed Description

A middle-layer class that can be inherited from to gain modify rights to a RelAlgDag class. This provides a way to access private members of the RelAlgDag class without dirtying its public interface with non-const accessors that may only apply for very specific classes. Only classes/structs that inherit from this middle-layer class will have modify rights.

Definition at line 3373 of file RelAlgDag.h.

Member Function Documentation

static std::vector<std::shared_ptr<RelAlgNode> >& RelAlgDagModifier::getNodes ( RelAlgDag rel_alg_dag)
inlinestaticprotected

Definition at line 3375 of file RelAlgDag.h.

References RelAlgDag::nodes_.

Referenced by RelAlgDagBuilder::build(), and RelAlgDagBuilder::optimizeDag().

3375  {
3376  return rel_alg_dag.nodes_;
3377  }
std::vector< std::shared_ptr< RelAlgNode > > nodes_
Definition: RelAlgDag.h:3352

+ Here is the caller graph for this function:

static std::unordered_map<size_t, std::unordered_map<unsigned, RegisteredQueryHint> >& RelAlgDagModifier::getQueryHints ( RelAlgDag rel_alg_dag)
inlinestaticprotected

Definition at line 3385 of file RelAlgDag.h.

References RelAlgDag::query_hint_.

Referenced by RelAlgDagBuilder::optimizeDag().

3385  {
3386  return rel_alg_dag.query_hint_;
3387  }
std::unordered_map< size_t, std::unordered_map< unsigned, RegisteredQueryHint > > query_hint_
Definition: RelAlgDag.h:3359

+ Here is the caller graph for this function:

static std::vector<std::shared_ptr<RexSubQuery> >& RelAlgDagModifier::getSubqueries ( RelAlgDag rel_alg_dag)
inlinestaticprotected

Definition at line 3379 of file RelAlgDag.h.

References RelAlgDag::subqueries_.

Referenced by RelAlgDagBuilder::optimizeDag().

3380  {
3381  return rel_alg_dag.subqueries_;
3382  }
std::vector< std::shared_ptr< RexSubQuery > > subqueries_
Definition: RelAlgDag.h:3353

+ Here is the caller graph for this function:

static void RelAlgDagModifier::setBuildState ( RelAlgDag rel_alg_dag,
const RelAlgDag::BuildState  build_state 
)
inlinestaticprotected

Definition at line 3389 of file RelAlgDag.h.

References RelAlgDag::build_state_.

Referenced by RelAlgDagBuilder::build(), and RelAlgDagBuilder::optimizeDag().

3390  {
3391  rel_alg_dag.build_state_ = build_state;
3392  }
BuildState build_state_
Definition: RelAlgDag.h:3350

+ Here is the caller graph for this function:


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