OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TypedDataAccessors.h File Reference
#include <cmath>
#include <cstring>
#include "Shared/DateConverters.h"
#include "Shared/InlineNullValues.h"
#include "Shared/Logger.h"
#include "Shared/sqltypes.h"
+ Include dependency graph for TypedDataAccessors.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  anonymous_namespace{TypedDataAccessors.h}::NullSentinelSupplier
 
struct  anonymous_namespace{TypedDataAccessors.h}::NullSentinelSupplier::IntSelector
 
struct  anonymous_namespace{TypedDataAccessors.h}::NullSentinelSupplier::FPSelector
 

Namespaces

 anonymous_namespace{TypedDataAccessors.h}
 

Functions

template<typename LHT , typename RHT >
void anonymous_namespace{TypedDataAccessors.h}::value_truncated (const LHT &lhs, const RHT &rhs)
 
template<typename T >
bool anonymous_namespace{TypedDataAccessors.h}::is_null (const T &v, const SQLTypeInfo &t)
 
template<typename LHT , typename RHT >
bool anonymous_namespace{TypedDataAccessors.h}::integer_setter (LHT &lhs, const RHT &rhs, const SQLTypeInfo &t)
 
int anonymous_namespace{TypedDataAccessors.h}::get_element_size (const SQLTypeInfo &t)
 
bool anonymous_namespace{TypedDataAccessors.h}::is_null_string_index (const int size, const int32_t sidx)
 
int32_t anonymous_namespace{TypedDataAccessors.h}::get_string_index (void *ptr, const int size)
 
bool anonymous_namespace{TypedDataAccessors.h}::set_string_index (void *ptr, const SQLTypeInfo &etype, int32_t sidx)
 
template<typename T >
static void anonymous_namespace{TypedDataAccessors.h}::put_scalar (void *ndptr, const SQLTypeInfo &etype, const int esize, const T oval)
 
double anonymous_namespace{TypedDataAccessors.h}::decimal_to_double (const SQLTypeInfo &otype, int64_t oval)
 
template<typename T >
void anonymous_namespace{TypedDataAccessors.h}::put_scalar (void *ndptr, const SQLTypeInfo &ntype, const T oval, const std::string col_name, const SQLTypeInfo *otype=nullptr)
 
void anonymous_namespace{TypedDataAccessors.h}::put_null (void *ndptr, const SQLTypeInfo &ntype, const std::string col_name)
 
void anonymous_namespace{TypedDataAccessors.h}::put_null_array (void *ndptr, const SQLTypeInfo &ntype, const std::string col_name)
 
template<typename T >
bool anonymous_namespace{TypedDataAccessors.h}::get_scalar (void *ndptr, const SQLTypeInfo &ntype, T &v)
 
template<typename T >
void anonymous_namespace{TypedDataAccessors.h}::set_minmax (T &min, T &max, T const val)
 
template<typename T >
void anonymous_namespace{TypedDataAccessors.h}::set_minmax (T &min, T &max, int8_t &null_flag, T const val, T null_sentinel)
 
template<typename TYPE_INFO , typename T , typename SENTINEL_SUPPLIER = NullSentinelSupplier>
void anonymous_namespace{TypedDataAccessors.h}::tabulate_metadata (TYPE_INFO const &ti, T &min, T &max, int8_t &null_flag, T const val, SENTINEL_SUPPLIER s=SENTINEL_SUPPLIER())