|
Thrill
0.1
|
Definition at line 72 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 |
| HashCount & | operator+= (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) |
| using CounterType = uint8_t |
Definition at line 76 of file group_by_key.hpp.
| using HashType = size_t |
Definition at line 75 of file group_by_key.hpp.
|
inline |
method to check if this hash count should be broadcasted to all workers interested – for GroupByKey -> always.
Definition at line 98 of file group_by_key.hpp.
Definition at line 83 of file group_by_key.hpp.
References thrill::common::AddTruncToType(), GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount::count, and GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount::hash.
Definition at line 88 of file group_by_key.hpp.
References thrill::common::AddTruncToType(), GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount::count, and GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount::hash.
|
inline |
Definition at line 94 of file group_by_key.hpp.
References GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount::hash.
|
inline |
Read count from BitReader.
Definition at line 104 of file group_by_key.hpp.
|
inline |
Write count and dia_mask to BitWriter.
Definition at line 110 of file group_by_key.hpp.
| CounterType count |
|
static |
Definition at line 81 of file group_by_key.hpp.
| size_t hash |
Definition at line 78 of file group_by_key.hpp.
Referenced by GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount::operator+(), GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount::operator+=(), and GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::HashCount::operator<().