OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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
 
bool is_varlen_projection
 

Detailed Description

Definition at line 49 of file TargetInfo.h.

Member Function Documentation

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

Definition at line 59 of file TargetInfo.h.

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

Referenced by operator<<().

59  {
60  auto result = std::string("TargetInfo(");
61  result += "is_agg=" + std::string(is_agg ? "true" : "false") + ", ";
62  if (is_agg) {
63  result += "agg_kind=" + ::toString(agg_kind) + ", ";
64  }
65  result += "sql_type=" + sql_type.to_string() + ", ";
66  if (is_agg) {
67  result += "agg_arg_type=" + agg_arg_type.to_string() + ", ";
68  }
69  result += "skip_null_val=" + std::string(skip_null_val ? "true" : "false") + ", ";
70  result += "is_distinct=" + std::string(is_distinct ? "true" : "false") + ", ";
71  result +=
72  "is_varlen_projection=" + std::string(is_varlen_projection ? "true" : "false") +
73  ")";
74  return result;
75  }
SQLTypeInfo sql_type
Definition: TargetInfo.h:52
bool skip_null_val
Definition: TargetInfo.h:54
SQLTypeInfo agg_arg_type
Definition: TargetInfo.h:53
bool is_varlen_projection
Definition: TargetInfo.h:56
std::string to_string() const
Definition: sqltypes.h:528
bool is_agg
Definition: TargetInfo.h:50
std::string toString() const
Definition: TargetInfo.h:59
SQLAgg agg_kind
Definition: TargetInfo.h:51
bool is_distinct
Definition: TargetInfo.h:55

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool TargetInfo::is_varlen_projection

Definition at line 56 of file TargetInfo.h.

Referenced by get_slots_for_geo_target(), and toString().


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