OmniSciDB
a5dc49c757
|
Public Types | |
using | ColumnDataPtr = std::unique_ptr< int64_t, CheckedMallocDeleter< int64_t >> |
Public Member Functions | |
DateChunkConverter (const size_t num_rows, const Chunk_NS::Chunk *chunk) | |
~DateChunkConverter () 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 237 of file UpdelStorage.cpp.
using Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::ColumnDataPtr = std::unique_ptr<int64_t, CheckedMallocDeleter<int64_t>> |
Definition at line 238 of file UpdelStorage.cpp.
|
inline |
Definition at line 245 of file UpdelStorage.cpp.
References checked_malloc(), Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::column_data_, Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::data_buffer_addr_, Chunk_NS::Chunk::getBuffer(), and Data_Namespace::AbstractBuffer::getMemoryPtr().
|
inlineoverride |
Definition at line 252 of file UpdelStorage.cpp.
|
inlineoverridevirtual |
Implements Fragmenter_Namespace::ChunkToInsertDataConverter.
Definition at line 260 of file UpdelStorage.cpp.
References Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::column_data_, Fragmenter_Namespace::DateChunkConverter< BUFFER_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 254 of file UpdelStorage.cpp.
References Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::column_data_, Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::data_buffer_addr_, and DateConverters::get_epoch_seconds_from_days().
const Chunk_NS::Chunk* Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::chunk_ |
Definition at line 240 of file UpdelStorage.cpp.
ColumnDataPtr Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::column_data_ |
Definition at line 241 of file UpdelStorage.cpp.
Referenced by Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::addDataBlocksToInsertData(), Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::convertToColumnarFormat(), and Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::DateChunkConverter().
const ColumnDescriptor* Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::column_descriptor_ |
Definition at line 242 of file UpdelStorage.cpp.
Referenced by Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::addDataBlocksToInsertData().
const BUFFER_DATA_TYPE* Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::data_buffer_addr_ |
Definition at line 243 of file UpdelStorage.cpp.
Referenced by Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::convertToColumnarFormat(), and Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::DateChunkConverter().