Struct Fragmenter_Namespace::ScalarChunkConverter

template<typename BUFFER_DATA_TYPE, typename INSERT_DATA_TYPE>
struct ScalarChunkConverter : public Fragmenter_Namespace::ChunkToInsertDataConverter

Public Types

template<>
using ColumnDataPtr = std::unique_ptr<INSERT_DATA_TYPE, CheckedMallocDeleter<INSERT_DATA_TYPE>>

Public Functions

ScalarChunkConverter(const size_t num_rows, const Chunk_NS::Chunk *chunk)
~ScalarChunkConverter()
void convertToColumnarFormat(size_t row, size_t indexInFragment)
void addDataBlocksToInsertData(Fragmenter_Namespace::InsertData &insertData)

Public Members

const Chunk_NS::Chunk *chunk_
ColumnDataPtr column_data_
const ColumnDescriptor *column_descriptor_
const BUFFER_DATA_TYPE *data_buffer_addr_