OmniSciDB
a5dc49c757
|
Functions | |
std::string | get_window_agg_name (const SqlWindowFunctionKind kind, const SQLTypeInfo &window_func_ti) |
SQLTypeInfo | get_adjusted_window_type_info (const Analyzer::WindowFunction *window_func) |
std::string | get_col_type_name_by_size (const size_t size, const bool is_fp) |
llvm::Value * | get_null_value_by_size (CgenState *cgen_state, SQLTypeInfo col_ti) |
llvm::Value * | get_null_value_by_size_with_encoding (CgenState *cgen_state, SQLTypeInfo col_ti) |
SQLTypeInfo anonymous_namespace{WindowFunctionIR.cpp}::get_adjusted_window_type_info | ( | const Analyzer::WindowFunction * | window_func | ) |
Definition at line 132 of file WindowFunctionIR.cpp.
References run_benchmark_import::args, AVG, COUNT, Analyzer::Expr::get_type_info(), Analyzer::WindowFunction::getArgs(), and Analyzer::WindowFunction::getKind().
Referenced by Executor::aggregateWindowStatePtr(), Executor::codegenAggregateWindowState(), Executor::codegenWindowAvgEpilogue(), Executor::codegenWindowFunctionAggregateCalls(), and Executor::codegenWindowFunctionStateInit().
std::string anonymous_namespace{WindowFunctionIR.cpp}::get_col_type_name_by_size | ( | const size_t | size, |
const bool | is_fp | ||
) |
Definition at line 140 of file WindowFunctionIR.cpp.
Referenced by Executor::codegenLoadOrderKeyBufPtr(), Executor::codegenWindowFunctionAggregateCalls(), Executor::codegenWindowNavigationFunctionOnFrame(), and Executor::getOrderKeyTypeName().
llvm::Value* anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size | ( | CgenState * | cgen_state, |
SQLTypeInfo | col_ti | ||
) |
Definition at line 157 of file WindowFunctionIR.cpp.
References CHECK_EQ, SQLTypeInfo::get_comp_param(), SQLTypeInfo::get_compression(), SQLTypeInfo::get_size(), SQLTypeInfo::get_type(), inline_fixed_encoding_null_val(), inline_fp_null_value< double >(), inline_fp_null_value< float >(), inline_int_null_val(), SQLTypeInfo::is_date(), SQLTypeInfo::is_dict_encoded_string(), SQLTypeInfo::is_fp(), kBIGINT, kBOOLEAN, kDECIMAL, kENCODING_FIXED, kFLOAT, kINT, kINTERVAL_DAY_TIME, kINTERVAL_YEAR_MONTH, kNUMERIC, kSMALLINT, kTIME, kTIMESTAMP, kTINYINT, CgenState::llFp(), and CgenState::llInt().
Referenced by Executor::codegenWindowFunctionAggregateCalls(), and Executor::codegenWindowNavigationFunctionOnFrame().
llvm::Value* anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size_with_encoding | ( | CgenState * | cgen_state, |
SQLTypeInfo | col_ti | ||
) |
Definition at line 216 of file WindowFunctionIR.cpp.
References CgenState::castToTypeIn(), SQLTypeInfo::get_compression(), SQLTypeInfo::get_logical_size(), SQLTypeInfo::get_type(), inline_fixed_encoding_null_val(), inline_fp_null_value< double >(), inline_fp_null_value< float >(), inline_int_null_val(), SQLTypeInfo::is_fp(), kENCODING_DATE_IN_DAYS, kENCODING_FIXED, kFLOAT, CgenState::llFp(), and CgenState::llInt().
Referenced by Executor::codegenWindowNavigationFunctionOnFrame().
std::string anonymous_namespace{WindowFunctionIR.cpp}::get_window_agg_name | ( | const SqlWindowFunctionKind | kind, |
const SQLTypeInfo & | window_func_ti | ||
) |
Definition at line 82 of file WindowFunctionIR.cpp.
References AVG, CONDITIONAL_CHANGE_EVENT, COUNT, COUNT_IF, logger::FATAL, SQLTypeInfo::get_type(), kDOUBLE, kFLOAT, LOG, MAX, MIN, SUM, and SUM_IF.
Referenced by Executor::codegenWindowFunctionAggregateCalls().