OmniSciDB  21ac014ffc
 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 48 of file TargetInfo.h.

Member Function Documentation

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

Definition at line 58 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().

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

+ Here is the call graph for this function:

Member Data Documentation

bool TargetInfo::is_varlen_projection

Definition at line 55 of file TargetInfo.h.

Referenced by get_slots_for_geo_target(), and toString().


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