OmniSciDB  c07336695a
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 104 of file RelAlgExecutionDescriptor.h.

Constructor & Destructor Documentation

◆ RaExecutionDesc()

RaExecutionDesc::RaExecutionDesc ( const RelAlgNode body)
inline

Definition at line 106 of file RelAlgExecutionDescriptor.h.

References CPU.

107  : body_(body)
108  , result_(std::make_shared<ResultSet>(std::vector<TargetInfo>{},
111  nullptr,
112  nullptr),
113  {}) {}
const RelAlgNode * body_

Member Function Documentation

◆ getBody()

const RelAlgNode* RaExecutionDesc::getBody ( ) const
inline

Definition at line 122 of file RelAlgExecutionDescriptor.h.

Referenced by RelAlgExecutor::handleNop().

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

◆ getResult()

const ExecutionResult& RaExecutionDesc::getResult ( ) const
inline

Definition at line 115 of file RelAlgExecutionDescriptor.h.

References ExecutionResult::result_.

115 { return result_; }

◆ setResult()

void RaExecutionDesc::setResult ( const ExecutionResult result)
inline

Definition at line 117 of file RelAlgExecutionDescriptor.h.

References run-benchmark-import::result, and ExecutionResult::result_.

Referenced by RelAlgExecutor::handleNop().

117  {
118  result_ = result;
119  body_->setContextData(this);
120  }
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 125 of file RelAlgExecutionDescriptor.h.

◆ result_

ExecutionResult RaExecutionDesc::result_
private

Definition at line 126 of file RelAlgExecutionDescriptor.h.


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