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 std::pair< std::string, std::string > | getMinMaxBoundsAsStrings (const SQLTypeInfo &column_type) |
Definition at line 60 of file ParquetMetadataValidator.h.
|
inlinestaticprivate |
Definition at line 90 of file ParquetMetadataValidator.h.
References CHECK, SQLTypeInfo::get_size(), SQLTypeInfo::is_timestamp(), and UNREACHABLE.
Referenced by foreign_storage::TimestampBoundsValidator< T >::validateValue().
|
inlinestaticprivate |
Definition at line 105 of file ParquetMetadataValidator.h.
References foreign_storage::datetime_to_string().
|
inlinestatic |
Definition at line 66 of file ParquetMetadataValidator.h.
References foreign_storage::datetime_to_string(), foreign_storage::TimestampBoundsValidator< T >::getMinMaxBoundsAsStrings(), foreign_storage::throw_parquet_metadata_out_of_bounds_error(), and foreign_storage::TimestampBoundsValidator< T >::valueWithinBounds().
Referenced by foreign_storage::ParquetTimestampEncoder< V, T, conversion_denominator *kSecsPerDay, NullType >::validate(), and foreign_storage::ParquetFixedLengthEncoder< V, T, NullType >::validateIntegralOrFloatingPointValue().
|
inlinestaticprivate |
Definition at line 77 of file ParquetMetadataValidator.h.
References CHECK, SQLTypeInfo::get_size(), SQLTypeInfo::is_timestamp(), and UNREACHABLE.
Referenced by foreign_storage::TimestampBoundsValidator< T >::validateValue().