OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Definition at line 48 of file TargetInfo.h.

References agg_arg_type, agg_kind, is_agg, is_distinct, run_benchmark_import::result, skip_null_val, sql_type, and SQLTypeInfo::to_string().

48  {
49  auto result = std::string("TargetInfo(");
50  result += "is_agg=" + std::string(is_agg ? "true" : "false") + ", ";
51  result += "agg_kind=" + ::toString(agg_kind) + ", ";
52  result += "sql_type=" + sql_type.to_string() + ", ";
53  result += "agg_arg_type=" + agg_arg_type.to_string() + ", ";
54  result += "skip_null_val=" + std::string(skip_null_val ? "true" : "false") + ", ";
55  result += "is_distinct=" + std::string(is_distinct ? "true" : "false") + ")";
56  return result;
57  }
SQLTypeInfo sql_type
Definition: TargetInfo.h:42
bool skip_null_val
Definition: TargetInfo.h:44
SQLTypeInfo agg_arg_type
Definition: TargetInfo.h:43
std::string to_string() const
Definition: sqltypes.h:465
bool is_agg
Definition: TargetInfo.h:40
std::string toString() const
Definition: TargetInfo.h:48
SQLAgg agg_kind
Definition: TargetInfo.h:41
bool is_distinct
Definition: TargetInfo.h:45

+ Here is the call graph for this function:

Member Data Documentation


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