Column Store
Public Member Functions | Public Attributes | List of all members
ColumnStore::DataRecord Struct Reference

Stores a row of data. More...

#include <DataRecord.h>

Collaboration diagram for ColumnStore::DataRecord:
Collaboration graph

Public Member Functions

 DataRecord ()
 
 DataRecord (std::vector< DataValue > &values)
 
DataValueoperator[] (int index)
 Extracts data value by index. More...
 

Public Attributes

std::vector< DataValuevalues
 

Detailed Description

Stores a row of data.

Internally stores a vector of DataValue objects. Individual data value(s) can be extracted using array like indexing. The type information is not stored in the DataRecord object and has to be extracted from DataRecordMetadata object

See also
DataRecordMetadata
DataValue

Constructor & Destructor Documentation

◆ DataRecord() [1/2]

ColumnStore::DataRecord::DataRecord ( )
inline

◆ DataRecord() [2/2]

ColumnStore::DataRecord::DataRecord ( std::vector< DataValue > &  values)
inline

Member Function Documentation

◆ operator[]()

DataValue& ColumnStore::DataRecord::operator[] ( int  index)
inline

Extracts data value by index.

Parameters
indexcolumn index of the data value
Returns
DataValue at index

Member Data Documentation

◆ values

std::vector<DataValue> ColumnStore::DataRecord::values

The documentation for this struct was generated from the following file: