OmniSciDB
a5dc49c757
|
#include <BaseConvertEncoder.h>
Public Types | |
using | DataType = DataType_ |
using | MetadataType = MetadataType_ |
Public Member Functions | |
TypedBaseConvertEncoder (const bool error_tracking_enabled) | |
std::shared_ptr< ChunkMetadata > | getMetadata (const Chunk_NS::Chunk &chunk) const override |
Public Member Functions inherited from data_conversion::BaseConvertEncoder | |
virtual | ~BaseConvertEncoder () |
BaseConvertEncoder (const bool error_tracking_enabled) | |
void | initializeDeleteBuffer (const size_t size_hint) |
virtual void | finalize (const size_t rows_appended) |
virtual void | encodeAndAppendData (const int8_t *data, const size_t num_elements)=0 |
Protected Member Functions | |
DataType | getNull () const |
void | updateMetadataStats (const DataType &typed_value, const bool is_date_in_days=false) |
Protected Member Functions inherited from data_conversion::BaseConvertEncoder | |
virtual void | clear () |
template<typename DataType > | |
bool | isNull (const DataType &typed_value) |
Protected Attributes | |
MetadataType | min_ |
MetadataType | max_ |
Protected Attributes inherited from data_conversion::BaseConvertEncoder | |
std::optional< std::vector < bool > > | delete_buffer_ |
const bool | error_tracking_enabled_ |
bool | has_nulls_ |
size_t | num_elements_ |
Definition at line 96 of file BaseConvertEncoder.h.
using data_conversion::TypedBaseConvertEncoder< DataType_, MetadataType_ >::DataType = DataType_ |
Definition at line 98 of file BaseConvertEncoder.h.
using data_conversion::TypedBaseConvertEncoder< DataType_, MetadataType_ >::MetadataType = MetadataType_ |
Definition at line 99 of file BaseConvertEncoder.h.
|
inline |
Definition at line 101 of file BaseConvertEncoder.h.
|
inlineoverridevirtual |
Reimplemented from data_conversion::BaseConvertEncoder.
Definition at line 107 of file BaseConvertEncoder.h.
|
inlineprotected |
Definition at line 115 of file BaseConvertEncoder.h.
Referenced by data_conversion::StringViewToScalarEncoder< DataType, MetadataType >::convertAndUpdateMetadata().
|
inlineprotected |
Definition at line 127 of file BaseConvertEncoder.h.
Referenced by data_conversion::StringViewToScalarEncoder< DataType, MetadataType >::convertAndUpdateMetadata(), and data_conversion::StringViewToStringDictEncoder< IdType >::encodeAndAppendData().
|
protected |
Definition at line 140 of file BaseConvertEncoder.h.
Referenced by data_conversion::TypedBaseConvertEncoder< DataType, MetadataType >::getMetadata(), data_conversion::TypedBaseConvertEncoder< DataType, MetadataType >::TypedBaseConvertEncoder(), and data_conversion::TypedBaseConvertEncoder< DataType, MetadataType >::updateMetadataStats().
|
protected |
Definition at line 140 of file BaseConvertEncoder.h.
Referenced by data_conversion::TypedBaseConvertEncoder< DataType, MetadataType >::getMetadata(), data_conversion::TypedBaseConvertEncoder< DataType, MetadataType >::TypedBaseConvertEncoder(), and data_conversion::TypedBaseConvertEncoder< DataType, MetadataType >::updateMetadataStats().