6 #ifndef _JOINALGO_ABSTRACTJOINALGO_H_
7 #define _JOINALGO_ABSTRACTJOINALGO_H_
112 typedef std::shared_ptr<AbstractJoinAlgo> AbstractJoinAlgoPtr;
113 #define newAbstractJoinAlgo() make_shared<AbstractJoinAlgo>()
The abstraction to describe a join algorithm, providing virtual function of join.
Definition: AbstractJoinAlgo.h:28
virtual size_t join(TuplePtr *ts, TuplePtr *tr, size_t tsLen, size_t trLen, int threads=1)
The function to execute join, batch of both, legacy way.
Definition: AbstractJoinAlgo.h:61
void setAlgoName(string name)
set the name of algorithm
Definition: AbstractJoinAlgo.h:101
string getAlgoName()
get the name of algorithm
Definition: AbstractJoinAlgo.h:108
virtual size_t join(TuplePtrQueue ts, TuplePtr tr, int threads=1)
The function to execute join, batch of one, tuple of another.
Definition: AbstractJoinAlgo.h:91
virtual size_t join(TuplePtrQueue ts, TuplePtrQueue tr, int threads=1)
The function to execute join, batch of both.
Definition: AbstractJoinAlgo.h:45
virtual size_t join(TuplePtr *ts, TuplePtr tr, size_t tsLen, int threads=1)
The function to execute join, batch of one, tuple of another.
Definition: AbstractJoinAlgo.h:77
std::shared_ptr< class Tuple > TuplePtr
The class to describe a shared pointer to Tuple.
Definition: Types.h:150
std::shared_ptr< INTELLI::SPSCQueue< INTELLI::TuplePtr > > TuplePtrQueue
To describe a queue of TuplePtr under SPSCQueue.
Definition: Types.h:228
Definition: DatasetTool.h:10