libfaster API Documentation  Development Version
Super fast distributted computing
faster::fdd< T * > Class Template Reference
Inheritance diagram for faster::fdd< T * >:
faster::fddCore< T > faster::fddBase

Description

template<class T>
class faster::fdd< T * >

Definition at line 280 of file fdd.h.

Public Member Functions

 fdd (fastContext &c)
 
 fdd (fastContext &c, size_t s, const std::vector< size_t > &dataAlloc)
 
 fdd (fastContext &c, size_t s)
 
 fdd (fastContext &c, T *data[], size_t dataSizes[], size_t size)
 
template<typename U >
fdd< U > * map (mapPFunctionP< T, U > funcP)
 
template<typename U >
fdd< U > * map (PmapPFunctionP< T, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * map (ImapPFunctionP< T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * map (IPmapPFunctionP< T, L, U > funcP)
 
template<typename U >
fdd< U > * bulkMap (bulkMapPFunctionP< T, U > funcP)
 
template<typename U >
fdd< U > * bulkMap (PbulkMapPFunctionP< T, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * bulkMap (IbulkMapPFunctionP< T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * bulkMap (IPbulkMapPFunctionP< T, L, U > funcP)
 
template<typename U >
fdd< U > * flatMap (flatMapPFunctionP< T, U > funcP)
 
template<typename U >
fdd< U > * flatMap (PflatMapPFunctionP< T, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * flatMap (IflatMapPFunctionP< T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * flatMap (IPflatMapPFunctionP< T, L, U > funcP)
 
template<typename U >
fdd< U > * bulkFlatMap (bulkFlatMapPFunctionP< T, U > funcP)
 
template<typename U >
fdd< U > * bulkFlatMap (PbulkFlatMapPFunctionP< T, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * bulkFlatMap (IbulkFlatMapPFunctionP< T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * bulkFlatMap (IPbulkFlatMapPFunctionP< T, L, U > funcP)
 
std::vector< T > reduce (PreducePFunctionP< T > funcP)
 
std::vector< T > bulkReduce (PbulkReducePFunctionP< T > funcP)
 
std::vector< std::pair< T *, size_t > > collect ()
 
fdd< T * > * cache ()
 
- Public Member Functions inherited from faster::fddCore< T >
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.
 

Additional Inherited Members

- Protected Member Functions inherited from faster::fddCore< T >
 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 inherited from faster::fddCore< T >
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
 

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