Public Member Functions | Protected Attributes

MaPI_Mapper< KeyA, A, KeyB, B, C > Class Template Reference

MaPI_Mapper. More...

#include <mapper.hpp>

Inheritance diagram for MaPI_Mapper< KeyA, A, KeyB, B, C >:
Mapper< KeyA, A, KeyB, B, C >

List of all members.

Public Member Functions

 MaPI_Mapper (MaPI_MapReduce< KeyA, A, KeyB, B, C > *_mapReduce, MaPI_Serializer< KeyA, A, KeyB, B, C > *_serializer)
 Constructor.
virtual vector< pair< KeyB, B > > run (vector< pair< KeyA, A > > &as)
 Iterator mapping execution (implemented by library).
virtual vector< pair< KeyB, B > > map (pair< KeyA, A >)=0
 Map function (implemented by user).
MaPI_Serializer< KeyA, A, KeyB,
B, C > * 
getSerializer ()
void setSerializer (MaPI_Serializer< KeyA, A, KeyB, B, C > *_serializer)

Protected Attributes

MaPI_MapReduce< KeyA, A, KeyB,
B, C > * 
mapReduce
MaPI_Serializer< KeyA, A, KeyB,
B, C > * 
serializer

Detailed Description

template<class KeyA, class A, class KeyB, class B, class C>
class MaPI_Mapper< KeyA, A, KeyB, B, C >

MaPI_Mapper.


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