OmniSciDB
a5dc49c757
|
#include <ParquetDateInDaysFromTimestampEncoder.h>
Public Member Functions | |
ParquetDateInDaysFromTimestampEncoder (Data_Namespace::AbstractBuffer *buffer, const ColumnDescriptor *column_desciptor, const parquet::ColumnDescriptor *parquet_column_descriptor) | |
void | validate (const int8_t *parquet_data, const int64_t j, const SQLTypeInfo &column_type) const override |
void | validate (std::shared_ptr< parquet::Statistics > stats, const SQLTypeInfo &column_type) const override |
Public Member Functions inherited from foreign_storage::ParquetTimestampEncoder< V, T, conversion_denominator *kSecsPerDay, NullType > | |
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) override |
void | validate (const int8_t *parquet_data, const int64_t j, const SQLTypeInfo &column_type) const override |
void | validate (std::shared_ptr< parquet::Statistics > stats, const SQLTypeInfo &column_type) const override |
Public Member Functions inherited from foreign_storage::TypedParquetInPlaceEncoder< V, T, NullType > | |
TypedParquetInPlaceEncoder (Data_Namespace::AbstractBuffer *buffer, const ColumnDescriptor *column_desciptor, const parquet::ColumnDescriptor *parquet_column_descriptor) | |
TypedParquetInPlaceEncoder (Data_Namespace::AbstractBuffer *buffer, const size_t omnisci_data_type_byte_size, const size_t parquet_data_type_byte_size) | |
std::string | integralTypeToString (const V &element) const |
bool | isIntegralType (const SQLTypeInfo &type) const |
std::string | elementToString (const V &element) const |
std::string | encodedDataToString (const int8_t *bytes) const override |
void | setDetectBufferConverterType () |
void | validateUsingEncodersColumnType (const int8_t *parquet_data, const int64_t j) const override |
void | reserve (const size_t num_append_elements) override |
void | appendDataTrackErrors (const int16_t *def_levels, const int16_t *rep_levels, const int64_t values_read, const int64_t levels_read, int8_t *values) override |
void | validateAndAppendData (const int16_t *def_levels, const int16_t *rep_levels, const int64_t values_read, const int64_t levels_read, int8_t *values, const SQLTypeInfo &column_type, InvalidRowGroupIndices &invalid_indices) override |
void | eraseInvalidIndicesInBuffer (const InvalidRowGroupIndices &invalid_indices) override |
void | appendData (const int16_t *def_levels, const int16_t *rep_levels, const int64_t values_read, const int64_t levels_read, int8_t *values) override |
void | encodeAndCopyContiguous (const int8_t *parquet_data_bytes, int8_t *omnisci_data_bytes, const size_t num_elements) override |
void | setNull (int8_t *omnisci_data_bytes) override |
void | copy (const int8_t *omnisci_data_bytes_source, int8_t *omnisci_data_bytes_destination) override |
std::shared_ptr< ChunkMetadata > | getRowGroupMetadata (const parquet::RowGroupMetaData *group_metadata, const int parquet_column_index, const SQLTypeInfo &column_type) override |
Public Member Functions inherited from foreign_storage::ParquetInPlaceEncoder | |
ParquetInPlaceEncoder (Data_Namespace::AbstractBuffer *buffer, const size_t omnisci_data_type_byte_size, const size_t parquet_data_type_byte_size) | |
Public Member Functions inherited from foreign_storage::ParquetScalarEncoder | |
ParquetScalarEncoder (Data_Namespace::AbstractBuffer *buffer) | |
Public Member Functions inherited from foreign_storage::ParquetEncoder | |
ParquetEncoder (Data_Namespace::AbstractBuffer *buffer) | |
virtual | ~ParquetEncoder ()=default |
RejectedRowIndices | getRejectedRowIndices () const |
virtual void | disableMetadataStatsValidation () |
virtual void | initializeErrorTracking () |
virtual void | initializeColumnType (const SQLTypeInfo &column_type) |
Public Member Functions inherited from foreign_storage::ParquetMetadataValidator | |
virtual | ~ParquetMetadataValidator ()=default |
Definition at line 35 of file ParquetDateInDaysFromTimestampEncoder.h.
|
inline |
Definition at line 41 of file ParquetDateInDaysFromTimestampEncoder.h.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetScalarEncoder.
Definition at line 50 of file ParquetDateInDaysFromTimestampEncoder.h.
References CHECK, foreign_storage::ParquetTimestampEncoder< V, T, conversion_denominator *kSecsPerDay, NullType >::convert(), SQLTypeInfo::is_date(), heavydb.dtypes::T, and foreign_storage::BaseDateBoundsValidator< T, is_in_seconds >::validateValue().
|
inlineoverridevirtual |
Implements foreign_storage::ParquetMetadataValidator.
Definition at line 59 of file ParquetDateInDaysFromTimestampEncoder.h.
References UNREACHABLE.