Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount Class Reference

Detailed Description

template<typename ValueType, typename KeyExtractor, typename GroupFunction, typename HashFunction, bool UseLocationDetection>
class thrill::api::GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount

Definition at line 70 of file group_by_key.hpp.

Public Types

using CounterType = uint8_t
 
using HashType = size_t
 

Public Member Functions

bool NeedBroadcast () const
 
HashCount operator+ (const HashCount &b) const
 
HashCountoperator+= (const HashCount &b)
 
bool operator< (const HashCount &b) const
 
template<typename BitReader >
void ReadBits (BitReader &reader)
 Read count from BitReader. More...
 
template<typename BitWriter >
void WriteBits (BitWriter &writer) const
 Write count and dia_mask to BitWriter. More...
 

Public Attributes

CounterType count
 
size_t hash
 

Static Public Attributes

static constexpr size_t counter_bits_ = 8 * sizeof(CounterType)
 

Member Typedef Documentation

using CounterType = uint8_t

Definition at line 74 of file group_by_key.hpp.

using HashType = size_t

Definition at line 73 of file group_by_key.hpp.

Member Function Documentation

bool NeedBroadcast ( ) const
inline

method to check if this hash count should be broadcasted to all workers interested – for GroupByKey -> always.

Definition at line 96 of file group_by_key.hpp.

Member Data Documentation


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