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

The top class package of Nested Loop Join providing a "join function". More...

#include <JoinAlgos/NestedLoopJoin.h>

Inheritance diagram for OoOJoin::NestedLoopJoin:
Collaboration diagram for OoOJoin::NestedLoopJoin:

Public Member Functions

virtual size_t join (C20Buffer< OoOJoin::TrackTuplePtr > windS, OoOJoin::TrackTuplePtr tr, int threads=1)
 The function to execute join, window to tuple. More...
 
virtual size_t join (C20Buffer< OoOJoin::TrackTuplePtr > windS, C20Buffer< OoOJoin::TrackTuplePtr > windR, int threads=1)
 The function to execute join,. More...
 
- Public Member Functions inherited from OoOJoin::AbstractJoinAlgo
virtual bool setConfig (ConfigMapPtr cfg)
 Set the config map related to this Algorithm. More...
 
void setAlgoName (std::string name)
 set the name of algorithm More...
 
std::string getAlgoName ()
 get the name of algorithm More...
 
void syncTimeStruct (struct timeval tv)
 Synchronize the time structure with outside setting. More...
 

Additional Inherited Members

- Public Attributes inherited from OoOJoin::AbstractJoinAlgo
ConfigMapPtr config
 
- Protected Attributes inherited from OoOJoin::AbstractJoinAlgo
std::string nameTag
 
struct timeval timeBaseStruct
 

Detailed Description

The top class package of Nested Loop Join providing a "join function".

Note
Just single thread, the threads parameter is useless

Member Function Documentation

◆ join() [1/2]

size_t NestedLoopJoin::join ( C20Buffer< OoOJoin::TrackTuplePtr windS,
C20Buffer< OoOJoin::TrackTuplePtr windR,
int  threads = 1 
)
virtual

The function to execute join,.

Parameters
windSThe window of S tuples
windRThe window of R tuples
threadsThe threads for executing this join
Note
The threads parameter will be ignored
Returns
The joined tuples

Reimplemented from OoOJoin::AbstractJoinAlgo.

◆ join() [2/2]

size_t NestedLoopJoin::join ( C20Buffer< OoOJoin::TrackTuplePtr windS,
OoOJoin::TrackTuplePtr  tr,
int  threads = 1 
)
virtual

The function to execute join, window to tuple.

Parameters
windSThe window of S tuples
trThe tuple r
threadsThe threads for executing this join
Note
The threads parameter will be ignored
Returns
The joined tuples

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