OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RelAlgDagNode Class Referenceabstract

#include <RelAlgDag.h>

+ Inheritance diagram for RelAlgDagNode:

Classes

class  Visitor
 

Public Member Functions

 RelAlgDagNode ()
 
virtual void accept (Visitor &v, std::string name) const =0
 
virtual void acceptChildren (Visitor &v) const =0
 
virtual std::string toString (RelRexToStringConfig config=RelRexToStringConfig::defaults()) const =0
 
virtual size_t getStepNumber () const
 
virtual void setStepNumber (size_t step) const
 
std::optional< size_t > getIdInPlanTree () const
 
void setIdInPlanTree (size_t id) const
 

Protected Attributes

size_t step_ {0}
 
std::optional< size_t > id_in_plan_tree_
 

Detailed Description

Definition at line 81 of file RelAlgDag.h.

Constructor & Destructor Documentation

RelAlgDagNode::RelAlgDagNode ( )
inline

Definition at line 124 of file RelAlgDag.h.

124 : id_in_plan_tree_(std::nullopt) {}
std::optional< size_t > id_in_plan_tree_
Definition: RelAlgDag.h:139

Member Function Documentation

virtual void RelAlgDagNode::acceptChildren ( Visitor v) const
pure virtual

Implemented in RelLogicalUnion, RelLogicalValues, RelTableFunction, RelModify, RelSort, RelCompound, RelLeftDeepInnerJoin, RelFilter, RelTranslatedJoin, RelJoin, RelAggregate, RelProject, RelScan, RexInput, RexSubQuery, RexAgg, RexRef, RexWindowFunctionOperator, RexFunctionOperator, RexCase, RexOperator, RexLiteral, and RexAbstractInput.

Referenced by RexLiteral::accept(), and RexSubQuery::accept().

+ Here is the caller graph for this function:

std::optional<size_t> RelAlgDagNode::getIdInPlanTree ( ) const
inline

Definition at line 134 of file RelAlgDag.h.

References id_in_plan_tree_.

Referenced by RexInput::toString().

134 { return id_in_plan_tree_; }
std::optional< size_t > id_in_plan_tree_
Definition: RelAlgDag.h:139

+ Here is the caller graph for this function:

virtual size_t RelAlgDagNode::getStepNumber ( ) const
inlinevirtual

Reimplemented in Rex.

Definition at line 131 of file RelAlgDag.h.

References step_.

131 { return step_; }
size_t step_
Definition: RelAlgDag.h:138
void RelAlgDagNode::setIdInPlanTree ( size_t  id) const
inline

Definition at line 135 of file RelAlgDag.h.

References id_in_plan_tree_.

Referenced by RelAlgDagViewer::emplace().

135 { id_in_plan_tree_ = id; }
std::optional< size_t > id_in_plan_tree_
Definition: RelAlgDag.h:139

+ Here is the caller graph for this function:

virtual void RelAlgDagNode::setStepNumber ( size_t  step) const
inlinevirtual

Definition at line 132 of file RelAlgDag.h.

References step_.

132 { step_ = step; }
size_t step_
Definition: RelAlgDag.h:138
virtual std::string RelAlgDagNode::toString ( RelRexToStringConfig  config = RelRexToStringConfig::defaults()) const
pure virtual

Member Data Documentation

std::optional<size_t> RelAlgDagNode::id_in_plan_tree_
mutableprotected

Definition at line 139 of file RelAlgDag.h.

Referenced by getIdInPlanTree(), and setIdInPlanTree().

size_t RelAlgDagNode::step_ {0}
mutableprotected

Definition at line 138 of file RelAlgDag.h.

Referenced by getStepNumber(), and setStepNumber().


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