OmniSciDB  8a228a1076
TargetInfo Struct Reference

#include <TargetInfo.h>

+ Collaboration diagram for TargetInfo:

Public Member Functions

std::string toString () const
 

Public Attributes

bool is_agg
 
SQLAgg agg_kind
 
SQLTypeInfo sql_type
 
SQLTypeInfo agg_arg_type
 
bool skip_null_val
 
bool is_distinct
 

Detailed Description

Definition at line 39 of file TargetInfo.h.

Member Function Documentation

◆ toString()

std::string TargetInfo::toString ( ) const
inline

Definition at line 48 of file TargetInfo.h.

References run_benchmark_import::result, and SQLTypeInfo::to_string().

48  {
49  auto result = std::string("TargetInfo(");
50  result += "is_agg=" + std::string(is_agg ? "true" : "false") + ", ";
51  result += "sql_type=" + sql_type.to_string() + ", ";
52  result += "agg_arg_type=" + agg_arg_type.to_string() + ", ";
53  result += "skip_null_val=" + std::string(skip_null_val ? "true" : "false") + ", ";
54  result += "is_distinct=" + std::string(is_distinct ? "true" : "false") + ")";
55  return result;
56  }
SQLTypeInfo sql_type
Definition: TargetInfo.h:42
bool skip_null_val
Definition: TargetInfo.h:44
SQLTypeInfo agg_arg_type
Definition: TargetInfo.h:43
bool is_agg
Definition: TargetInfo.h:40
std::string to_string() const
Definition: sqltypes.h:394
bool is_distinct
Definition: TargetInfo.h:45
+ Here is the call graph for this function:

Member Data Documentation

◆ agg_arg_type

◆ agg_kind

◆ is_agg

◆ is_distinct

◆ skip_null_val

◆ sql_type


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