OmniSciDB
a5dc49c757
|
#include <ParquetStringImportEncoder.h>
Public Member Functions | |
ParquetStringImportEncoder (Data_Namespace::AbstractBuffer *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 |
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 |
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 Attributes | |
TypedParquetStorageBuffer < std::string > * | string_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 ParquetStringImportEncoder.h.
|
inline |
Definition at line 29 of file ParquetStringImportEncoder.h.
References CHECK, and string_buffer_.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetEncoder.
Definition at line 35 of file ParquetStringImportEncoder.h.
References foreign_storage::TypedParquetStorageBuffer< Type >::appendElement(), CHECK, foreign_storage::TypedParquetStorageBuffer< Type >::reserveNumElements(), and string_buffer_.
Referenced by validateAndAppendData().
|
inlineoverridevirtual |
Implements foreign_storage::ParquetEncoder.
Definition at line 54 of file ParquetStringImportEncoder.h.
References UNREACHABLE.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetImportEncoder.
Definition at line 72 of file ParquetStringImportEncoder.h.
References foreign_storage::TypedParquetStorageBuffer< Type >::eraseInvalidData(), and string_buffer_.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetImportEncoder.
Definition at line 62 of file ParquetStringImportEncoder.h.
References appendData().
|
private |
Definition at line 81 of file ParquetStringImportEncoder.h.
Referenced by appendData(), eraseInvalidIndicesInBuffer(), and ParquetStringImportEncoder().