An abstraction of eager window slider (i.e., the CellJoin), also inherited by other eager window slider.
More...
#include <WindowSlider/AbstractEagerWS.h>
|
|
TuplePtrQueue | TuplePtrQueueLocalS |
| |
|
TuplePtrQueue | TuplePtrQueueLocalR |
| |
|
INTELLI::join_type_t | myType = INTELLI::CNT_BASED |
| |
|
size_t | countS |
| |
|
size_t | countR |
| |
|
size_t | windowLen = 0 |
| |
|
size_t | slideLen = 1 |
| |
|
std::vector< size_t > | partitionWeight |
| |
|
std::vector< size_t > | partitionSizeFinal |
| |
|
size_t | threads |
| |
|
size_t | sLen |
| |
|
size_t | rLen |
| |
|
bool | runTimeScheduling = false |
| |
|
bool | timeBased = false |
| |
|
bool | isRunning = false |
| |
| struct timeval | timeSys |
| |
|
TuplePtrQueue | TuplePtrQueueInS |
| |
|
TuplePtrQueue | TuplePtrQueueInR |
| |
|
string | nameTag |
| |
|
std::shared_ptr< std::thread > | threadPtr |
| |
An abstraction of eager window slider (i.e., the CellJoin), also inherited by other eager window slider.
- Author
- Tony Zeng
- Note
- detailed description: To init and run, follow the functions below to start a WS
◆ AbstractEagerWS()
| INTELLI::AbstractEagerWS::AbstractEagerWS |
( |
size_t |
sLen, |
|
|
size_t |
rLen |
|
) |
| |
to init the slider with specific length of queue
- Parameters
-
| sLen | the length of S queue |
| rLen | the length of R queue |
◆ deliverTupleR()
| void INTELLI::AbstractEagerWS::deliverTupleR |
( |
TuplePtr |
tr | ) |
|
|
protected |
deliver tuple r to join processors
- Parameters
-
◆ deliverTupleS()
| void INTELLI::AbstractEagerWS::deliverTupleS |
( |
TuplePtr |
ts | ) |
|
|
protected |
deliver tuple s to join processors
- Parameters
-
◆ getJoinResult()
| size_t INTELLI::AbstractEagerWS::getJoinResult |
( |
| ) |
|
|
virtual |
◆ initJoinProcessors()
| void INTELLI::AbstractEagerWS::initJoinProcessors |
( |
| ) |
|
|
virtual |
to init the initJoinProcessors
- Note
- only after this is called can we start to feed tuples
Reimplemented from INTELLI::AbstractWS.
◆ inlineMain()
| virtual void INTELLI::AbstractEagerWS::inlineMain |
( |
| ) |
|
|
protectedvirtual |
The inline 'main" function of thread, as an interface.
- Note
- Normally re-write this in derived classes
Reimplemented from INTELLI::AbstractC20Thread.
The documentation for this class was generated from the following file: