OmniSciDB  8a228a1076
RaExecutionDesc Class Reference

#include <RelAlgExecutionDescriptor.h>

+ Collaboration diagram for RaExecutionDesc:

Public Member Functions

 RaExecutionDesc (const RelAlgNode *body)
 
const ExecutionResultgetResult () const
 
void setResult (const ExecutionResult &result)
 
const RelAlgNodegetBody () const
 

Private Attributes

const RelAlgNodebody_
 
ExecutionResult result_
 

Detailed Description

Definition at line 72 of file RelAlgExecutionDescriptor.h.

Constructor & Destructor Documentation

◆ RaExecutionDesc()

RaExecutionDesc::RaExecutionDesc ( const RelAlgNode body)
inline

Definition at line 74 of file RelAlgExecutionDescriptor.h.

References CPU.

75  : body_(body)
76  , result_(std::make_shared<ResultSet>(std::vector<TargetInfo>{},
79  nullptr,
80  nullptr),
81  {}) {}
const RelAlgNode * body_

Member Function Documentation

◆ getBody()

const RelAlgNode * RaExecutionDesc::getBody ( ) const

Definition at line 84 of file RelAlgExecutionDescriptor.cpp.

Referenced by RelAlgExecutor::executeRelAlgSeq(), and RelAlgExecutor::handleNop().

84  {
85  return body_;
86 }
const RelAlgNode * body_
+ Here is the caller graph for this function:

◆ getResult()

const ExecutionResult& RaExecutionDesc::getResult ( ) const
inline

Definition at line 83 of file RelAlgExecutionDescriptor.h.

References run_benchmark_import::result, and ExecutionResult::result_.

Referenced by RelAlgExecutor::executeRelAlgSeq(), and RelAlgExecutor::executeRelAlgSubSeq().

83 { return result_; }
+ Here is the caller graph for this function:

◆ setResult()

void RaExecutionDesc::setResult ( const ExecutionResult result)

Definition at line 79 of file RelAlgExecutionDescriptor.cpp.

References run_benchmark_import::result, and ExecutionResult::result_.

Referenced by RelAlgExecutor::handleNop().

79  {
80  result_ = result;
81  body_->setContextData(this);
82 }
const RelAlgNode * body_
void setContextData(const void *context_data) const
+ Here is the caller graph for this function:

Member Data Documentation

◆ body_

const RelAlgNode* RaExecutionDesc::body_
private

Definition at line 90 of file RelAlgExecutionDescriptor.h.

◆ result_

ExecutionResult RaExecutionDesc::result_
private

Definition at line 91 of file RelAlgExecutionDescriptor.h.


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