OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PerfectHashTableEntryInfo Class Reference

#include <PerfectHashTable.h>

+ Inheritance diagram for PerfectHashTableEntryInfo:
+ Collaboration diagram for PerfectHashTableEntryInfo:

Public Member Functions

 PerfectHashTableEntryInfo (size_t num_hash_entries, size_t num_keys, size_t rowid_size_in_bytes, HashType layout, bool for_window_framing=false)
 
size_t computeTotalNumSlots () const override
 
size_t computeHashTableSize () const override
 

Additional Inherited Members

Detailed Description

Definition at line 26 of file PerfectHashTable.h.

Constructor & Destructor Documentation

PerfectHashTableEntryInfo::PerfectHashTableEntryInfo ( size_t  num_hash_entries,
size_t  num_keys,
size_t  rowid_size_in_bytes,
HashType  layout,
bool  for_window_framing = false 
)
inline

Definition at line 28 of file PerfectHashTable.h.

33  : HashTableEntryInfo(num_hash_entries,
34  num_keys,
35  rowid_size_in_bytes,
36  layout,
37  for_window_framing) {}
HashTableEntryInfo(size_t num_hash_entries, size_t num_keys, size_t rowid_size_in_bytes, HashType layout, bool for_window_framing=false)
Definition: HashTable.h:36

Member Function Documentation

size_t PerfectHashTableEntryInfo::computeHashTableSize ( ) const
inlineoverridevirtual

Implements HashTableEntryInfo.

Definition at line 45 of file PerfectHashTable.h.

References computeTotalNumSlots(), and HashTableEntryInfo::rowid_size_in_bytes_.

Referenced by PerfectHashTable::getHashTableBufferSize(), and PerfectHashTable::printInitLog().

45  {
47  }
size_t computeTotalNumSlots() const override
size_t rowid_size_in_bytes_
Definition: HashTable.h:67

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t PerfectHashTableEntryInfo::computeTotalNumSlots ( ) const
inlineoverridevirtual

Implements HashTableEntryInfo.

Definition at line 39 of file PerfectHashTable.h.

References HashTableEntryInfo::for_window_framing_, HashTableEntryInfo::layout_, HashTableEntryInfo::num_hash_entries_, HashTableEntryInfo::num_keys_, and OneToOne.

Referenced by computeHashTableSize(), and PerfectHashTable::PerfectHashTable().

39  {
40  return layout_ == HashType::OneToOne
43  }
size_t num_hash_entries_
Definition: HashTable.h:65
size_t num_keys_
Definition: HashTable.h:66
bool for_window_framing_
Definition: HashTable.h:69
HashType layout_
Definition: HashTable.h:68

+ Here is the caller graph for this function:


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