A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::ShuffleSink< KeyType, ValueType > Class Template Reference

#include <ShuffleSink.h>

+ Inheritance diagram for pdb::ShuffleSink< KeyType, ValueType >:
+ Collaboration diagram for pdb::ShuffleSink< KeyType, ValueType >:

Public Member Functions

 ShuffleSink (int numPartitions, TupleSpec &inputSchema, TupleSpec &attsToOperateOn)
 
Handle< ObjectcreateNewOutputContainer () override
 
void writeOut (TupleSetPtr input, Handle< Object > &writeToMe) override
 
 ~ShuffleSink ()
 
- Public Member Functions inherited from pdb::ComputeSink
virtual ~ComputeSink ()
 

Private Attributes

int whichAttToHash
 
int whichAttToAggregate
 
int numPartitions
 

Detailed Description

template<class KeyType, class ValueType>
class pdb::ShuffleSink< KeyType, ValueType >

Definition at line 34 of file ShuffleSink.h.

Constructor & Destructor Documentation

template<class KeyType , class ValueType >
pdb::ShuffleSink< KeyType, ValueType >::ShuffleSink ( int  numPartitions,
TupleSpec inputSchema,
TupleSpec attsToOperateOn 
)
inline

Definition at line 43 of file ShuffleSink.h.

+ Here is the call graph for this function:

template<class KeyType , class ValueType >
pdb::ShuffleSink< KeyType, ValueType >::~ShuffleSink ( )
inline

Definition at line 160 of file ShuffleSink.h.

Member Function Documentation

template<class KeyType , class ValueType >
Handle<Object> pdb::ShuffleSink< KeyType, ValueType >::createNewOutputContainer ( )
inlineoverridevirtual

Implements pdb::ComputeSink.

Definition at line 56 of file ShuffleSink.h.

template<class KeyType , class ValueType >
void pdb::ShuffleSink< KeyType, ValueType >::writeOut ( TupleSetPtr  input,
Handle< Object > &  writeToMe 
)
inlineoverridevirtual

Implements pdb::ComputeSink.

Definition at line 69 of file ShuffleSink.h.

+ Here is the call graph for this function:

Member Data Documentation

template<class KeyType , class ValueType >
int pdb::ShuffleSink< KeyType, ValueType >::numPartitions
private

Definition at line 40 of file ShuffleSink.h.

template<class KeyType , class ValueType >
int pdb::ShuffleSink< KeyType, ValueType >::whichAttToAggregate
private

Definition at line 39 of file ShuffleSink.h.

template<class KeyType , class ValueType >
int pdb::ShuffleSink< KeyType, ValueType >::whichAttToHash
private

Definition at line 38 of file ShuffleSink.h.


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