libfaster API Documentation  Development Version
Super fast distributted computing
faster::fddCore< T > Class Template Reference

#include <fdd.h>

Inheritance diagram for faster::fddCore< T >:
faster::fddBase faster::fdd< T > faster::fdd< T * >

Description

template<typename T>
class faster::fddCore< T >

core class that implements simple operations.

Template Parameters
T- The type of the dataset entries

Definition at line 26 of file fdd.h.

Public Member Functions

void discard ()
 deallocates previusly cached fdd
 
void writeToFile (std::string &path, std::string &sufix)
 Writes FDD content to file. More...
 
void * getKeyMap ()
 (UNUSED)
 
void setKeyMap (void *keyMap UNUSED)
 (UNUSED)
 
bool isGroupedByKey ()
 (UNUSED)
 
void setGroupedByKey (bool gbk UNUSED)
 (UNUSED)
 
- Public Member Functions inherited from faster::fddBase
void setSize (size_t &s)
 
size_t getSize ()
 Returns the size of the dataset.
 
int getId ()
 Returns the identification number of the dataset.
 
const std::vector< size_t > & getAlloc ()
 Returns the allocation identification number of the dataset.
 
fddType tType ()
 
fddType kType ()
 
bool isCached ()
 Returns true if the dataset is cached.
 

Protected Member Functions

 fddCore (fastContext &c)
 
 fddCore (fastContext &c, size_t s, const std::vector< size_t > &dataAlloc)
 
fddBase_map (void *funcP, fddOpType op, fddBase *newFdd)
 
template<typename L , typename U >
indexedFdd< L, U > * mapI (void *funcP, fddOpType op)
 
template<typename U >
fdd< U > * map (void *funcP, fddOpType op)
 

Protected Attributes

fastContextcontext
 
- Protected Attributes inherited from faster::fddBase
fddType _kType
 
fddType _tType
 
unsigned long int id
 
unsigned long int totalBlocks
 
unsigned long int size
 
std::vector< size_t > dataAlloc
 
bool cached
 

Member Function Documentation

§ writeToFile()

template<typename T >
void faster::fddCore< T >::writeToFile ( std::string &  path,
std::string &  sufix 
)

Writes FDD content to file.

Every process will write its own file with a rank number between the prefix and the suffix.

Parameters
path- Prefix of the file path to be written
sufix- Sufix of the file path to be written

Definition at line 472 of file fdd.h.


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