OmniSciDB
a5dc49c757
|
#include <RelAlgDag.h>
Public Types | |
using | ExecutionResultShPtr = std::shared_ptr< const ExecutionResult > |
Public Member Functions | |
RexSubQuery () | |
RexSubQuery (const std::shared_ptr< const RelAlgNode > ra) | |
RexSubQuery (std::shared_ptr< SQLTypeInfo > type, std::shared_ptr< ExecutionResultShPtr > result, const std::shared_ptr< const RelAlgNode > ra) | |
RexSubQuery (const RexSubQuery &)=delete | |
RexSubQuery & | operator= (const RexSubQuery &)=delete |
RexSubQuery (RexSubQuery &&)=delete | |
RexSubQuery & | operator= (RexSubQuery &&)=delete |
virtual void | acceptChildren (Visitor &v) const override |
virtual void | accept (Visitor &v, std::string name) const override |
const SQLTypeInfo & | getType () const |
ExecutionResultShPtr | getExecutionResult () const |
unsigned | getId () const |
const RelAlgNode * | getRelAlg () const |
std::string | toString (RelRexToStringConfig config=RelRexToStringConfig::defaults()) const override |
std::unique_ptr< RexSubQuery > | deepCopy () const |
void | setExecutionResult (const ExecutionResultShPtr result) |
virtual size_t | toHash () const override |
Public Member Functions inherited from Rex | |
virtual | ~Rex () |
virtual size_t | getStepNumber () const |
Public Member Functions inherited from RelAlgDagNode | |
RelAlgDagNode () | |
virtual void | setStepNumber (size_t step) const |
std::optional< size_t > | getIdInPlanTree () const |
void | setIdInPlanTree (size_t id) const |
Private Attributes | |
std::shared_ptr< SQLTypeInfo > | type_ |
std::shared_ptr < ExecutionResultShPtr > | result_ |
std::shared_ptr< const RelAlgNode > | ra_ |
Friends | |
struct | RelAlgDagSerializer |
std::size_t | hash_value (RexSubQuery const &) |
Additional Inherited Members | |
Protected Attributes inherited from Rex | |
std::optional< size_t > | hash_ |
Protected Attributes inherited from RelAlgDagNode | |
size_t | step_ {0} |
std::optional< size_t > | id_in_plan_tree_ |
Definition at line 963 of file RelAlgDag.h.
using RexSubQuery::ExecutionResultShPtr = std::shared_ptr<const ExecutionResult> |
Definition at line 965 of file RelAlgDag.h.
|
inline |
Definition at line 969 of file RelAlgDag.h.
|
inline |
Definition at line 971 of file RelAlgDag.h.
|
inline |
Definition at line 977 of file RelAlgDag.h.
|
delete |
|
delete |
|
inlineoverridevirtual |
Implements RelAlgDagNode.
Definition at line 995 of file RelAlgDag.h.
References RelAlgDagNode::acceptChildren(), and RelAlgDagNode::Visitor::visit().
Referenced by TableFunctionsFactory_node.PrintNode::__str__().
|
inlineoverridevirtual |
Implements RelAlgDagNode.
Definition at line 990 of file RelAlgDag.h.
References RelAlgDagNode::accept(), and getRelAlg().
std::unique_ptr< RexSubQuery > RexSubQuery::deepCopy | ( | ) | const |
Definition at line 60 of file RelAlgDag.cpp.
|
inline |
unsigned RexSubQuery::getId | ( | ) | const |
Definition at line 64 of file RelAlgDag.cpp.
|
inline |
Definition at line 1014 of file RelAlgDag.h.
References ra_.
Referenced by acceptChildren().
|
inline |
Definition at line 1001 of file RelAlgDag.h.
References CHECK_NE, kNULLT, and type_.
|
delete |
|
delete |
void RexSubQuery::setExecutionResult | ( | const ExecutionResultShPtr | result | ) |
Definition at line 51 of file RelAlgDag.cpp.
References CHECK, CHECK_EQ, and run_benchmark_import::result.
|
inlineoverridevirtual |
Implements Rex.
Definition at line 1023 of file RelAlgDag.h.
References hash_value().
|
overridevirtual |
Implements RelAlgDagNode.
Definition at line 3488 of file RelAlgDag.cpp.
References RelRexToStringConfig::attributes_only, cat(), and typeName().
|
friend |
Definition at line 3672 of file RelAlgDag.cpp.
|
friend |
Definition at line 1032 of file RelAlgDag.h.
|
private |
Definition at line 1030 of file RelAlgDag.h.
Referenced by getRelAlg().
|
private |
Definition at line 1029 of file RelAlgDag.h.
Referenced by getExecutionResult().
|
private |
Definition at line 1028 of file RelAlgDag.h.
Referenced by getType().