OmniSciDB
a5dc49c757
|
#include <StringViewToStringNoneEncoder.h>
Public Member Functions | |
StringViewToStringNoneEncoder (const Chunk_NS::Chunk &dst_chunk, const bool error_tracking_enabled) | |
void | encodeAndAppendData (const int8_t *data, const size_t num_elements) override |
StringNoneEncoder * | getEncoder () const |
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 std::shared_ptr < ChunkMetadata > | getMetadata (const Chunk_NS::Chunk &chunk) const |
Private Member Functions | |
void | initialize () |
Private Attributes | |
SQLTypeInfo | dst_type_info_ |
const Chunk_NS::Chunk & | dst_chunk_ |
AbstractBuffer * | buffer_ |
Additional Inherited Members | |
Protected Member Functions inherited from data_conversion::BaseConvertEncoder | |
virtual void | clear () |
template<typename DataType > | |
bool | isNull (const DataType &typed_value) |
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 23 of file StringViewToStringNoneEncoder.h.
|
inline |
Definition at line 25 of file StringViewToStringNoneEncoder.h.
References initialize().
|
inlineoverridevirtual |
Implements data_conversion::BaseConvertEncoder.
Definition at line 31 of file StringViewToStringNoneEncoder.h.
References StringNoneEncoder::appendData(), buffer_, data_conversion::BaseConvertEncoder::delete_buffer_, data_conversion::BaseConvertEncoder::error_tracking_enabled_, getEncoder(), Data_Namespace::AbstractBuffer::getEncoder(), data_conversion::BaseConvertEncoder::has_nulls_, StringDictionary::MAX_STRLEN, and to_string().
|
inline |
Definition at line 81 of file StringViewToStringNoneEncoder.h.
References buffer_, CHECK, and Data_Namespace::AbstractBuffer::getEncoder().
Referenced by encodeAndAppendData().
|
inlineprivate |
Definition at line 88 of file StringViewToStringNoneEncoder.h.
References buffer_, ColumnDescriptor::columnType, dst_chunk_, dst_type_info_, Chunk_NS::Chunk::getBuffer(), and Chunk_NS::Chunk::getColumnDesc().
Referenced by StringViewToStringNoneEncoder().
|
private |
Definition at line 96 of file StringViewToStringNoneEncoder.h.
Referenced by encodeAndAppendData(), getEncoder(), and initialize().
|
private |
Definition at line 95 of file StringViewToStringNoneEncoder.h.
Referenced by initialize().
|
private |
Definition at line 94 of file StringViewToStringNoneEncoder.h.
Referenced by initialize().