OmniSciDB  c1a53651b2
 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().

59  {
60  auto result = std::string("TargetInfo(");
61  result += "is_agg=" + std::string(is_agg ? "true" : "false") + ", ";
62  result += "agg_kind=" + ::toString(agg_kind) + ", ";
63  result += "sql_type=" + sql_type.to_string() + ", ";
64  result += "agg_arg_type=" + agg_arg_type.to_string() + ", ";
65  result += "skip_null_val=" + std::string(skip_null_val ? "true" : "false") + ", ";
66  result += "is_distinct=" + std::string(is_distinct ? "true" : "false") + ")";
67  result +=
68  "is_varlen_projection=" + std::string(is_varlen_projection ? "true" : "false") +
69  ")";
70  return result;
71  }
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:547
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:

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: