OmniSciDB
a5dc49c757
|
Functions | |
bool | is_int_and_no_bigger_than (const SQLTypeInfo &ti, const size_t byte_width) |
bool | is_valid_int32_range (const ExpressionRange &range) |
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) |
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) |
template<class T > | |
std::vector< int8_t > | get_col_byte_widths (const T &col_expr_list) |
template<SQLAgg... agg_types> | |
bool | any_of (std::vector< Analyzer::Expr * > const &target_exprs) |
bool anonymous_namespace{QueryMemoryDescriptor.cpp}::any_of | ( | std::vector< Analyzer::Expr * > const & | target_exprs | ) |
Definition at line 445 of file QueryMemoryDescriptor.cpp.
Referenced by import_export::TypedImportBuffer::add_values(), ResultSet::areAnyColumnsLazyFetched(), QueryMemoryDescriptor::canUsePerDeviceCardinality(), Executor::codegenJoinLoops(), RelAlgExecutor::executeSort(), RelAlgExecutor::executeUnion(), anonymous_namespace{FromTableReordering.cpp}::force_table_reordering_st_contain_func(), anonymous_namespace{FromTableReordering.cpp}::force_table_reordering_st_intersects_func(), QueryPlanDagExtractor::handleLeftDeepJoinTree(), Analyzer::WindowFunction::hasAggregateTreeRequiredWindowFunc(), RelAlgExecutor::hasDeletedRowInQuery(), PlanState::hasExpressionNeedsLazyFetch(), HashingSchemeRecycler::hasItemInCache(), BoundingBoxIntersectJoinSupportedFunction::is_bbox_intersect_supported_func(), anonymous_namespace{DdlCommandExecutor.cpp}::is_default_server(), BoundingBoxIntersectJoinSupportedFunction::is_many_to_many_func(), BoundingBoxIntersectJoinSupportedFunction::is_point_poly_rewrite_target_func(), BoundingBoxIntersectJoinSupportedFunction::is_poly_mpoly_rewrite_target_func(), BoundingBoxIntersectJoinSupportedFunction::is_poly_point_rewrite_target_func(), BoundingBoxIntersectJoinSupportedFunction::is_range_join_rewrite_target_func(), anonymous_namespace{RelAlgExecutor.cpp}::is_window_execution_unit(), RegisteredQueryHint::isAnyQueryHintDelivered(), Analyzer::WindowFunction::isFrameNavigateWindowFunction(), Analyzer::WindowFunction::isFramingAvailableWindowFunc(), HashtableRecycler::isInvalidHashTableCacheKey(), Analyzer::WindowFunction::isMissingValueFillingFunction(), PerfectJoinHashTable::reify(), RelAlgTranslator::translateWindowFunction(), and anonymous_namespace{ExpressionRewrite.cpp}::update_input_to_nest_lv().
|
inline |
Definition at line 185 of file QueryMemoryDescriptor.cpp.
References CHECK, CHECK_EQ, g_bigint_count, get_bit_width(), get_compact_type(), get_target_info(), anonymous_namespace{TargetExprBuilder.cpp}::is_varlen_projection(), kAVG, kENCODING_NONE, and heavydb.dtypes::T.
Referenced by QueryMemoryDescriptor::init(), and QueryMemoryDescriptor::pick_target_compact_width().
bool anonymous_namespace{QueryMemoryDescriptor.cpp}::is_int_and_no_bigger_than | ( | const SQLTypeInfo & | ti, |
const size_t | byte_width | ||
) |
Definition at line 34 of file QueryMemoryDescriptor.cpp.
References get_bit_width(), and SQLTypeInfo::is_integer().
Referenced by QueryMemoryDescriptor::pick_target_compact_width().
bool anonymous_namespace{QueryMemoryDescriptor.cpp}::is_valid_int32_range | ( | const ExpressionRange & | range | ) |
Definition at line 41 of file QueryMemoryDescriptor.cpp.
References EMPTY_KEY_32, ExpressionRange::getIntMax(), and ExpressionRange::getIntMin().
Referenced by pick_baseline_key_component_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, Float, ExpressionRange::getType(), ExpressionRange::hasNulls(), Integer, Invalid, is_valid_int32_range(), 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().
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 45 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 | ) |
Definition at line 63 of file QueryMemoryDescriptor.cpp.
References 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 148 of file QueryMemoryDescriptor.cpp.
References SortInfo::algorithm, CHECK_GT, CHECK_LE, g_cluster, g_streaming_topn_max, SortInfo::limit, anonymous_namespace{Utm.h}::n, SortInfo::offset, SortInfo::order_entries, RelAlgExecutionUnit::sort_info, StreamingTopN, and RelAlgExecutionUnit::target_exprs.