OmniSciDB
a5dc49c757
|
#include <ParquetDetectStringEncoder.h>
Public Member Functions | |
ParquetDetectStringEncoder (Data_Namespace::AbstractBuffer *buffer) | |
void | setNull (int8_t *omnisci_data_bytes) override |
void | copy (const int8_t *omnisci_data_bytes_source, int8_t *omnisci_data_bytes_destination) override |
void | encodeAndCopy (const int8_t *parquet_data_bytes, int8_t *omnisci_data_bytes) override |
void | encodeAndCopyContiguous (const int8_t *parquet_data_bytes, int8_t *omnisci_data_bytes, const size_t num_elements) override |
void | validate (const int8_t *parquet_data, const int64_t j, const SQLTypeInfo &column_type) const override |
void | validateUsingEncodersColumnType (const int8_t *parquet_data, const int64_t j) const override |
std::string | encodedDataToString (const int8_t *bytes) const override |
void | eraseInvalidIndicesInBuffer (const InvalidRowGroupIndices &invalid_indices) 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 | 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::ParquetScalarEncoder | |
ParquetScalarEncoder (Data_Namespace::AbstractBuffer *buffer) | |
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) |
Public Attributes | |
TypedParquetDetectBuffer * | detect_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 29 of file ParquetDetectStringEncoder.h.
|
inline |
Definition at line 31 of file ParquetDetectStringEncoder.h.
References CHECK, and detect_buffer_.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetEncoder.
Definition at line 89 of file ParquetDetectStringEncoder.h.
References foreign_storage::TypedParquetDetectBuffer::appendValue(), CHECK, foreign_storage::ParquetEncoder::current_chunk_offset_, detect_buffer_, foreign_storage::ParquetEncoder::invalid_indices_, foreign_storage::ParquetEncoder::is_error_tracking_enabled_, and StringDictionary::MAX_STRLEN.
Referenced by appendDataTrackErrors().
|
inlineoverridevirtual |
Implements foreign_storage::ParquetEncoder.
Definition at line 120 of file ParquetDetectStringEncoder.h.
References appendData(), CHECK, and foreign_storage::ParquetEncoder::is_error_tracking_enabled_.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetScalarEncoder.
Definition at line 38 of file ParquetDetectStringEncoder.h.
References UNREACHABLE.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetScalarEncoder.
Definition at line 43 of file ParquetDetectStringEncoder.h.
References UNREACHABLE.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetScalarEncoder.
Definition at line 48 of file ParquetDetectStringEncoder.h.
References UNREACHABLE.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetScalarEncoder.
Definition at line 69 of file ParquetDetectStringEncoder.h.
References UNREACHABLE.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetImportEncoder.
Definition at line 74 of file ParquetDetectStringEncoder.h.
References UNREACHABLE.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetScalarEncoder.
Definition at line 37 of file ParquetDetectStringEncoder.h.
References UNREACHABLE.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetScalarEncoder.
Definition at line 54 of file ParquetDetectStringEncoder.h.
References StringDictionary::MAX_STRLEN.
Referenced by validateUsingEncodersColumnType().
|
inlineoverridevirtual |
Implements foreign_storage::ParquetImportEncoder.
Definition at line 79 of file ParquetDetectStringEncoder.h.
References UNREACHABLE.
|
inlineoverridevirtual |
Implements foreign_storage::ParquetScalarEncoder.
Definition at line 64 of file ParquetDetectStringEncoder.h.
References foreign_storage::ParquetEncoder::column_type_, and validate().
TypedParquetDetectBuffer* foreign_storage::ParquetDetectStringEncoder::detect_buffer_ |
Definition at line 129 of file ParquetDetectStringEncoder.h.
Referenced by appendData(), and ParquetDetectStringEncoder().