OmniSciDB  eee9fa949c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HashEntryInfo Struct Reference

#include <HashJoinRuntime.h>

Public Member Functions

size_t getNormalizedHashEntryCount () const
bool operator! () const

Public Attributes

size_t hash_entry_count
int64_t bucket_normalization

Detailed Description

Definition at line 36 of file HashJoinRuntime.h.

Member Function Documentation

size_t HashEntryInfo::getNormalizedHashEntryCount ( ) const

Definition at line 40 of file HashJoinRuntime.h.

References bucket_normalization, CHECK_GT, and hash_entry_count.

Referenced by fill_one_to_many_hash_table_bucketized(), fill_one_to_many_hash_table_on_device_bucketized(), JoinHashTable::getInstance(), JoinHashTable::initHashTableOnCpu(), JoinHashTable::initOneToManyHashTableOnCpu(), and operator!().

40  {
42  auto modulo_res = hash_entry_count % static_cast<size_t>(bucket_normalization);
43  auto entry_count = hash_entry_count / static_cast<size_t>(bucket_normalization);
44  if (modulo_res) {
45  return entry_count + 1;
46  }
47  return entry_count;
48  }
#define CHECK_GT(x, y)
Definition: Logger.h:209
int64_t bucket_normalization
size_t hash_entry_count

+ Here is the caller graph for this function:

bool HashEntryInfo::operator! ( ) const

Definition at line 50 of file HashJoinRuntime.h.

References getNormalizedHashEntryCount().

50 { return !(this->getNormalizedHashEntryCount()); }
size_t getNormalizedHashEntryCount() const

+ Here is the call graph for this function:

Member Data Documentation

The documentation for this struct was generated from the following file: