Implementation of a single data element.
More...
#include <DataRecord.h>
Implementation of a single data element.
The object can hold any data type. The actual data can be extracted by using as<T>() function where T is the type. Type information itself is not stored in the DataValue object and has to be inferred from DataRecordMetadata objects.
- See also
- DataRecord
-
DataRecordMetadata
◆ DataValue()
ColumnStore::DataValue::DataValue |
( |
std::any |
value | ) |
|
|
inline |
◆ as()
template<typename T >
const T ColumnStore::DataValue::as |
( |
| ) |
const |
|
inline |
Extracts value by type.
- Template Parameters
-
T | the type of data stored in the value |
- Returns
- actual datavalue after casting
◆ get()
std::any ColumnStore::DataValue::get |
( |
| ) |
|
|
inline |
◆ operator float()
ColumnStore::DataValue::operator float |
( |
| ) |
|
|
inline |
◆ operator int()
ColumnStore::DataValue::operator int |
( |
| ) |
|
|
inline |
◆ operator std::string()
ColumnStore::DataValue::operator std::string |
( |
| ) |
|
|
inline |
◆ operator=()
void ColumnStore::DataValue::operator= |
( |
std::any |
value | ) |
|
|
inline |
◆ value
std::any ColumnStore::DataValue::value |
|
private |
The documentation for this class was generated from the following file: