Class foreign_storage::ParquetFixedLengthArrayEncoder

class ParquetFixedLengthArrayEncoder : public foreign_storage::ParquetArrayEncoder

Public Functions

ParquetFixedLengthArrayEncoder(Data_Namespace::AbstractBuffer *data_buffer, std::shared_ptr<ParquetScalarEncoder> scalar_encoder, const ColumnDescriptor *column_desciptor)
std::shared_ptr<ChunkMetadata> getRowGroupMetadata(const parquet::RowGroupMetaData *group_metadata, const int parquet_column_index, const SQLTypeInfo &column_type)

Protected Functions

void processLastArray()

Private Functions

void appendNullFixedLengthArray()
void setNullFixedLengthArraySentinel(int8_t *omnisci_data_bytes)
void appendNullArrayOrCheckArraySize()
void throwEmptyArrayException(const size_t array_element_count, const std::string &omnisci_column_name)
void throwWrongSizeArray(const size_t size_of_last_array, const size_t array_element_count, const std::string &omnisci_column_name)

Private Members

const ColumnDescriptor column_desciptor_
size_t array_element_count_