OoOJoin  0.0.1
The next generation of out-of-order join operator
OoOJoin::DataLoaderTable Class Reference

The entity of DataLoaderTable, can used for searching all available DataLoaders. More...

#include <TestBench/DataLoaderTable.h>

Collaboration diagram for OoOJoin::DataLoaderTable:

Public Member Functions

 DataLoaderTable ()
 The constructing function. More...
 
void registerNewDataLoader (AbstractDataLoaderPtr dnew, std::string tag)
 To register a new loader. More...
 
AbstractDataLoaderPtr findDataLoader (std::string name)
 find a dataloader in the table according to its name More...
 

Protected Attributes

std::map< std::string, AbstractDataLoaderPtrloaderMap
 

Detailed Description

The entity of DataLoaderTable, can used for searching all available DataLoaders.

Note
please edit corresponding .cpp if adding a new data loader
Default tags

Constructor & Destructor Documentation

◆ DataLoaderTable()

OoOJoin::DataLoaderTable::DataLoaderTable ( )

The constructing function.

Note
If new DataLoader is added, please change this file and its .cpp

Member Function Documentation

◆ findDataLoader()

AbstractDataLoaderPtr OoOJoin::DataLoaderTable::findDataLoader ( std::string  name)
inline

find a dataloader in the table according to its name

Parameters
nameThe name of operator
Returns
The DataLoader, nullptr if not found

◆ registerNewDataLoader()

void OoOJoin::DataLoaderTable::registerNewDataLoader ( AbstractDataLoaderPtr  dnew,
std::string  tag 
)
inline

To register a new loader.

Parameters
onewThe new operator
tagTHe name tag

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