Class foreign_storage::ParquetTimestampEncoder

template<typename V, typename T, T conversion_denominator, typename NullType = V>
class ParquetTimestampEncoder : public foreign_storage::TypedParquetInPlaceEncoder<V, T, NullType>, public foreign_storage::ParquetMetadataValidator

Public Functions

ParquetTimestampEncoder(Data_Namespace::AbstractBuffer *buffer, const ColumnDescriptor *column_desciptor, const parquet::ColumnDescriptor *parquet_column_descriptor)
void encodeAndCopy(const int8_t *parquet_data_bytes, int8_t *omnisci_data_bytes)
void validate(const int8_t *parquet_data, const int64_t j, const SQLTypeInfo &column_type) const
void validate(std::shared_ptr<parquet::Statistics> stats, const SQLTypeInfo &column_type) const

Protected Functions

T convert(const T &value) const

Private Functions

void validate(const T &value, const SQLTypeInfo &column_type) const