OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DatumFetcher Namespace Reference

Functions

template<typename T >
getDatumVal (const Datum &d)
 
template<>
int8_t getDatumVal (const Datum &d)
 
template<>
int16_t getDatumVal (const Datum &d)
 
template<>
int32_t getDatumVal (const Datum &d)
 
template<>
int64_t getDatumVal (const Datum &d)
 
template<>
uint8_t getDatumVal (const Datum &d)
 
template<>
uint16_t getDatumVal (const Datum &d)
 
template<>
float getDatumVal (const Datum &d)
 
template<>
double getDatumVal (const Datum &d)
 

Function Documentation

template<typename T >
T DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 27 of file DatumFetchers.h.

References Datum::bigintval, Datum::doubleval, Datum::floatval, Datum::intval, Datum::smallintval, and Datum::tinyintval.

27  {
28  return d.tinyintval;
29 }
int8_t tinyintval
Definition: Datum.h:73
template<>
int8_t DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 27 of file DatumFetchers.h.

References Datum::tinyintval.

27  {
28  return d.tinyintval;
29 }
int8_t tinyintval
Definition: Datum.h:73
template<>
int16_t DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 32 of file DatumFetchers.h.

References Datum::smallintval.

32  {
33  return d.smallintval;
34 }
int16_t smallintval
Definition: Datum.h:74
template<>
int32_t DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 37 of file DatumFetchers.h.

References Datum::intval.

37  {
38  return d.intval;
39 }
int32_t intval
Definition: Datum.h:75
template<>
int64_t DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 42 of file DatumFetchers.h.

References Datum::bigintval.

42  {
43  return d.bigintval;
44 }
int64_t bigintval
Definition: Datum.h:76
template<>
uint8_t DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 47 of file DatumFetchers.h.

References Datum::tinyintval.

47  {
48  return d.tinyintval;
49 }
int8_t tinyintval
Definition: Datum.h:73
template<>
uint16_t DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 52 of file DatumFetchers.h.

References Datum::smallintval.

52  {
53  return d.smallintval;
54 }
int16_t smallintval
Definition: Datum.h:74
template<>
float DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 57 of file DatumFetchers.h.

References Datum::floatval.

57  {
58  return d.floatval;
59 }
float floatval
Definition: Datum.h:77
template<>
double DatumFetcher::getDatumVal ( const Datum d)
inline

Definition at line 62 of file DatumFetchers.h.

References Datum::doubleval.

62  {
63  return d.doubleval;
64 }
double doubleval
Definition: Datum.h:78