OmniSciDB  2e3a973ef4
foreign_storage::ParquetScalarEncoder Class Referenceabstract

#include <ParquetEncoder.h>

+ Inheritance diagram for foreign_storage::ParquetScalarEncoder:
+ Collaboration diagram for foreign_storage::ParquetScalarEncoder:

Public Member Functions

 ParquetScalarEncoder (Data_Namespace::AbstractBuffer *buffer)
 
virtual void setNull (int8_t *omnisci_data_bytes)=0
 
virtual void copy (const int8_t *omnisci_data_bytes_source, int8_t *omnisci_data_bytes_destination)=0
 
virtual void encodeAndCopy (const int8_t *parquet_data_bytes, int8_t *omnisci_data_bytes)=0
 
virtual void encodeAndCopyContiguous (const int8_t *parquet_data_bytes, int8_t *omnisci_data_bytes, const size_t num_elements)=0
 
- Public Member Functions inherited from foreign_storage::ParquetEncoder
 ParquetEncoder (Data_Namespace::AbstractBuffer *buffer)
 
virtual ~ParquetEncoder ()=default
 
virtual void appendData (const int16_t *def_levels, const int16_t *rep_levels, const int64_t values_read, const int64_t levels_read, const bool is_last_batch, int8_t *values)=0
 

Additional Inherited Members

- Protected Attributes inherited from foreign_storage::ParquetEncoder
Data_Namespace::AbstractBufferbuffer_
 

Detailed Description

Definition at line 40 of file ParquetEncoder.h.

Constructor & Destructor Documentation

◆ ParquetScalarEncoder()

foreign_storage::ParquetScalarEncoder::ParquetScalarEncoder ( Data_Namespace::AbstractBuffer buffer)
inline

Definition at line 42 of file ParquetEncoder.h.

42 : ParquetEncoder(buffer) {}
ParquetEncoder(Data_Namespace::AbstractBuffer *buffer)

Member Function Documentation

◆ copy()

virtual void foreign_storage::ParquetScalarEncoder::copy ( const int8_t *  omnisci_data_bytes_source,
int8_t *  omnisci_data_bytes_destination 
)
pure virtual

Implemented in foreign_storage::TypedParquetInPlaceEncoder< V, T >, foreign_storage::TypedParquetInPlaceEncoder< V, V >, and foreign_storage::TypedParquetInPlaceEncoder< int64_t, int32_t >.

Referenced by foreign_storage::ParquetInPlaceEncoder::decodeNullsAndEncodeData().

+ Here is the caller graph for this function:

◆ encodeAndCopy()

◆ encodeAndCopyContiguous()

virtual void foreign_storage::ParquetScalarEncoder::encodeAndCopyContiguous ( const int8_t *  parquet_data_bytes,
int8_t *  omnisci_data_bytes,
const size_t  num_elements 
)
pure virtual

◆ setNull()

virtual void foreign_storage::ParquetScalarEncoder::setNull ( int8_t *  omnisci_data_bytes)
pure virtual

Implemented in foreign_storage::TypedParquetInPlaceEncoder< V, T >, foreign_storage::TypedParquetInPlaceEncoder< V, V >, and foreign_storage::TypedParquetInPlaceEncoder< int64_t, int32_t >.

Referenced by foreign_storage::ParquetInPlaceEncoder::decodeNullsAndEncodeData().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: