OoOJoin  0.0.1
The next generation of out-of-order join operator
Collaboration diagram for The state of key group:

Classes

class  OoOJoin::AbstractStateOfKey
 The statistics and prediction state of a key. More...
 
class  OoOJoin::StateOfKeyBucket
 The multithread-supported bucket of StateOfKey. More...
 
class  OoOJoin::StateOfKeyHashTable
 The multithread-supported hash table, holding buckets of stateofkey. More...
 
typedef std::shared_ptr< class AbstractStateOfKeyOoOJoin::AbstractStateOfKeyPtr
 The class to describe a shared pointer to AbstractStateOfKey.
 
typedef std::shared_ptr< class StateOfKeyBucketOoOJoin::StateOfKeyBucketPtr
 The shared pointer to a StateOfKeyBucket.
 
typedef std::shared_ptr< StateOfKeyHashTableOoOJoin::StateOfKeyHashTablePtr
 The shared pointer to a StateOfKeyHashTable.
 
#define newStateOfKeyHashTable   std::make_shared<OoOJoin::StateOfKeyHashTable>
 to creat a shared pointer to StateOfKeyHashTable
 
#define ImproveStateOfKeyTo(n, ru)   std::static_pointer_cast<n>(ru)
 To improve the AbstractStateOfKeyPtr to its child classes' shared pointer. More...
 

Detailed Description

Macro Definition Documentation

◆ ImproveStateOfKeyTo

#define ImproveStateOfKeyTo (   n,
  ru 
)    std::static_pointer_cast<n>(ru)

To improve the AbstractStateOfKeyPtr to its child classes' shared pointer.

Parameters
nTHe name of child class, just itself, not shared pointer
ruThe shared pointer of AbstractStateOfKeyPtr to be improved