OmniSciDB
a5dc49c757
|
#include <ParquetMetadataValidator.h>
Static Public Member Functions | |
template<typename D > | |
static void | validateValue (const D &data_value, const SQLTypeInfo &column_type) |
Static Private Member Functions | |
static bool | valueWithinBounds (const T &value, const SQLTypeInfo &column_type) |
static std::pair< std::string, std::string > | getMinMaxBoundsAsStrings (const SQLTypeInfo &column_type) |
template<typename D > | |
static bool | checkBounds (const T &value) |
template<typename D > | |
static std::pair< std::string, std::string > | getMinMaxBoundsAsStrings (const SQLTypeInfo &column_type) |
Definition at line 209 of file ParquetMetadataValidator.h.
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 240 of file ParquetMetadataValidator.h.
References CHECK, SQLTypeInfo::get_size(), SQLTypeInfo::is_date(), and UNREACHABLE.
Referenced by foreign_storage::BaseDateBoundsValidator< T, is_in_seconds >::validateValue().
|
inlinestaticprivate |
Definition at line 265 of file ParquetMetadataValidator.h.
References foreign_storage::datetime_to_string(), and kSecsPerDay.
|
inlinestatic |
Definition at line 216 of file ParquetMetadataValidator.h.
References foreign_storage::datetime_to_string(), foreign_storage::BaseDateBoundsValidator< T, is_in_seconds >::getMinMaxBoundsAsStrings(), foreign_storage::throw_parquet_metadata_out_of_bounds_error(), and foreign_storage::BaseDateBoundsValidator< T, is_in_seconds >::valueWithinBounds().
Referenced by foreign_storage::ParquetDateInDaysFromTimestampEncoder< V, T, conversion_denominator, NullType >::validate(), foreign_storage::ParquetDateInSecondsEncoder< NullType >::validate(), foreign_storage::ParquetTimestampEncoder< V, T, conversion_denominator *kSecsPerDay, NullType >::validate(), and foreign_storage::ParquetFixedLengthEncoder< V, T, NullType >::validateIntegralOrFloatingPointValue().
|
inlinestaticprivate |
Definition at line 227 of file ParquetMetadataValidator.h.
References CHECK, SQLTypeInfo::get_size(), SQLTypeInfo::is_date(), and UNREACHABLE.
Referenced by foreign_storage::BaseDateBoundsValidator< T, is_in_seconds >::validateValue().