OmniSciDB
1dac507f6e
|
Functions | |
bool | is_int_and_no_bigger_than (const SQLTypeInfo &ti, const size_t byte_width) |
std::vector< ssize_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< ssize_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) |
std::string | boolToString (const bool val) |
std::string | queryDescTypeToString (const QueryDescriptionType val) |
|
inline |
Definition at line 1111 of file QueryMemoryDescriptor.cpp.
Referenced by QueryMemoryDescriptor::reductionKey(), and QueryMemoryDescriptor::toString().
bool anonymous_namespace{QueryMemoryDescriptor.cpp}::is_int_and_no_bigger_than | ( | const SQLTypeInfo & | ti, |
const size_t | byte_width | ||
) |
Definition at line 31 of file QueryMemoryDescriptor.cpp.
References get_bit_width(), and SQLTypeInfoCore< TYPE_FACET_PACK >::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 114 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 135 of file QueryMemoryDescriptor.cpp.
References getExpressionRange(), RelAlgExecutionUnit::groupby_exprs, and pick_baseline_key_component_width().
|
inline |
Definition at line 1115 of file QueryMemoryDescriptor.cpp.
References Estimator, GroupByBaselineHash, GroupByPerfectHash, NonGroupedAggregate, Projection, and UNREACHABLE.
Referenced by QueryMemoryDescriptor::reductionKey().
std::vector<ssize_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 38 of file QueryMemoryDescriptor.cpp.
References Analyzer::Var::get_varno(), and Analyzer::Var::kGROUPBY.
std::vector<ssize_t> anonymous_namespace{QueryMemoryDescriptor.cpp}::target_expr_proj_indices | ( | const RelAlgExecutionUnit & | ra_exe_unit, |
const Catalog_Namespace::Catalog & | cat | ||
) |
Definition at line 56 of file QueryMemoryDescriptor.cpp.
References CHECK(), get_column_descriptor_maybe(), RelAlgExecutionUnit::input_descs, is_real_str_or_array(), kENCODING_NONE, SortInfo::order_entries, RelAlgExecutionUnit::quals, RelAlgExecutionUnit::simple_quals, RelAlgExecutionUnit::sort_info, RelAlgExecutionUnit::target_exprs, and ScalarExprVisitor< T >::visit().