watermark generates at time t, and every thing arrives later then t will be discard, i.e., flush finial result at t
More...
#include <WaterMarker/ArrivalWM.h>
watermark generates at time t, and every thing arrives later then t will be discard, i.e., flush finial result at t
- Todo:
- multi window support is not done yet, left for future, but we do preserve the interfaces
- Note
- This one assert completeness by arrival time. Require configurations:
- "errorBound" Double The assigned error bound
- "timeStep" U64 The simulation time step in us
- "watermarkTimeMs" U64 The time to generate a finial watermark in ms, indicating all data is ready
◆ creatWindow()
creat a window
- Parameters
-
| tBegin | The begin event time of the window |
| tEnd | The end event time of the window |
- Returns
- the id of created window
Reimplemented from OoOJoin::AbstractWaterMarker.
◆ reportTupleR()
Report a tuple R into the watermark generator.
- Parameters
-
| tr | The tuple |
| wid | The id of window |
- Returns
- bool, bool, whether generate watermark after receiving this Tuple
Reimplemented from OoOJoin::AbstractWaterMarker.
◆ reportTupleS()
report a tuple s into the watermark generator
- Parameters
-
| ts | The tuple |
| wid | The id of window |
- Returns
- bool, whether generate watermark after receiving this Tuple
Reimplemented from OoOJoin::AbstractWaterMarker.
◆ setConfig()
Set the config map related to this operator.
- Parameters
-
- Returns
- bool whether the config is successfully set
Reimplemented from OoOJoin::AbstractWaterMarker.
◆ windowLen
| tsType OoOJoin::ArrivalWM::windowLen = 0 |
|
protected |
- Note
- currently only support single window
The documentation for this class was generated from the following files:
- include/WaterMarker/ArrivalWM.h
- src/WaterMarker/ArrivalWM.cpp