
Classes | |
| class | OoOJoin::AbstractDataLoader |
| The abstract class of dataloader. More... | |
| class | OoOJoin::FileDataLoader |
| The dataloader which loads data from external csv file. More... | |
| class | OoOJoin::ZipfDataLoader |
| The dataloader which allows zipf distribution of key, value, event time and arrival skewness. More... | |
| class | OoOJoin::RandomDataLoader |
| The dataloader which produces random key, random value and random skewness. More... | |
Functions | |
| virtual bool | OoOJoin::AbstractDataLoader::setConfig (ConfigMapPtr cfg) |
| Set the GLOBAL config map related to this loader. More... | |
| virtual bool | OoOJoin::AbstractDataLoader::setModConfig (ConfigMapPtr cfg) |
| Set the modification config map related to this loader. More... | |
| virtual vector< TrackTuplePtr > | OoOJoin::AbstractDataLoader::getTupleVectorS () |
| get the vector of s tuple More... | |
| virtual vector< TrackTuplePtr > | OoOJoin::AbstractDataLoader::getTupleVectorR () |
| get the vector of R tuple More... | |
| void | OoOJoin::FileDataLoader::spilt (const std::string s, const std::string &c, vector< std::string > &v) |
| std::vector< TrackTuplePtr > | OoOJoin::FileDataLoader::loadDataFromCsv (std::string fname, std::string separator=",", std::string newLine="\n") |
| load a dataset from csv file More... | |
| virtual bool | OoOJoin::FileDataLoader::setConfig (ConfigMapPtr cfg) |
| Set the GLOBAL config map related to this loader. More... | |
| virtual bool | OoOJoin::FileDataLoader::setModConfig (ConfigMapPtr cfg) |
| Set the modification config map related to this loader. More... | |
| virtual vector< TrackTuplePtr > | OoOJoin::FileDataLoader::getTupleVectorS () |
| get the vector of s tuple More... | |
| virtual vector< TrackTuplePtr > | OoOJoin::FileDataLoader::getTupleVectorR () |
| get the vector of R tuple More... | |
| vector< tsType > | OoOJoin::ZipfDataLoader::genArrivalTime (vector< tsType > eventTime, vector< tsType > arrivalSkew) |
| vector< OoOJoin::TrackTuplePtr > | OoOJoin::ZipfDataLoader::genTuples (vector< keyType > keyS, vector< valueType > valueS, vector< tsType > eventS, vector< tsType > arrivalS) |
| void | OoOJoin::ZipfDataLoader::genKey () |
| generate the vector of key More... | |
| void | OoOJoin::ZipfDataLoader::genValue () |
| enerate the vector of key More... | |
| void | OoOJoin::ZipfDataLoader::genEvent () |
| generate the vector of event More... | |
| void | OoOJoin::ZipfDataLoader::genArrival () |
| generate the vector of arrival More... | |
| void | OoOJoin::ZipfDataLoader::genFinal () |
| generate the final result of s and r | |
| virtual bool | OoOJoin::ZipfDataLoader::setConfig (ConfigMapPtr cfg) |
| Set the GLOBAL config map related to this loader. More... | |
| virtual bool | OoOJoin::ZipfDataLoader::setModConfig (ConfigMapPtr cfg) |
| Set the modification config map related to this loader. More... | |
| virtual vector< TrackTuplePtr > | OoOJoin::ZipfDataLoader::getTupleVectorS () |
| get the vector of s tuple More... | |
| virtual vector< TrackTuplePtr > | OoOJoin::ZipfDataLoader::getTupleVectorR () |
| get the vector of R tuple More... | |
Variables | |
| ConfigMapPtr | OoOJoin::FileDataLoader::cfgGlobal |
| vector< TrackTuplePtr > | OoOJoin::FileDataLoader::sTuple |
| vector< TrackTuplePtr > | OoOJoin::FileDataLoader::rTuple |
| tsType | OoOJoin::ZipfDataLoader::windowLenMs |
| tsType | OoOJoin::ZipfDataLoader::timeStepUs |
| tsType | OoOJoin::ZipfDataLoader::watermarkTimeMs |
| tsType | OoOJoin::ZipfDataLoader::maxArrivalSkewMs |
| tsType | OoOJoin::ZipfDataLoader::eventRateKTps |
| uint64_t | OoOJoin::ZipfDataLoader::zipfDataLoader_zipfKey |
| uint64_t | OoOJoin::ZipfDataLoader::zipfDataLoader_zipfValue |
| uint64_t | OoOJoin::ZipfDataLoader::zipfDataLoader_zipfEvent |
| uint64_t | OoOJoin::ZipfDataLoader::zipfDataLoader_zipfSkew |
| vector< keyType > | OoOJoin::ZipfDataLoader::keyS |
| vector< keyType > | OoOJoin::ZipfDataLoader::keyR |
| vector< valueType > | OoOJoin::ZipfDataLoader::valueS |
| vector< valueType > | OoOJoin::ZipfDataLoader::valueR |
| vector< tsType > | OoOJoin::ZipfDataLoader::eventS |
| vector< tsType > | OoOJoin::ZipfDataLoader::eventR |
| vector< tsType > | OoOJoin::ZipfDataLoader::arrivalS |
| vector< tsType > | OoOJoin::ZipfDataLoader::arrivalR |
| size_t | OoOJoin::ZipfDataLoader::testSize |
| size_t | OoOJoin::ZipfDataLoader::keyRange |
| size_t | OoOJoin::ZipfDataLoader::valueRange |
| double | OoOJoin::ZipfDataLoader::zipfDataLoader_zipfKeyFactor |
| double | OoOJoin::ZipfDataLoader::zipfDataLoader_zipfValueFactor |
| double | OoOJoin::ZipfDataLoader::zipfDataLoader_zipfEventFactor |
| double | OoOJoin::ZipfDataLoader::zipfDataLoader_zipfSkewFactor |
| MicroDataSet | OoOJoin::ZipfDataLoader::md |
| ConfigMapPtr | OoOJoin::ZipfDataLoader::cfgGlobal |
| vector< TrackTuplePtr > | OoOJoin::ZipfDataLoader::sTuple |
| vector< TrackTuplePtr > | OoOJoin::ZipfDataLoader::rTuple |
| typedef std::shared_ptr< class AbstractDataLoader > | OoOJoin::AbstractDataLoaderPtr |
| The class to describe a shared pointer to AbstractDataLoader. | |
| #define | newAbstractDataLoader std::make_shared<OoOJoin::AbstractDataLoader> |
| (Macro) To creat a new AbstractDataLoader under shared pointer. | |
| typedef std::shared_ptr< class FileDataLoader > | OoOJoin::FileDataLoaderPtr |
| The class to describe a shared pointer to FileDataLoader. | |
| #define | newFileDataLoader std::make_shared<OoOJoin::FileDataLoader> |
| (Macro) To creat a new FileDataLoader under shared pointer. | |
| typedef std::shared_ptr< class ZipfDataLoader > | OoOJoin::ZipfDataLoaderPtr |
| The class to describe a shared pointer to ZipfDataLoader. | |
| #define | newZipfDataLoader std::make_shared<OoOJoin::ZipfDataLoader> |
| (Macro) To creat a new ZipfDataLoader under shared pointer. | |
| typedef std::shared_ptr< class RandomDataLoader > | OoOJoin::RandomDataLoaderPtr |
| The class to describe a shared pointer to RandomDataLoader. | |
| #define | newRandomDataLoader std::make_shared<OoOJoin::RandomDataLoader> |
| (Macro) To creat a new RandomDataLoader under shared pointer. | |
|
protected |
generate the vector of arrival
use zipf for event
|
protected |
generate the vector of event
use zipf for event
|
protected |
generate the vector of key
use zipf for key
|
protected |
enerate the vector of key
use zipf for value
|
inlinevirtual |
get the vector of R tuple
Reimplemented in OoOJoin::ZipfDataLoader, OoOJoin::RandomDataLoader, and OoOJoin::FileDataLoader.
|
virtual |
|
virtual |
|
inlinevirtual |
get the vector of s tuple
Reimplemented in OoOJoin::ZipfDataLoader, OoOJoin::RandomDataLoader, and OoOJoin::FileDataLoader.
|
virtual |
|
virtual |
|
protected |
load a dataset from csv file
| fname | The name of file |
| separator | The separator in .csv, default is "," |
| newLine | THe indicator of a new line. default is "\n" |
header is of << "key,value,eventTime,arrivalTime,processedTime\n"; should read the first line
re-open file
jump the header,
|
inlinevirtual |
Set the GLOBAL config map related to this loader.
| cfg | The config map |
Reimplemented in OoOJoin::ZipfDataLoader, OoOJoin::RandomDataLoader, and OoOJoin::FileDataLoader.
|
virtual |
Set the GLOBAL config map related to this loader.
| cfg | The config map |
Reimplemented from OoOJoin::AbstractDataLoader.
|
virtual |
Set the GLOBAL config map related to this loader.
| cfg | The config map |
load some common settings
Reimplemented from OoOJoin::AbstractDataLoader.
|
inlinevirtual |
Set the modification config map related to this loader.
| cfg | The config map |
Reimplemented in OoOJoin::ZipfDataLoader, OoOJoin::RandomDataLoader, and OoOJoin::FileDataLoader.
|
inlinevirtual |
Set the modification 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.