AllianceDB  0.0.1
AllianceDB is an open-source suite, including benchmarks and libs for evaluating and improving stream operation algorithms on modern hardwares.
INTELLI::JoinAlgoTable Class Reference

The table contains all supported algos. More...

#include <JoinAlgo/JoinAlgoTable.h>

Collaboration diagram for INTELLI::JoinAlgoTable:

Public Member Functions

AbstractJoinAlgoPtr findAlgo (size_t idx)
 find a algorithm in the table according to its index More...
 
AbstractJoinAlgoPtr findAlgo (string name)
 find a algorithm in the table according to its index More...
 
size_t registerNewAlgo (AbstractJoinAlgoPtr anew)
 To register a new algorithm. More...
 

Protected Attributes

vector< AbstractJoinAlgoPtr > algos
 

Detailed Description

The table contains all supported algos.

Note
Please edit this class if new algorithm is added

Member Function Documentation

◆ findAlgo() [1/2]

AbstractJoinAlgoPtr INTELLI::JoinAlgoTable::findAlgo ( size_t  idx)
inline

find a algorithm in the table according to its index

Parameters
idxThe index of algorithm
Returns
The algorithm

◆ findAlgo() [2/2]

AbstractJoinAlgoPtr INTELLI::JoinAlgoTable::findAlgo ( string  name)
inline

find a algorithm in the table according to its index

Parameters
nameThe name of algorithm
Returns
The algorithm

◆ registerNewAlgo()

size_t INTELLI::JoinAlgoTable::registerNewAlgo ( AbstractJoinAlgoPtr  anew)
inline

To register a new algorithm.

Parameters
anewThe new algorithm
Returns
The index of new registered algorithm

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