OmniSciDB
a5dc49c757
|
Public Types | |
using | ColumnDataPtr = std::unique_ptr< INSERT_DATA_TYPE, CheckedMallocDeleter< INSERT_DATA_TYPE >> |
Public Member Functions | |
ScalarChunkConverter (const size_t num_rows, const Chunk_NS::Chunk *chunk) | |
~ScalarChunkConverter () 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_ |
ColumnDataPtr | column_data_ |
const ColumnDescriptor * | column_descriptor_ |
const BUFFER_DATA_TYPE * | data_buffer_addr_ |
Definition at line 113 of file UpdelStorage.cpp.
using Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::ColumnDataPtr = std::unique_ptr<INSERT_DATA_TYPE, CheckedMallocDeleter<INSERT_DATA_TYPE>> |
Definition at line 115 of file UpdelStorage.cpp.
|
inline |
Definition at line 122 of file UpdelStorage.cpp.
References checked_malloc(), Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::column_data_, Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::data_buffer_addr_, Chunk_NS::Chunk::getBuffer(), and Data_Namespace::AbstractBuffer::getMemoryPtr().
|
inlineoverride |
Definition at line 129 of file UpdelStorage.cpp.
|
inlineoverridevirtual |
Implements Fragmenter_Namespace::ChunkToInsertDataConverter.
Definition at line 137 of file UpdelStorage.cpp.
References Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::column_data_, Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::column_descriptor_, ColumnDescriptor::columnId, Fragmenter_Namespace::InsertData::columnIds, Fragmenter_Namespace::InsertData::data, and DataBlockPtr::numbersPtr.
|
inlineoverridevirtual |
Implements Fragmenter_Namespace::ChunkToInsertDataConverter.
Definition at line 131 of file UpdelStorage.cpp.
References Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::column_data_, and Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::data_buffer_addr_.
const Chunk_NS::Chunk* Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::chunk_ |
Definition at line 117 of file UpdelStorage.cpp.
ColumnDataPtr Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::column_data_ |
Definition at line 118 of file UpdelStorage.cpp.
Referenced by Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::addDataBlocksToInsertData(), Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::convertToColumnarFormat(), and Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::ScalarChunkConverter().
const ColumnDescriptor* Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::column_descriptor_ |
Definition at line 119 of file UpdelStorage.cpp.
Referenced by Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::addDataBlocksToInsertData().
const BUFFER_DATA_TYPE* Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::data_buffer_addr_ |