OmniSciDB
94e8789169
|
Functions | |
bool | is_int_and_no_bigger_than (const SQLTypeInfo &ti, const size_t byte_width) |
std::vector< int64_t > | target_expr_group_by_indices (const std::list< std::shared_ptr< Analyzer::Expr >> &groupby_exprs, const std::vector< Analyzer::Expr * > &target_exprs) |
std::vector< int64_t > | target_expr_proj_indices (const RelAlgExecutionUnit &ra_exe_unit, const Catalog_Namespace::Catalog &cat) |
int8_t | pick_baseline_key_component_width (const ExpressionRange &range, const size_t group_col_width) |
int8_t | pick_baseline_key_width (const RelAlgExecutionUnit &ra_exe_unit, const std::vector< InputTableInfo > &query_infos, const Executor *executor) |
bool | use_streaming_top_n (const RelAlgExecutionUnit &ra_exe_unit, const bool output_columnar) |
bool | anyOf (std::vector< Analyzer::Expr * > const &target_exprs, SQLAgg const agg_kind) |
bool anonymous_namespace{QueryMemoryDescriptor.cpp}::anyOf | ( | std::vector< Analyzer::Expr * > const & | target_exprs, |
SQLAgg const | agg_kind | ||
) |
Definition at line 378 of file QueryMemoryDescriptor.cpp.
References Analyzer::AggExpr::get_aggtype().
Referenced by QueryMemoryDescriptor::QueryMemoryDescriptor().
bool anonymous_namespace{QueryMemoryDescriptor.cpp}::is_int_and_no_bigger_than | ( | const SQLTypeInfo & | ti, |
const size_t | byte_width | ||
) |
Definition at line 33 of file QueryMemoryDescriptor.cpp.
References get_bit_width(), and SQLTypeInfo::is_integer().
Referenced by QueryMemoryDescriptor::pick_target_compact_width().
int8_t anonymous_namespace{QueryMemoryDescriptor.cpp}::pick_baseline_key_component_width | ( | const ExpressionRange & | range, |
const size_t | group_col_width | ||
) |
Definition at line 111 of file QueryMemoryDescriptor.cpp.
References Double, EMPTY_KEY_32, Float, ExpressionRange::getIntMax(), ExpressionRange::getType(), ExpressionRange::hasNulls(), Integer, Invalid, and UNREACHABLE.
Referenced by pick_baseline_key_width().
int8_t anonymous_namespace{QueryMemoryDescriptor.cpp}::pick_baseline_key_width | ( | const RelAlgExecutionUnit & | ra_exe_unit, |
const std::vector< InputTableInfo > & | query_infos, | ||
const Executor * | executor | ||
) |
Definition at line 132 of file QueryMemoryDescriptor.cpp.
References getExpressionRange(), RelAlgExecutionUnit::groupby_exprs, and pick_baseline_key_component_width().
std::vector<int64_t> anonymous_namespace{QueryMemoryDescriptor.cpp}::target_expr_group_by_indices | ( | const std::list< std::shared_ptr< Analyzer::Expr >> & | groupby_exprs, |
const std::vector< Analyzer::Expr * > & | target_exprs | ||
) |
Definition at line 40 of file QueryMemoryDescriptor.cpp.
References Analyzer::Var::get_varno(), and Analyzer::Var::kGROUPBY.
std::vector<int64_t> anonymous_namespace{QueryMemoryDescriptor.cpp}::target_expr_proj_indices | ( | const RelAlgExecutionUnit & | ra_exe_unit, |
const Catalog_Namespace::Catalog & | cat | ||
) |
Definition at line 58 of file QueryMemoryDescriptor.cpp.
References cat(), CHECK, get_column_descriptor_maybe(), RelAlgExecutionUnit::input_descs, SortInfo::order_entries, RelAlgExecutionUnit::quals, RelAlgExecutionUnit::simple_quals, RelAlgExecutionUnit::sort_info, RelAlgExecutionUnit::target_exprs, and ScalarExprVisitor< T >::visit().
bool anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n | ( | const RelAlgExecutionUnit & | ra_exe_unit, |
const bool | output_columnar | ||
) |
Definition at line 145 of file QueryMemoryDescriptor.cpp.
References SortInfo::algorithm, CHECK_GT, CHECK_LE, g_cluster, SortInfo::limit, SortInfo::offset, SortInfo::order_entries, RelAlgExecutionUnit::sort_info, StreamingTopN, and RelAlgExecutionUnit::target_exprs.