#include <data-provider.h>
|
template<> |
DataProvider::ColDesc | Create (const bool &min, const bool &max, DataGen gen) |
|
template<> |
DataProvider::ColDesc | Create (const int8_t &min, const int8_t &max, DataGen gen) |
|
template<> |
DataProvider::ColDesc | Create (const int16_t &min, const int16_t &max, DataGen gen) |
|
template<> |
DataProvider::ColDesc | Create (const int32_t &min, const int32_t &max, DataGen gen) |
|
template<> |
DataProvider::ColDesc | Create (const int64_t &min, const int64_t &max, DataGen gen) |
|
template<> |
DataProvider::ColDesc | Create (const float &min, const float &max, DataGen gen) |
|
template<> |
DataProvider::ColDesc | Create (const double &min, const double &max, DataGen gen) |
|
|
template<typename T > |
T | Generate (double d, int i) const |
|
| ColDesc (impala::PrimitiveType type, int bytes) |
|
template<typename T > |
T | Generate (double d, int i, T min, T max) const |
| Default generator - used for int and float types. More...
|
|
template<> |
bool | Generate (double d, int i) const |
|
template<> |
int8_t | Generate (double d, int i) const |
|
template<> |
int16_t | Generate (double d, int i) const |
|
template<> |
int32_t | Generate (double d, int i) const |
|
template<> |
int64_t | Generate (double d, int i) const |
|
template<> |
float | Generate (double d, int i) const |
|
template<> |
double | Generate (double d, int i) const |
|
Definition at line 54 of file data-provider.h.
Create a column desc with min/max range and the data gen type.
template<typename T >
T DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i |
|
) |
| const |
|
private |
Generates a column value between [min,max) for this column. d is a random value between [0,1] and i is the row index.
Referenced by DataProvider::NextBatch().
template<typename T >
T DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i, |
|
|
T |
min, |
|
|
T |
max |
|
) |
| const |
|
inlineprivate |
template<>
bool DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i |
|
) |
| const |
|
inlineprivate |
template<>
int8_t DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i |
|
) |
| const |
|
inlineprivate |
template<>
int16_t DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i |
|
) |
| const |
|
inlineprivate |
template<>
int32_t DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i |
|
) |
| const |
|
inlineprivate |
template<>
int64_t DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i |
|
) |
| const |
|
inlineprivate |
template<>
float DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i |
|
) |
| const |
|
inlineprivate |
template<>
double DataProvider::ColDesc::Generate |
( |
double |
d, |
|
|
int |
i |
|
) |
| const |
|
inlineprivate |
int DataProvider::ColDesc::bytes |
|
private |
DataGen DataProvider::ColDesc::gen_type |
|
private |
Value DataProvider::ColDesc::max |
|
private |
Value DataProvider::ColDesc::min |
|
private |
The documentation for this class was generated from the following file: