OmniSciDB
a5dc49c757
|
Functions | |
bool | matches_else_null (const Analyzer::CaseExpr *case_expr) |
bool | matches_gt_bigint_zero (const Analyzer::BinOper *window_gt_zero) |
bool | window_sum_and_count_match (const Analyzer::WindowFunction *sum_window_expr, const Analyzer::WindowFunction *count_window_expr) |
bool | is_sum_kind (const SqlWindowFunctionKind kind) |
bool anonymous_namespace{WindowExpressionRewrite.cpp}::is_sum_kind | ( | const SqlWindowFunctionKind | kind | ) |
Definition at line 47 of file WindowExpressionRewrite.cpp.
References SUM, and SUM_INTERNAL.
Referenced by rewrite_sum_window().
bool anonymous_namespace{WindowExpressionRewrite.cpp}::matches_else_null | ( | const Analyzer::CaseExpr * | case_expr | ) |
Definition at line 22 of file WindowExpressionRewrite.cpp.
References Analyzer::CaseExpr::get_else_expr(), and Analyzer::Constant::get_is_null().
Referenced by rewrite_sum_window().
bool anonymous_namespace{WindowExpressionRewrite.cpp}::matches_gt_bigint_zero | ( | const Analyzer::BinOper * | window_gt_zero | ) |
Definition at line 29 of file WindowExpressionRewrite.cpp.
References Analyzer::BinOper::get_optype(), Analyzer::BinOper::get_right_operand(), SQLTypeInfo::get_type(), Analyzer::Expr::get_type_info(), kBIGINT, and kGT.
Referenced by rewrite_sum_window().
bool anonymous_namespace{WindowExpressionRewrite.cpp}::window_sum_and_count_match | ( | const Analyzer::WindowFunction * | sum_window_expr, |
const Analyzer::WindowFunction * | count_window_expr | ||
) |
Definition at line 41 of file WindowExpressionRewrite.cpp.
References CHECK_EQ, expr_list_match(), SQLTypeInfo::get_type(), Analyzer::Expr::get_type_info(), Analyzer::WindowFunction::getArgs(), and kBIGINT.
Referenced by rewrite_sum_window().