OmniSciDB
a5dc49c757
|
#include <ParquetStringNoneEncoder.h>
Public Member Functions | |
ParquetStringNoneEncoder (Data_Namespace::AbstractBuffer *buffer, Data_Namespace::AbstractBuffer *index_buffer) | |
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 | 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 |
Public Member Functions inherited from foreign_storage::ParquetEncoder | |
ParquetEncoder (Data_Namespace::AbstractBuffer *buffer) | |
virtual | ~ParquetEncoder ()=default |
virtual std::shared_ptr < ChunkMetadata > | getRowGroupMetadata (const parquet::RowGroupMetaData *group_metadata, const int parquet_column_index, const SQLTypeInfo &column_type) |
RejectedRowIndices | getRejectedRowIndices () const |
virtual void | disableMetadataStatsValidation () |
virtual void | initializeErrorTracking () |
virtual void | initializeColumnType (const SQLTypeInfo &column_type) |
Private Member Functions | |
void | writeInitialOffsetIfApplicable () |
Private Attributes | |
Data_Namespace::AbstractBuffer * | index_buffer_ |
std::vector< int8_t > | encode_buffer_ |
Additional Inherited Members | |
Static Protected Member Functions inherited from foreign_storage::ParquetEncoder | |
static std::shared_ptr < ChunkMetadata > | createMetadata (const SQLTypeInfo &column_type) |
static void | throwNotNullViolation (const std::string &parquet_column_name) |
static void | validateNullCount (const std::string &parquet_column_name, int64_t null_count, const SQLTypeInfo &column_type) |
Protected Attributes inherited from foreign_storage::ParquetEncoder | |
Data_Namespace::AbstractBuffer * | buffer_ |
bool | is_error_tracking_enabled_ |
RejectedRowIndices | invalid_indices_ |
size_t | current_chunk_offset_ |
SQLTypeInfo | column_type_ |
bool | validate_metadata_stats_ |
Definition at line 27 of file ParquetStringNoneEncoder.h.
|
inline |
Definition at line 29 of file ParquetStringNoneEncoder.h.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetEncoder.
Definition at line 36 of file ParquetStringNoneEncoder.h.
References Data_Namespace::AbstractBuffer::append(), foreign_storage::ParquetEncoder::buffer_, CHECK, foreign_storage::ParquetEncoder::column_type_, foreign_storage::ParquetEncoder::current_chunk_offset_, encode_buffer_, SQLTypeInfo::get_max_strlen(), index_buffer_, foreign_storage::ParquetEncoder::invalid_indices_, foreign_storage::ParquetEncoder::is_error_tracking_enabled_, Data_Namespace::AbstractBuffer::reserve(), Data_Namespace::AbstractBuffer::size(), and writeInitialOffsetIfApplicable().
Referenced by appendDataTrackErrors().
|
inlineoverridevirtual |
Implements foreign_storage::ParquetEncoder.
Definition at line 93 of file ParquetStringNoneEncoder.h.
References appendData(), CHECK, and foreign_storage::ParquetEncoder::is_error_tracking_enabled_.
|
inlineprivate |
Definition at line 103 of file ParquetStringNoneEncoder.h.
References Data_Namespace::AbstractBuffer::append(), index_buffer_, and Data_Namespace::AbstractBuffer::size().
Referenced by appendData().
|
private |
Definition at line 112 of file ParquetStringNoneEncoder.h.
Referenced by appendData().
|
private |
Definition at line 111 of file ParquetStringNoneEncoder.h.
Referenced by appendData(), and writeInitialOffsetIfApplicable().