Thrill
0.1
|
hash counter used by LocationDetection
Definition at line 76 of file inner_join.hpp.
Public Types | |
using | CounterType = uint8_t |
using | DIAIdxType = 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 and dia_mask from BitReader. More... | |
template<typename BitWriter > | |
void | WriteBits (BitWriter &writer) const |
Write count and dia_mask to BitWriter. More... | |
Public Attributes | |
CounterType | count |
DIAIdxType | dia_mask |
size_t | hash |
Static Public Attributes | |
static constexpr size_t | counter_bits_ = 8 * sizeof(CounterType) |
using CounterType = uint8_t |
Definition at line 80 of file inner_join.hpp.
using DIAIdxType = uint8_t |
Definition at line 81 of file inner_join.hpp.
using HashType = size_t |
Definition at line 79 of file inner_join.hpp.
|
inline |
method to check if this hash count should be broadcasted to all workers interested – for InnerJoin this check if the dia_mask == 3 -> hash was in both DIAs on some worker.
Definition at line 110 of file inner_join.hpp.
Definition at line 89 of file inner_join.hpp.
References thrill::common::AddTruncToType(), JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::count, JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::dia_mask, and JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::hash.
Definition at line 98 of file inner_join.hpp.
References thrill::common::AddTruncToType(), JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::count, JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::dia_mask, and JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::hash.
|
inline |
Definition at line 105 of file inner_join.hpp.
|
inline |
Read count and dia_mask from BitReader.
Definition at line 116 of file inner_join.hpp.
|
inline |
Write count and dia_mask to BitWriter.
Definition at line 123 of file inner_join.hpp.
CounterType count |
Definition at line 84 of file inner_join.hpp.
Referenced by JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::operator+(), and JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::operator+=().
|
static |
Definition at line 87 of file inner_join.hpp.
DIAIdxType dia_mask |
Definition at line 85 of file inner_join.hpp.
Referenced by JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::operator+(), and JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::operator+=().
size_t hash |
Definition at line 83 of file inner_join.hpp.
Referenced by JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::operator+(), JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::operator+=(), JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::HashCount::operator<(), JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::PreOp1(), and JoinNode< ValueType, FirstDIA, SecondDIA, KeyExtractor1, KeyExtractor2, JoinFunction, HashFunction, UseLocationDetection >::PreOp2().