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

The entity of operatorTable, can used for searching all available operators. More...

#include <Operator/OperatorTable.h>

Collaboration diagram for OoOJoin::OperatorTable:

Public Member Functions

 OperatorTable ()
 The constructing function. More...
 
void registerNewOperator (AbstractOperatorPtr onew, std::string tag)
 To register a new operator. More...
 
AbstractOperatorPtr findOperator (std::string name)
 find an operator in the table according to its name More...
 

Protected Attributes

std::map< std::string, AbstractOperatorPtroperatorMap
 

Detailed Description

The entity of operatorTable, can used for searching all available operators.

Note
default tags:

Constructor & Destructor Documentation

◆ OperatorTable()

OoOJoin::OperatorTable::OperatorTable ( )

The constructing function.

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

Member Function Documentation

◆ findOperator()

AbstractOperatorPtr OoOJoin::OperatorTable::findOperator ( std::string  name)
inline

find an operator in the table according to its name

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

◆ registerNewOperator()

void OoOJoin::OperatorTable::registerNewOperator ( AbstractOperatorPtr  onew,
std::string  tag 
)
inline

To register a new operator.

Parameters
onewThe new operator
tagTHe name tag

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