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

#include <RelAlgDag.h>

+ Inheritance diagram for RelAlgDagNode::Visitor:

Public Member Functions

virtual ~Visitor ()
 
virtual bool visit (RelAggregate const *n, std::string s)
 
virtual bool visit (RelCompound const *n, std::string s)
 
virtual bool visit (RelFilter const *n, std::string s)
 
virtual bool visit (RelJoin const *n, std::string s)
 
virtual bool visit (RelLeftDeepInnerJoin const *n, std::string s)
 
virtual bool visit (RelLogicalUnion const *n, std::string s)
 
virtual bool visit (RelLogicalValues const *n, std::string s)
 
virtual bool visit (RelModify const *n, std::string s)
 
virtual bool visit (RelProject const *n, std::string s)
 
virtual bool visit (RelScan const *n, std::string s)
 
virtual bool visit (RelSort const *n, std::string s)
 
virtual bool visit (RelTableFunction const *n, std::string s)
 
virtual bool visit (RelTranslatedJoin const *n, std::string s)
 
virtual bool visit (RexAbstractInput const *n, std::string s)
 
virtual bool visit (RexCase const *n, std::string s)
 
virtual bool visit (RexFunctionOperator const *n, std::string s)
 
virtual bool visit (RexInput const *n, std::string s)
 
virtual bool visit (RexLiteral const *n, std::string s)
 
virtual bool visit (RexOperator const *n, std::string s)
 
virtual bool visit (RexRef const *n, std::string s)
 
virtual bool visit (RexAgg const *n, std::string s)
 
virtual bool visit (RexSubQuery const *n, std::string s)
 
virtual bool visit (RexWindowFunctionOperator const *n, std::string s)
 

Protected Member Functions

virtual bool visitAny (RelAlgDagNode const *n, std::string s)
 

Private Member Functions

template<typename T >
bool v (T const *n, std::string s)
 

Detailed Description

Definition at line 83 of file RelAlgDag.h.

Constructor & Destructor Documentation

virtual RelAlgDagNode::Visitor::~Visitor ( )
inlinevirtual

Definition at line 85 of file RelAlgDag.h.

85 {}

Member Function Documentation

template<typename T >
bool RelAlgDagNode::Visitor::v ( T const *  n,
std::string  s 
)
inlineprivate

Definition at line 119 of file RelAlgDag.h.

References visitAny().

Referenced by visit().

119  {
120  return visitAny(static_cast<RelAlgDagNode const*>(n), s);
121  }
virtual bool visitAny(RelAlgDagNode const *n, std::string s)
Definition: RelAlgDag.h:113
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelAggregate const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 86 of file RelAlgDag.h.

References v().

Referenced by RexAbstractInput::accept(), RexLiteral::accept(), RexOperator::accept(), RexCase::accept(), RexFunctionOperator::accept(), RexWindowFunctionOperator::accept(), RexRef::accept(), RexAgg::accept(), RexSubQuery::accept(), RexInput::accept(), RelScan::accept(), RelProject::accept(), RelAggregate::accept(), RelJoin::accept(), RelTranslatedJoin::accept(), RelFilter::accept(), RelLeftDeepInnerJoin::accept(), RelCompound::accept(), RelSort::accept(), RelModify::accept(), RelTableFunction::accept(), RelLogicalValues::accept(), and RelLogicalUnion::accept().

86 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelCompound const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 87 of file RelAlgDag.h.

References v().

87 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelFilter const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 88 of file RelAlgDag.h.

References v().

88 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelJoin const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 89 of file RelAlgDag.h.

References v().

89 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelLeftDeepInnerJoin const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 90 of file RelAlgDag.h.

References v().

90 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelLogicalUnion const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 91 of file RelAlgDag.h.

References v().

91 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelLogicalValues const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 92 of file RelAlgDag.h.

References v().

92 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelModify const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 93 of file RelAlgDag.h.

References v().

93 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelProject const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 94 of file RelAlgDag.h.

References v().

94 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelScan const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 95 of file RelAlgDag.h.

References v().

95 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelSort const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 96 of file RelAlgDag.h.

References v().

96 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelTableFunction const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 97 of file RelAlgDag.h.

References v().

97 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RelTranslatedJoin const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 98 of file RelAlgDag.h.

References v().

98 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexAbstractInput const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 99 of file RelAlgDag.h.

References v().

99 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexCase const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 100 of file RelAlgDag.h.

References v().

100 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexFunctionOperator const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 101 of file RelAlgDag.h.

References v().

101 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexInput const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 102 of file RelAlgDag.h.

References v().

102 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexLiteral const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 103 of file RelAlgDag.h.

References v().

103 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexOperator const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 104 of file RelAlgDag.h.

References v().

104 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexRef const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 105 of file RelAlgDag.h.

References v().

105 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexAgg const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 106 of file RelAlgDag.h.

References v().

106 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexSubQuery const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 107 of file RelAlgDag.h.

References v().

107 { return v(n, s); }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visit ( RexWindowFunctionOperator const *  n,
std::string  s 
)
inlinevirtual

Reimplemented in RelAlgDagViewer.

Definition at line 108 of file RelAlgDag.h.

References v().

108  {
109  return v(n, s);
110  }
bool v(T const *n, std::string s)
Definition: RelAlgDag.h:119
constexpr double n
Definition: Utm.h:38

+ Here is the call graph for this function:

virtual bool RelAlgDagNode::Visitor::visitAny ( RelAlgDagNode const *  n,
std::string  s 
)
inlineprotectedvirtual

Reimplemented in RelAlgDagViewer::CollectImmediateChildren, and RelAlgDagViewer::BreadthFirstSearch.

Definition at line 113 of file RelAlgDag.h.

Referenced by v().

113  {
114  return /*recurse=*/true;
115  }

+ Here is the caller graph for this function:


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