The intra window join (IAWJ) operator, only considers a single window.
More...
#include <Operator/IAWJOperator.h>
|
|
Window | myWindow |
| |
|
size_t | intermediateResult = 0 |
| |
|
string | algoTag = "NestedLoopJoin" |
| |
|
uint64_t | joinThreads = 1 |
| |
| atomic_bool | lockedByWaterMark = false |
| | if operator is locked by watermark, it will never accept new incoming More...
|
| |
|
AbstractWaterMarkerPtr | wmGen = nullptr |
| |
|
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 intra window join (IAWJ) operator, only considers a single window.
- 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
- "algo" String: The specific join algorithm (optional, default nested loop)
- "threads" U64: The threads to conduct intra window join (optional, default 1)
- "wmTag" String: The tag of watermarker, default is arrival for ArrivalWM
-
In current version, the computation will block feeding
-
operator tag = "IAWJ"
◆ 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::AbstractOperator.
◆ 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.
Reimplemented from OoOJoin::AbstractOperator.
◆ getResult()
| size_t OoOJoin::IAWJOperator::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::AbstractOperator.
◆ start()
| bool OoOJoin::IAWJOperator::start |
( |
| ) |
|
|
virtual |
start this operator
- Returns
- bool, whether start successfully
set watermark generator
- Note
- :
set window
Reimplemented from OoOJoin::AbstractOperator.
◆ stop()
| bool OoOJoin::IAWJOperator::stop |
( |
| ) |
|
|
virtual |
◆ lockedByWaterMark
| atomic_bool OoOJoin::IAWJOperator::lockedByWaterMark = false |
|
protected |
if operator is locked by watermark, it will never accept new incoming
- Todo:
- current implementation is putting rotten, fix later
The documentation for this class was generated from the following files: