OmniSciDB  c1a53651b2
 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 3007 of file RelAlgDag.h.

Member Function Documentation

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

Definition at line 3009 of file RelAlgDag.h.

References RelAlgDag::nodes_.

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

3009  {
3010  return rel_alg_dag.nodes_;
3011  }
std::vector< std::shared_ptr< RelAlgNode > > nodes_
Definition: RelAlgDag.h:2986

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

References RelAlgDag::query_hint_.

Referenced by RelAlgDagBuilder::optimizeDag().

3019  {
3020  return rel_alg_dag.query_hint_;
3021  }
std::unordered_map< size_t, std::unordered_map< unsigned, RegisteredQueryHint > > query_hint_
Definition: RelAlgDag.h:2993

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

References RelAlgDag::subqueries_.

Referenced by RelAlgDagBuilder::optimizeDag().

3014  {
3015  return rel_alg_dag.subqueries_;
3016  }
std::vector< std::shared_ptr< RexSubQuery > > subqueries_
Definition: RelAlgDag.h:2987

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

References RelAlgDag::build_state_.

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

3024  {
3025  rel_alg_dag.build_state_ = build_state;
3026  }
BuildState build_state_
Definition: RelAlgDag.h:2984

+ Here is the caller graph for this function:


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