Thrill
0.1
|
Emitter implementation to plug into a reduce hash table for collecting/flushing items while reducing. Items flushed in the post-phase are passed to the next DIA node for processing.
Definition at line 216 of file reduce_functional.hpp.
#include <reduce_functional.hpp>
Public Member Functions | |
ReducePostPhaseEmitter (const Emitter &emit) | |
void | Emit (const TableItem &p) |
void | Emit (const size_t &, const TableItem &p) |
Public Attributes | |
Emitter | emit_ |
Set of emitters, one per partition. More... | |
|
inlineexplicit |
Definition at line 219 of file reduce_functional.hpp.
|
inline |
output an element into a partition, template specialized for VolatileKey and non-VolatileKey types
Definition at line 224 of file reduce_functional.hpp.
Referenced by ReduceByHashPostPhase< TableItem, Key, ValueType, KeyExtractor, ReduceFunction, thrill::api::ReduceNode::Emitter, VolatileKey, ReduceConfig, thrill::core::ReduceByHash, KeyEqualFunction >::Flush(), ReduceByIndexPostPhase< TableItem, Key, ValueType, KeyExtractor, ReduceFunction, thrill::api::ReduceToIndexNode::Emitter, VolatileKey, ReduceConfig >::Flush(), ReduceByIndexPostPhase< TableItem, Key, ValueType, KeyExtractor, ReduceFunction, thrill::api::ReduceToIndexNode::Emitter, VolatileKey, ReduceConfig >::FlushAndConsume(), ReduceByIndexPostPhase< TableItem, Key, ValueType, KeyExtractor, ReduceFunction, thrill::api::ReduceToIndexNode::Emitter, VolatileKey, ReduceConfig >::PushData(), and ReduceByHashPostPhase< TableItem, Key, ValueType, KeyExtractor, ReduceFunction, thrill::api::ReduceNode::Emitter, VolatileKey, ReduceConfig, thrill::core::ReduceByHash, KeyEqualFunction >::PushData().
|
inline |
output an element into a partition, template specialized for VolatileKey and non-VolatileKey types
Definition at line 230 of file reduce_functional.hpp.
Emitter emit_ |
Set of emitters, one per partition.
Definition at line 236 of file reduce_functional.hpp.