Thrill  0.1
ReducePostPhaseEmitter< TableItem, Value, Emitter, VolatileKey > Class Template Reference

Detailed Description

template<typename TableItem, typename Value, typename Emitter, bool VolatileKey>
class thrill::core::ReducePostPhaseEmitter< TableItem, Value, Emitter, VolatileKey >

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.

+ Inheritance diagram for ReducePostPhaseEmitter< TableItem, Value, Emitter, VolatileKey >:

#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...
 

Constructor & Destructor Documentation

◆ ReducePostPhaseEmitter()

ReducePostPhaseEmitter ( const Emitter &  emit)
inlineexplicit

Definition at line 219 of file reduce_functional.hpp.

Member Function Documentation

◆ Emit() [1/2]

◆ Emit() [2/2]

void Emit ( const size_t &  ,
const TableItem &  p 
)
inline

output an element into a partition, template specialized for VolatileKey and non-VolatileKey types

Definition at line 230 of file reduce_functional.hpp.

Member Data Documentation

◆ emit_


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