OmniSciDB
a5dc49c757
|
Functions | |
bool | is_varlen_projection (const Analyzer::Expr *target_expr, const SQLTypeInfo &ti) |
std::vector< std::string > | agg_fn_base_names (const TargetInfo &target_info, const bool is_varlen_projection) |
bool | is_columnar_projection (const QueryMemoryDescriptor &query_mem_desc) |
bool | is_simple_count (const TargetInfo &target_info) |
bool | target_has_geo (const TargetInfo &target_info) |
int64_t | get_initial_agg_val (const TargetInfo &target_info, const QueryMemoryDescriptor &query_mem_desc) |
std::vector<std::string> anonymous_namespace{TargetExprBuilder.cpp}::agg_fn_base_names | ( | const TargetInfo & | target_info, |
const bool | is_varlen_projection | ||
) |
Definition at line 46 of file TargetExprBuilder.cpp.
References TargetInfo::agg_kind, CHECK, get_compact_type(), TargetInfo::is_agg, TargetInfo::is_distinct, kAPPROX_COUNT_DISTINCT, kAPPROX_QUANTILE, kAVG, kCOUNT, kCOUNT_IF, kMAX, kMIN, kMODE, kSAMPLE, kSINGLE_VALUE, kSUM, kSUM_IF, and UNREACHABLE.
Referenced by TargetExprCodegen::codegen(), TargetExprCodegen::codegenAggregate(), and TargetExprCodegenBuilder::operator()().
|
inline |
Definition at line 729 of file TargetExprBuilder.cpp.
References TargetInfo::agg_kind, get_agg_initial_val(), SQLTypeInfo::get_compression(), QueryMemoryDescriptor::getCompactByteWidth(), TargetExprCodegen::is_group_by, SQLTypeInfo::is_string(), QueryMemoryDescriptor::isGroupBy(), kENCODING_NONE, kSAMPLE, and TargetInfo::sql_type.
Referenced by TargetExprCodegenBuilder::codegenMultiSlotSampleExpressions().
|
inline |
Definition at line 97 of file TargetExprBuilder.cpp.
References QueryMemoryDescriptor::didOutputColumnar(), QueryMemoryDescriptor::getQueryDescriptionType(), heavyai::Projection, and heavyai::TableFunction.
Referenced by TargetExprCodegenBuilder::operator()().
bool anonymous_namespace{TargetExprBuilder.cpp}::is_simple_count | ( | const TargetInfo & | target_info | ) |
Definition at line 104 of file TargetExprBuilder.cpp.
References TargetInfo::agg_kind, TargetInfo::is_agg, and TargetInfo::is_distinct.
Referenced by TargetExprCodegen::codegen(), and TargetExprCodegen::codegenAggregate().
|
inline |
Definition at line 41 of file TargetExprBuilder.cpp.
References SQLTypeInfo::get_type(), and kPOINT.
Referenced by TargetExprCodegen::codegen(), TargetExprCodegen::codegenAggregate(), anonymous_namespace{QueryMemoryDescriptor.cpp}::get_col_byte_widths(), target_info::get_target_info_impl(), and TargetExprCodegenBuilder::operator()().
bool anonymous_namespace{TargetExprBuilder.cpp}::target_has_geo | ( | const TargetInfo & | target_info | ) |
Definition at line 109 of file TargetExprBuilder.cpp.
References TargetInfo::agg_arg_type, TargetInfo::is_agg, SQLTypeInfo::is_geometry(), and TargetInfo::sql_type.
Referenced by TargetExprCodegen::codegen(), and TargetExprCodegen::codegenAggregate().