OpenMS
Loading...
Searching...
No Matches
ParquetColumn::StructValue Struct Reference

#include <OpenMS/FORMAT/ArrowIOHelpers.h>

Public Member Functions

 StructValue ()=default
 null
 
 StructValue (std::string v)
 
 StructValue (const char *v)
 (not a bool)
 
 StructValue (Int32 v)
 
 StructValue (bool v)
 
 StructValue (double v)
 
 StructValue (std::vector< StructEntry > v)
 
template<typename T >
 StructValue (const std::optional< T > &v)
 

Public Attributes

std::variant< std::monostate, std::string, Int32, bool, double, std::vector< StructEntry > > value
 

Detailed Description

The value of a field of a STRUCT_LIST entry, of the field's type: none (null), a string (UTF8), an integer (INT32), a bool (BOOL), a double (DOUBLE, FLOAT), or the entries of a nested list (STRUCT_LIST)

Constructor & Destructor Documentation

◆ StructValue() [1/8]

StructValue ( )
default

null

◆ StructValue() [2/8]

StructValue ( std::string  v)
inline

◆ StructValue() [3/8]

StructValue ( const char *  v)
inline

(not a bool)

◆ StructValue() [4/8]

StructValue ( Int32  v)
inline

◆ StructValue() [5/8]

StructValue ( bool  v)
inline

◆ StructValue() [6/8]

StructValue ( double  v)
inline

◆ StructValue() [7/8]

StructValue ( std::vector< StructEntry >  v)
inline

◆ StructValue() [8/8]

template<typename T >
StructValue ( const std::optional< T > &  v)
inline

Member Data Documentation

◆ value

std::variant<std::monostate, std::string, Int32, bool, double, std::vector<StructEntry> > value