Class ExecutionResult

class ExecutionResult

Public Types

enum RType

Values:

QueryResult
SimpleResult
Explaination
CalciteDdl

Public Functions

ExecutionResult()
ExecutionResult(const std::shared_ptr<ResultSet> &rows, const std::vector<TargetMetaInfo> &targets_meta)
ExecutionResult(ResultSetPtr &&result, const std::vector<TargetMetaInfo> &targets_meta)
ExecutionResult(const ExecutionResult &that)
ExecutionResult(ExecutionResult &&that)
ExecutionResult(const std::vector<PushedDownFilterInfo> &pushed_down_filter_info, bool filter_push_down_enabled)
ExecutionResult &operator=(const ExecutionResult &that)
const std::shared_ptr<ResultSet> &getRows() const
bool empty() const
const ResultSetPtr &getDataPtr() const
const std::vector<TargetMetaInfo> &getTargetsMeta() const
const std::vector<PushedDownFilterInfo> &getPushedDownFilterInfo() const
const bool isFilterPushDownEnabled() const
void setQueueTime(const int64_t queue_time_ms)
std::string toString() const
std::string getExplanation()
void updateResultSet(const std::string &query_ra, RType type, bool success = true)
RType getResultType() const
void setResultType(RType type)
int64_t getExecutionTime() const
void setExecutionTime(int64_t execution_time_ms)
void addExecutionTime(int64_t execution_time_ms)

Private Members

ResultSetPtr result_
std::vector<TargetMetaInfo> targets_meta_
std::vector<PushedDownFilterInfo> pushed_down_filter_info_
bool filter_push_down_enabled_
bool success_
uint64_t execution_time_ms_
RType type_