The intra window join (MeanAQPIAWJ) operator under the simplest AQP strategy, only considers a single window and uses exponential weighted moving average for prediction. More...
#include <Operator/MeanAQPIAWJOperator.h>


Classes | |
| class | MeanStateOfKey |
Public Member Functions | |
| 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 More... | |
| virtual ConfigMapPtr | getTimeBreakDown () |
| get the break down information of processing time More... | |
Public Member Functions inherited from OoOJoin::AbstractOperator | |
| 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... | |
Protected Types | |
| typedef std::shared_ptr< MeanStateOfKey > | MeanStateOfKeyPtr |
Protected Member Functions | |
| void | conductComputation () |
| void | updateStateOfKey (MeanStateOfKeyPtr sk, TrackTuplePtr tp) |
| void | lazyComputeOfAQP () |
| double | predictUnarrivedTuples (MeanStateOfKeyPtr px) |
Protected Member Functions inherited from OoOJoin::AbstractOperator | |
| void | setFinalProcessedTime () |
| set the final processed time for all tuples | |
Protected Attributes | |
| Window | myWindow |
| size_t | intermediateResult = 0 |
| size_t | confirmedResult = 0 |
| uint64_t | windowBound = 0 |
| double | alphaArrivalSkew = 0.125 |
| double | betaArrivalSkew = 0.25 |
| double | aqpScale = 0.1 |
| atomic_bool | lockedByWaterMark = false |
| AbstractWaterMarkerPtr | wmGen = nullptr |
| StateOfKeyHashTablePtr | stateOfKeyTableR |
| StateOfKeyHashTablePtr | stateOfKeyTableS |
| tsType | lastTimeOfR = 0 |
| tsType | timeBreakDown_index |
| for time breakdown of searching index | |
| tsType | timeBreakDown_prediction |
| for time breakdown of prediction | |
| tsType | timeBreakDown_join |
| for time breakdown of join | |
Protected Attributes inherited from OoOJoin::AbstractOperator | |
| 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 |
Additional Inherited Members | |
Public Attributes inherited from OoOJoin::AbstractOperator | |
| ConfigMapPtr | config = nullptr |
The intra window join (MeanAQPIAWJ) operator under the simplest AQP strategy, only considers a single window and uses exponential weighted moving average for prediction.
|
virtual |
feed a tuple R into the Operator
| tr | The tuple |
Reimplemented from OoOJoin::AbstractOperator.
Reimplemented in OoOJoin::IMAIAWJOperator.
|
virtual |
feed a tuple s into the Operator
| ts | The tuple |
Reimplemented from OoOJoin::AbstractOperator.
Reimplemented in OoOJoin::IMAIAWJOperator.
|
virtual |
get the joined sum result under AQP
Reimplemented from OoOJoin::AbstractOperator.
Reimplemented in OoOJoin::IMAIAWJOperator.
|
virtual |
get the joined sum result
Reimplemented from OoOJoin::AbstractOperator.
Reimplemented in OoOJoin::IMAIAWJOperator.
|
virtual |
get the break down information of processing time
Reimplemented from OoOJoin::AbstractOperator.
|
virtual |
Set the config map related to this operator.
| cfg | The config map |
Reimplemented from OoOJoin::AbstractOperator.
Reimplemented in OoOJoin::IMAIAWJOperator.
|
virtual |
start this operator
set watermark generator
set window
Reimplemented from OoOJoin::AbstractOperator.
Reimplemented in OoOJoin::IMAIAWJOperator.
|
virtual |
stop this operator
Reimplemented from OoOJoin::AbstractOperator.
Reimplemented in OoOJoin::IMAIAWJOperator.