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::JoinMap< ValueType > Class Template Reference

#include <JoinMap.h>

+ Inheritance diagram for pdb::JoinMap< ValueType >:
+ Collaboration diagram for pdb::JoinMap< ValueType >:

Public Member Functions

ENABLE_DEEP_COPY JoinMap (uint32_t initSize, size_t partitionId, int numPartitions)
 
 JoinMap (uint32_t initSize)
 
 JoinMap ()
 
 ~JoinMap ()
 
JoinRecordList< ValueType > lookup (const size_t &which)
 
ValueType & push (const size_t &which)
 
void setUnused (const size_t &clearMe)
 
size_t size () const
 
int count (const size_t &which)
 
JoinMapIterator< ValueType > begin ()
 
JoinMapIterator< ValueType > end ()
 
size_t getPartitionId ()
 
void setPartitionId (size_t partitionId)
 
int getNumPartitions ()
 
void setNumPartitions (int numPartitions)
 
size_t getObjectSize ()
 
void setObjectSize ()
 
- Public Member Functions inherited from pdb::Object
void setVTablePtr (void *setToMe)
 
void * getVTablePtr ()
 
virtual void setUpAndCopyFrom (void *target, void *source) const
 
virtual void deleteObject (void *deleteMe)
 
virtual size_t getSize (void *ofMe)
 

Private Attributes

Handle< JoinPairArray
< ValueType > > 
myArray
 
size_t objectSize
 
size_t partitionId
 
int numPartitions
 

Additional Inherited Members

- Static Public Member Functions inherited from pdb::Object
static void * operator new (size_t sz, const std::nothrow_t &tag)
 
static void * operator new (size_t sz)
 
static void operator delete (void *me)
 
static void * operator new (std::size_t count, void *ptr)
 

Detailed Description

template<class ValueType>
class pdb::JoinMap< ValueType >

Definition at line 36 of file JoinMap.h.

Constructor & Destructor Documentation

template<class ValueType >
pdb::JoinMap< ValueType >::JoinMap ( uint32_t  initSize,
size_t  partitionId,
int  numPartitions 
)

Definition at line 28 of file JoinMap.cc.

+ Here is the call graph for this function:

template<class ValueType >
pdb::JoinMap< ValueType >::JoinMap ( uint32_t  initSize)

Definition at line 44 of file JoinMap.cc.

+ Here is the call graph for this function:

template<class ValueType >
pdb::JoinMap< ValueType >::JoinMap ( )

Definition at line 57 of file JoinMap.cc.

+ Here is the call graph for this function:

template<class ValueType >
pdb::JoinMap< ValueType >::~JoinMap ( )

Definition at line 65 of file JoinMap.cc.

Member Function Documentation

template<class ValueType >
JoinMapIterator< ValueType > pdb::JoinMap< ValueType >::begin ( )

Definition at line 97 of file JoinMap.cc.

+ Here is the caller graph for this function:

template<class ValueType >
int pdb::JoinMap< ValueType >::count ( const size_t &  which)

Definition at line 87 of file JoinMap.cc.

+ Here is the caller graph for this function:

template<class ValueType >
JoinMapIterator< ValueType > pdb::JoinMap< ValueType >::end ( )

Definition at line 103 of file JoinMap.cc.

+ Here is the caller graph for this function:

template<class ValueType >
int pdb::JoinMap< ValueType >::getNumPartitions ( )

Definition at line 119 of file JoinMap.cc.

template<class ValueType >
size_t pdb::JoinMap< ValueType >::getObjectSize ( )

Definition at line 130 of file JoinMap.cc.

template<class ValueType >
size_t pdb::JoinMap< ValueType >::getPartitionId ( )

Definition at line 109 of file JoinMap.cc.

template<class ValueType >
JoinRecordList< ValueType > pdb::JoinMap< ValueType >::lookup ( const size_t &  which)

Definition at line 82 of file JoinMap.cc.

+ Here is the caller graph for this function:

template<class ValueType >
ValueType & pdb::JoinMap< ValueType >::push ( const size_t &  which)

Definition at line 73 of file JoinMap.cc.

+ Here is the caller graph for this function:

template<class ValueType >
void pdb::JoinMap< ValueType >::setNumPartitions ( int  numPartitions)

Definition at line 124 of file JoinMap.cc.

template<class ValueType >
void pdb::JoinMap< ValueType >::setObjectSize ( )

Definition at line 135 of file JoinMap.cc.

+ Here is the call graph for this function:

template<class ValueType >
void pdb::JoinMap< ValueType >::setPartitionId ( size_t  partitionId)

Definition at line 114 of file JoinMap.cc.

template<class ValueType >
void pdb::JoinMap< ValueType >::setUnused ( const size_t &  clearMe)

Definition at line 68 of file JoinMap.cc.

+ Here is the caller graph for this function:

template<class ValueType >
size_t pdb::JoinMap< ValueType >::size ( ) const

Definition at line 92 of file JoinMap.cc.

Member Data Documentation

template<class ValueType>
Handle<JoinPairArray<ValueType> > pdb::JoinMap< ValueType >::myArray
private

Definition at line 40 of file JoinMap.h.

template<class ValueType>
int pdb::JoinMap< ValueType >::numPartitions
private

Definition at line 49 of file JoinMap.h.

template<class ValueType>
size_t pdb::JoinMap< ValueType >::objectSize
private

Definition at line 43 of file JoinMap.h.

template<class ValueType>
size_t pdb::JoinMap< ValueType >::partitionId
private

Definition at line 46 of file JoinMap.h.


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