Faster  0.0.4Alpha
Superfastdistributtedcomputing
Public Member Functions | List of all members
faster::indexedFdd< K, T > Class Template Reference
Inheritance diagram for faster::indexedFdd< K, T >:
faster::iFddCore< K, T > faster::fddBase

Public Member Functions

 indexedFdd (fastContext &c)
 
 indexedFdd (fastContext &c, size_t s, const std::vector< size_t > &dataAlloc)
 
 indexedFdd (fastContext &c, size_t s)
 
 indexedFdd (fastContext &c, K *keys, T *data, size_t size)
 
template<typename L , typename U >
indexedFdd< L, U > * map (ImapIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * map (IPmapIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
fdd< U > * map (mapIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
fdd< U > * map (PmapIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * mapByKey (ImapByKeyIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * mapByKey (IPmapByKeyIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
fdd< U > * mapByKey (mapByKeyIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
fdd< U > * mapByKey (PmapByKeyIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * bulkMap (IbulkMapIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * bulkMap (IPbulkMapIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
fdd< U > * bulkMap (bulkMapIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
fdd< U > * bulkMap (PbulkMapIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * flatMap (IflatMapIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * flatMap (IPflatMapIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
fdd< U > * flatMap (flatMapIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
fdd< U > * flatMap (PflatMapIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * bulkFlatMap (IbulkFlatMapIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
indexedFdd< L, U > * bulkFlatMap (IPbulkFlatMapIFunctionP< K, T, L, U > funcP)
 
template<typename L , typename U >
fdd< U > * bulkFlatMap (bulkFlatMapIFunctionP< K, T, U > funcP)
 
template<typename L , typename U >
fdd< U > * bulkFlatMap (PbulkFlatMapIFunctionP< K, T, U > funcP)
 
std::pair< K, T > reduce (IreduceIFunctionP< K, T > funcP)
 
std::pair< K, T > bulkReduce (IbulkReduceIFunctionP< K, T > funcP)
 
std::vector< std::pair< K, T > > collect ()
 
indexedFdd< K, T > * cache ()
 
- Public Member Functions inherited from faster::iFddCore< K, T >
template<typename U >
groupedFdd< K > * cogroup (iFddCore< K, U > *fdd1)
 
template<typename U , typename V >
groupedFdd< K > * cogroup (iFddCore< K, U > *fdd1, iFddCore< K, V > *fdd2)
 
std::unordered_map< K, size_t > countByKey ()
 
indexedFdd< K, T > * groupByKey ()
 
void discard ()
 
void * getKeyMap (void)
 
void setKeyMap (void *keyMap)
 
bool isGroupedByKey ()
 
void setGroupedByKey (bool gbk)
 
- Public Member Functions inherited from faster::fddBase
void setSize (size_t &s)
 
size_t getSize ()
 
int getId ()
 
const std::vector< size_t > & getAlloc ()
 
fddType tType ()
 
fddType kType ()
 
bool isCached ()
 

Additional Inherited Members

- Protected Member Functions inherited from faster::iFddCore< K, T >
 iFddCore (fastContext &c)
 
 iFddCore (fastContext &c, size_t s, const std::vector< size_t > &dataAlloc)
 
std::shared_ptr< std::unordered_map< K, int > > calculateKeyMap (std::unordered_map< K, std::tuple< size_t, int, size_t >> count)
 
fddBase_map (void *funcP, fddOpType op, fddBase *newFdd, system_clock::time_point &start)
 
template<typename U >
fdd< U > * map (void *funcP, fddOpType op)
 
template<typename L , typename U >
indexedFdd< L, U > * mapI (void *funcP, fddOpType op)
 
- Protected Attributes inherited from faster::iFddCore< K, T >
bool groupedByKey
 
std::shared_ptr< std::unordered_map< K, int > > keyMap
 
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 files: