The abstraction to describe a join operator, providing virtual function of using the operation. More...
#include <AbstractOperator.h>


Public Member Functions | |
| void | setWindow (size_t _wl, size_t _sli) |
| Set the window parameters of the whole operator. More... | |
| void | setBufferLen (size_t _sLen, size_t _rLen) |
| Set buffer length of S and R buffer. More... | |
| void | syncTimeStruct (struct timeval tv) |
| Synchronize the time structure with outside setting. More... | |
| virtual bool | setConfig (ConfigMapPtr cfg) |
| Set the config map related to this operator. More... | |
| virtual bool | feedTupleS (TrackTuplePtr ts) |
| feed a tuple s into the Operator More... | |
| virtual bool | feedTupleR (TrackTuplePtr tr) |
| feed a tuple R into the Operator More... | |
| virtual bool | start () |
| start this operator More... | |
| virtual bool | stop () |
| stop this operator More... | |
| virtual size_t | getResult () |
| get the joined sum result More... | |
| virtual size_t | getAQPResult () |
| get the joined sum result under AQP estimation More... | |
| virtual ConfigMapPtr | getTimeBreakDown () |
| get the break down information of processing time More... | |
Public Attributes | |
| ConfigMapPtr | config = nullptr |
Protected Member Functions | |
| void | setFinalProcessedTime () |
| set the final processed time for all tuples | |
Protected Attributes | |
| struct timeval | timeBaseStruct |
| size_t | windowLen = 0 |
| size_t | slideLen = 0 |
| size_t | sLen = 0 |
| size_t | rLen = 0 |
| int | threads = 0 |
| tsType | timeStep = 0 |
| tsType | timeBreakDown_all = 0 |
The abstraction to describe a join operator, providing virtual function of using the operation.
|
virtual |
feed a tuple R into the Operator
| tr | The tuple |
Reimplemented in OoOJoin::MeanAQPIAWJOperator, OoOJoin::IMAIAWJOperator, and OoOJoin::IAWJOperator.
|
virtual |
feed a tuple s into the Operator
| ts | The tuple |
Reimplemented in OoOJoin::MeanAQPIAWJOperator, OoOJoin::IMAIAWJOperator, and OoOJoin::IAWJOperator.
|
virtual |
get the joined sum result under AQP estimation
Reimplemented in OoOJoin::MeanAQPIAWJOperator, and OoOJoin::IMAIAWJOperator.
|
virtual |
get the joined sum result
Reimplemented in OoOJoin::MeanAQPIAWJOperator, OoOJoin::IMAIAWJOperator, and OoOJoin::IAWJOperator.
|
virtual |
get the break down information of processing time
Reimplemented in OoOJoin::MeanAQPIAWJOperator.
|
inline |
Set buffer length of S and R buffer.
| _sLen | the length of S buffer |
| _rLen | the length of R buffer |
|
virtual |
Set the config map related to this operator.
| cfg | The config map |
Reimplemented in OoOJoin::MeanAQPIAWJOperator, OoOJoin::IMAIAWJOperator, and OoOJoin::IAWJOperator.
|
inline |
Set the window parameters of the whole operator.
| _wl | window length |
| _sli | slide length |
|
virtual |
start this operator
Reimplemented in OoOJoin::MeanAQPIAWJOperator, OoOJoin::IMAIAWJOperator, and OoOJoin::IAWJOperator.
|
virtual |
stop this operator
Reimplemented in OoOJoin::MeanAQPIAWJOperator, OoOJoin::IMAIAWJOperator, and OoOJoin::IAWJOperator.
|
inline |
Synchronize the time structure with outside setting.
| tv | The outside time structure |