The IAWJ operator under the simplest AQP strategy, and updates incrementally (IMA), only considers a single window and uses exponential weighted moving average for prediction. This one is EAGER join in fact.
More...
#include <Operator/IMAIAWJOperator.h>
|
|
void | conductComputation () |
| |
|
void | conductComputation () |
| |
|
void | updateStateOfKey (MeanStateOfKeyPtr sk, TrackTuplePtr tp) |
| |
|
void | lazyComputeOfAQP () |
| |
|
double | predictUnarrivedTuples (MeanStateOfKeyPtr px) |
| |
|
void | setFinalProcessedTime () |
| | set the final processed time for all tuples
|
| |
The IAWJ operator under the simplest AQP strategy, and updates incrementally (IMA), only considers a single window and uses exponential weighted moving average for prediction. This one is EAGER join in fact.
- Note
- require configurations:
- "windowLen" U64: The length of window
- "slideLen" U64: The length of slide
- "sLen" U64: The length of S buffer
- "rLen" U64: The length of R buffer
- "wmTag" String: The tag of watermarker, default is arrival for ArrivalWM
- Warning
- This implementation is putting rotten, just to explore a basic idea of AQP by using historical mean to predict future
-
The predictor and watermarker are currently NOT seperated in this operator, split them in the future!
- Note
- In current version, the computation will block feeding
-
follows the assumption of linear independent arrival and skewness
-
operator tag = "IMA"
◆ feedTupleR()
feed a tuple R into the Operator
- Parameters
-
- Warning
- The current version is simplified and assuming only used in SINGLE THREAD!
- Returns
- bool, whether tuple is fed.
Reimplemented from OoOJoin::MeanAQPIAWJOperator.
◆ feedTupleS()
feed a tuple s into the Operator
- Parameters
-
- Warning
- The current version is simplified and assuming only used in SINGLE THREAD!
- Returns
- bool, whether tuple is fed.
First get the index of hash table
Reimplemented from OoOJoin::MeanAQPIAWJOperator.
◆ getAQPResult()
| size_t OoOJoin::IMAIAWJOperator::getAQPResult |
( |
| ) |
|
|
virtual |
◆ getResult()
| size_t OoOJoin::IMAIAWJOperator::getResult |
( |
| ) |
|
|
virtual |
◆ setConfig()
Set the config map related to this operator.
- Todo:
- Where this operator is conducting join is still putting rotten, try to place it at feedTupleS/R
- Parameters
-
- Returns
- bool whether the config is successfully set
Reimplemented from OoOJoin::MeanAQPIAWJOperator.
◆ start()
| bool OoOJoin::IMAIAWJOperator::start |
( |
| ) |
|
|
virtual |
start this operator
- Returns
- bool, whether start successfully
set watermark generator
- Note
- :
set window
Reimplemented from OoOJoin::MeanAQPIAWJOperator.
◆ stop()
| bool OoOJoin::IMAIAWJOperator::stop |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: