The dataloader which produces random key, random value and random skewness. More...
#include <TestBench/RandomDataLoader.h>


Public Member Functions | |
| virtual bool | setConfig (ConfigMapPtr cfg) |
| Set the GLOBAL config map related to this loader. More... | |
| virtual bool | setModConfig (ConfigMapPtr cfg) |
| Set the modification config map related to this loader. More... | |
| virtual vector< TrackTuplePtr > | getTupleVectorS () |
| get the vector of s tuple More... | |
| virtual vector< TrackTuplePtr > | getTupleVectorR () |
| get the vector of R tuple More... | |
Public Attributes | |
| ConfigMapPtr | cfgGlobal |
| vector< TrackTuplePtr > | sTuple |
| vector< TrackTuplePtr > | rTuple |
Protected Member Functions | |
| vector< tsType > | genArrivalTime (vector< tsType > eventTime, vector< tsType > arrivalSkew) |
| void | bubble_sort (vector< OoOJoin::TrackTuplePtr > &arr) |
| vector< OoOJoin::TrackTuplePtr > | genTuples (vector< keyType > keyS, vector< tsType > eventS, vector< tsType > arrivalS) |
| vector< TrackTuplePtr > | genTuplesSmooth (size_t testSize, uint64_t keyRange, uint64_t rateKtps, uint64_t groupUnit, uint64_t maxSkewUs, uint64_t seed=999) |
Protected Attributes | |
| tsType | windowLenMs |
| tsType | timeStepUs |
| tsType | watermarkTimeMs |
| tsType | maxArrivalSkewMs |
| tsType | eventRateKTps |
The dataloader which produces random key, random value and random skewness.
|
virtual |
|
virtual |
|
virtual |
Set the GLOBAL config map related to this loader.
| cfg | The config map |
Reimplemented from OoOJoin::AbstractDataLoader.
|
inlinevirtual |
Set the modification config map related to this loader.
| cfg | The config map |
Reimplemented from OoOJoin::AbstractDataLoader.