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

#include <OpenMS/FORMAT/ArrowIOHelpers.h>

Public Member Functions

 StructField ()=default
 
 StructField (std::string field_name, Type field_type, bool field_nullable=true, std::vector< StructField > struct_fields={})
 

Public Attributes

std::string name
 
Type type = Type::UTF8
 
bool nullable = true
 
std::vector< StructField > fields
 STRUCT_LIST: the fields of its struct.
 

Detailed Description

A field of the struct of a STRUCT_LIST column: of type UTF8, INT32, BOOL, FLOAT (float32, from a double value), DOUBLE, or STRUCT_LIST (a list of structs of its own fields)

Constructor & Destructor Documentation

◆ StructField() [1/2]

StructField ( )
default

◆ StructField() [2/2]

StructField ( std::string  field_name,
Type  field_type,
bool  field_nullable = true,
std::vector< StructField >  struct_fields = {} 
)
inline

Member Data Documentation

◆ fields

std::vector<StructField> fields

STRUCT_LIST: the fields of its struct.

◆ name

std::string name

◆ nullable

bool nullable = true

◆ type

Type type = Type::UTF8