OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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)

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: sqltypes.h:126
template<>
int8_t DatumFetcher::getDatumVal ( const Datum d)

Definition at line 27 of file DatumFetchers.h.

References Datum::tinyintval.

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

Definition at line 32 of file DatumFetchers.h.

References Datum::smallintval.

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

Definition at line 37 of file DatumFetchers.h.

References Datum::intval.

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

Definition at line 42 of file DatumFetchers.h.

References Datum::bigintval.

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

Definition at line 47 of file DatumFetchers.h.

References Datum::tinyintval.

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

Definition at line 52 of file DatumFetchers.h.

References Datum::smallintval.

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

Definition at line 57 of file DatumFetchers.h.

References Datum::floatval.

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

Definition at line 62 of file DatumFetchers.h.

References Datum::doubleval.

62  {
63  return d.doubleval;
64 }
double doubleval
Definition: sqltypes.h:131