OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{HashJoinRuntime.cpp} Namespace Reference

Functions

int64_t map_str_id_to_outer_dict (const int64_t inner_elem, const int64_t min_inner_elem, const int64_t min_outer_elem, const int64_t max_outer_elem, const int32_t *inner_to_outer_translation_map)
 

Function Documentation

int64_t anonymous_namespace{HashJoinRuntime.cpp}::map_str_id_to_outer_dict ( const int64_t  inner_elem,
const int64_t  min_inner_elem,
const int64_t  min_outer_elem,
const int64_t  max_outer_elem,
const int32_t *  inner_to_outer_translation_map 
)
inline

Definition at line 55 of file HashJoinRuntime.cpp.

References StringDictionary::INVALID_STR_ID.

Referenced by count_matches_impl(), count_matches_sharded(), fill_hash_join_buff_impl(), fill_hash_join_buff_sharded_impl(), fill_row_ids_impl(), and fill_row_ids_sharded_impl().

59  {
60  const auto outer_id = inner_to_outer_translation_map[inner_elem - min_inner_elem];
61  if (outer_id > max_outer_elem || outer_id < min_outer_elem) {
63  }
64  return outer_id;
65 }
static constexpr int32_t INVALID_STR_ID

+ Here is the caller graph for this function: