OoOJoin  0.0.1
The next generation of out-of-order join operator
NestedLoopJoin.h
Go to the documentation of this file.
1 
2 //
3 // Created by tony on 19/03/22.
4 //
5 
6 #ifndef _JOINALGO_NESTEDLOOPJOIN_H_
7 #define _JOINALGO_NESTEDLOOPJOIN_H_
9 namespace OoOJoin {
26  public:
27  NestedLoopJoin() {
28  setAlgoName("NestedLoopJoin");
29  }
30  ~NestedLoopJoin() {}
39  virtual size_t join(C20Buffer<OoOJoin::TrackTuplePtr> windS, OoOJoin::TrackTuplePtr tr, int threads = 1);
48  virtual size_t join(C20Buffer<OoOJoin::TrackTuplePtr> windS,
50  int threads = 1);
51 };
57 typedef std::shared_ptr<NestedLoopJoin> NestedLoopJoinPtr;
63 #define newNestedLoopJoin std::make_shared<NestedLoopJoin>
64 }
65 #endif //ALIANCEDB_INCLUDE_JOINALGO_NESTEDLOOPJOIN_H_
The abstraction to describe a join algorithm, providing virtual function of join.
Definition: AbstractJoinAlgo.h:36
void setAlgoName(std::string name)
set the name of algorithm
Definition: AbstractJoinAlgo.h:68
The top class package of Nested Loop Join providing a "join function".
Definition: NestedLoopJoin.h:25
virtual size_t join(C20Buffer< OoOJoin::TrackTuplePtr > windS, OoOJoin::TrackTuplePtr tr, int threads=1)
The function to execute join, window to tuple.
Definition: NestedLoopJoin.cpp:9
std::shared_ptr< NestedLoopJoin > NestedLoopJoinPtr
The class to describe a shared pointer to NestedLoopJoin.
Definition: NestedLoopJoin.h:57
std::shared_ptr< class TrackTuple > TrackTuplePtr
The class to describe a shared pointer to TrackTuple.
Definition: Tuples.h:171
Definition: OperatorTable.cpp:7