OmniSciDB
b24e664e58
|
Public Member Functions | |
StringChunkConverter (size_t num_rows, const Chunk_NS::Chunk *chunk) | |
~StringChunkConverter () override | |
void | convertToColumnarFormat (size_t row, size_t indexInFragment) override |
void | addDataBlocksToInsertData (Fragmenter_Namespace::InsertData &insertData) override |
![]() | |
virtual | ~ChunkToInsertDataConverter () |
Public Attributes | |
const Chunk_NS::Chunk * | chunk_ |
const ColumnDescriptor * | column_descriptor_ |
std::unique_ptr< std::vector < std::string > > | column_data_ |
const int8_t * | data_buffer_addr_ |
const StringOffsetT * | index_buffer_addr_ |
Definition at line 230 of file UpdelStorage.cpp.
|
inline |
Definition at line 238 of file UpdelStorage.cpp.
References column_data_, data_buffer_addr_, Chunk_NS::Chunk::get_buffer(), Chunk_NS::Chunk::get_index_buf(), Data_Namespace::AbstractBuffer::getMemoryPtr(), index_buffer_addr_, and num_rows.
|
inlineoverride |
Definition at line 247 of file UpdelStorage.cpp.
|
inlineoverridevirtual |
Implements Fragmenter_Namespace::ChunkToInsertDataConverter.
Definition at line 256 of file UpdelStorage.cpp.
References column_data_, column_descriptor_, ColumnDescriptor::columnId, Fragmenter_Namespace::InsertData::columnIds, Fragmenter_Namespace::InsertData::data, and DataBlockPtr::stringsPtr.
|
inlineoverridevirtual |
Implements Fragmenter_Namespace::ChunkToInsertDataConverter.
Definition at line 249 of file UpdelStorage.cpp.
References data_buffer_addr_, and index_buffer_addr_.
const Chunk_NS::Chunk* Fragmenter_Namespace::StringChunkConverter::chunk_ |
Definition at line 231 of file UpdelStorage.cpp.
std::unique_ptr<std::vector<std::string> > Fragmenter_Namespace::StringChunkConverter::column_data_ |
Definition at line 234 of file UpdelStorage.cpp.
Referenced by addDataBlocksToInsertData(), and StringChunkConverter().
const ColumnDescriptor* Fragmenter_Namespace::StringChunkConverter::column_descriptor_ |
Definition at line 232 of file UpdelStorage.cpp.
Referenced by addDataBlocksToInsertData().
const int8_t* Fragmenter_Namespace::StringChunkConverter::data_buffer_addr_ |
Definition at line 235 of file UpdelStorage.cpp.
Referenced by convertToColumnarFormat(), and StringChunkConverter().
const StringOffsetT* Fragmenter_Namespace::StringChunkConverter::index_buffer_addr_ |
Definition at line 236 of file UpdelStorage.cpp.
Referenced by convertToColumnarFormat(), and StringChunkConverter().