OmniSciDB  a5dc49c757
 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 3402 of file RelAlgDag.h.

Member Function Documentation

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

Definition at line 3404 of file RelAlgDag.h.

References RelAlgDag::nodes_.

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

3404  {
3405  return rel_alg_dag.nodes_;
3406  }
std::vector< std::shared_ptr< RelAlgNode > > nodes_
Definition: RelAlgDag.h:3381

+ 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 3414 of file RelAlgDag.h.

References RelAlgDag::query_hint_.

Referenced by RelAlgDagBuilder::optimizeDag().

3414  {
3415  return rel_alg_dag.query_hint_;
3416  }
std::unordered_map< size_t, std::unordered_map< unsigned, RegisteredQueryHint > > query_hint_
Definition: RelAlgDag.h:3388

+ 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 3408 of file RelAlgDag.h.

References RelAlgDag::subqueries_.

Referenced by RelAlgDagBuilder::optimizeDag().

3409  {
3410  return rel_alg_dag.subqueries_;
3411  }
std::vector< std::shared_ptr< RexSubQuery > > subqueries_
Definition: RelAlgDag.h:3382

+ 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 3418 of file RelAlgDag.h.

References RelAlgDag::build_state_.

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

3419  {
3420  rel_alg_dag.build_state_ = build_state;
3421  }
BuildState build_state_
Definition: RelAlgDag.h:3379

+ Here is the caller graph for this function:


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