OmniSciDB
a5dc49c757
|
Public Member Functions | |
FixedLenArrayChunkConverter (const size_t num_rows, const Chunk_NS::Chunk *chunk) | |
~FixedLenArrayChunkConverter () override | |
void | convertToColumnarFormat (size_t row, size_t indexInFragment) override |
void | addDataBlocksToInsertData (Fragmenter_Namespace::InsertData &insertData) override |
Public Member Functions inherited from Fragmenter_Namespace::ChunkToInsertDataConverter | |
virtual | ~ChunkToInsertDataConverter () |
Public Attributes | |
const Chunk_NS::Chunk * | chunk_ |
const ColumnDescriptor * | column_descriptor_ |
std::unique_ptr< std::vector < ArrayDatum > > | column_data_ |
int8_t * | data_buffer_addr_ |
size_t | fixed_array_length_ |
Definition at line 145 of file UpdelStorage.cpp.
|
inline |
Definition at line 153 of file UpdelStorage.cpp.
References column_data_, ColumnDescriptor::columnType, data_buffer_addr_, fixed_array_length_, SQLTypeInfo::get_size(), Chunk_NS::Chunk::getBuffer(), Chunk_NS::Chunk::getColumnDesc(), and Data_Namespace::AbstractBuffer::getMemoryPtr().
|
inlineoverride |
Definition at line 160 of file UpdelStorage.cpp.
|
inlineoverridevirtual |
Implements Fragmenter_Namespace::ChunkToInsertDataConverter.
Definition at line 172 of file UpdelStorage.cpp.
References DataBlockPtr::arraysPtr, column_data_, column_descriptor_, ColumnDescriptor::columnId, Fragmenter_Namespace::InsertData::columnIds, and Fragmenter_Namespace::InsertData::data.
|
inlineoverridevirtual |
Implements Fragmenter_Namespace::ChunkToInsertDataConverter.
Reimplemented in Fragmenter_Namespace::ArrayChunkConverter.
Definition at line 162 of file UpdelStorage.cpp.
References column_descriptor_, ColumnDescriptor::columnType, data_buffer_addr_, fixed_array_length_, FixedLengthArrayNoneEncoder::is_null(), and is_null().
const Chunk_NS::Chunk* Fragmenter_Namespace::FixedLenArrayChunkConverter::chunk_ |
Definition at line 146 of file UpdelStorage.cpp.
std::unique_ptr<std::vector<ArrayDatum> > Fragmenter_Namespace::FixedLenArrayChunkConverter::column_data_ |
Definition at line 149 of file UpdelStorage.cpp.
Referenced by addDataBlocksToInsertData(), and FixedLenArrayChunkConverter().
const ColumnDescriptor* Fragmenter_Namespace::FixedLenArrayChunkConverter::column_descriptor_ |
Definition at line 147 of file UpdelStorage.cpp.
Referenced by addDataBlocksToInsertData(), and convertToColumnarFormat().
int8_t* Fragmenter_Namespace::FixedLenArrayChunkConverter::data_buffer_addr_ |
Definition at line 150 of file UpdelStorage.cpp.
Referenced by convertToColumnarFormat(), Fragmenter_Namespace::ArrayChunkConverter::convertToColumnarFormat(), and FixedLenArrayChunkConverter().
size_t Fragmenter_Namespace::FixedLenArrayChunkConverter::fixed_array_length_ |
Definition at line 151 of file UpdelStorage.cpp.
Referenced by convertToColumnarFormat(), and FixedLenArrayChunkConverter().