OmniSciDB
a5dc49c757
|
Functions | |
int64_t | convert_decimal_value_to_scale_internal (const int64_t decimal_value, int const dscale) |
template<typename T > | |
T | minValue (unsigned const fieldsize) |
template<typename T > | |
T | maxValue (unsigned const fieldsize) |
std::string | toString (SQLTypeInfo const &ti, unsigned const fieldsize) |
template<typename T , typename U = long double> | |
T | parseFloatAsInteger (std::string_view s, SQLTypeInfo const &ti) |
bool | hasCommonSuffix (char const *const ptr, char const *const end) |
template<typename T > | |
T | parseInteger (std::string_view s, SQLTypeInfo const &ti) |
SQLTypes | get_type_for_datum (const SQLTypeInfo &ti) |
int64_t anonymous_namespace{Datum.cpp}::convert_decimal_value_to_scale_internal | ( | const int64_t | decimal_value, |
int const | dscale | ||
) |
Definition at line 81 of file Datum.cpp.
References sql_constants::kMaxRepresentableNumericPrecision.
Referenced by convert_decimal_value_to_scale(), and parse_numeric().
|
inline |
Definition at line 274 of file Datum.cpp.
References decimal_to_int_type(), SQLTypeInfo::get_type(), SQLTypeInfo::is_decimal(), SQLTypeInfo::is_dict_encoded_string(), string_dict_to_int_type(), and run_benchmark_import::type.
|
inline |
Definition at line 226 of file Datum.cpp.
Referenced by parseInteger().
T anonymous_namespace{Datum.cpp}::maxValue | ( | unsigned const | fieldsize | ) |
T anonymous_namespace{Datum.cpp}::minValue | ( | unsigned const | fieldsize | ) |
T anonymous_namespace{Datum.cpp}::parseFloatAsInteger | ( | std::string_view | s, |
SQLTypeInfo const & | ti | ||
) |
Definition at line 189 of file Datum.cpp.
References SQLTypeInfo::get_type_name(), and heavydb.dtypes::T.
T anonymous_namespace{Datum.cpp}::parseInteger | ( | std::string_view | s, |
SQLTypeInfo const & | ti | ||
) |
Definition at line 231 of file Datum.cpp.
References report::error_code(), SQLTypeInfo::get_comp_param(), SQLTypeInfo::get_compression(), SQLTypeInfo::get_notnull(), SQLTypeInfo::get_type_name(), hasCommonSuffix(), kENCODING_FIXED, heavydb.dtypes::T, and toString().
std::string anonymous_namespace{Datum.cpp}::toString | ( | SQLTypeInfo const & | ti, |
unsigned const | fieldsize | ||
) |
Definition at line 179 of file Datum.cpp.
References SQLTypeInfo::get_type_name(), and to_string().