OmniSciDB
a5dc49c757
|
#include <Encoder.h>
Public Member Functions | |
DecimalOverflowValidator (SQLTypeInfo type) | |
template<typename T > | |
void | validate (T value) const |
void | do_validate (int64_t value) const |
Private Attributes | |
bool | do_check_ |
int64_t | max_ |
int64_t | min_ |
int | pow10_ |
|
inline |
Definition at line 40 of file Encoder.h.
References do_check_, SQLTypeInfo::get_elem_type(), SQLTypeInfo::get_precision(), SQLTypeInfo::get_scale(), SQLTypeInfo::is_array(), SQLTypeInfo::is_decimal(), max_, min_, and pow10_.
|
inline |
Definition at line 60 of file Encoder.h.
References do_check_, max_, min_, pow10_, and to_string().
Referenced by validate().
|
inline |
Definition at line 54 of file Encoder.h.
References do_validate().
Referenced by import_export::TypedImportBuffer::add_value(), FixedLengthEncoder< T, V >::encodeDataAndUpdateStats(), FixedLengthArrayNoneEncoder::update_elem_stats(), FixedLengthEncoder< T, V >::updateStatsEncoded(), NoneEncoder< T >::updateStatsEncoded(), foreign_storage::ParquetDecimalEncoder< V, T, NullType >::validate(), ddl_utils::anonymous_namespace{DdlUtils.cpp}::validate_literal(), and NoneEncoder< T >::validateDataAndUpdateStats().
|
private |
Definition at line 79 of file Encoder.h.
Referenced by DecimalOverflowValidator(), and do_validate().
|
private |
Definition at line 80 of file Encoder.h.
Referenced by DecimalOverflowValidator(), and do_validate().
|
private |
Definition at line 81 of file Encoder.h.
Referenced by DecimalOverflowValidator(), and do_validate().
|
private |
Definition at line 82 of file Encoder.h.
Referenced by DecimalOverflowValidator(), and do_validate().