Project
Loading...
Searching...
No Matches
o2::framework::BuilderUtils Struct Reference

#include <TableBuilder.h>

Static Public Member Functions

template<typename T >
static arrow::Status appendToList (std::unique_ptr< arrow::FixedSizeListBuilder > &builder, const T *data, int size=1)
 
template<typename HolderType , typename T >
static arrow::Status append (HolderType &holder, T value)
 
template<typename HolderType >
static arrow::Status flush (HolderType &holder)
 
template<typename HolderType , typename T >
static arrow::Status append (HolderType &holder, const T *data)
 
template<typename HolderType , typename T , int N>
static arrow::Status append (HolderType &holder, const T(&data)[N])
 Appender for the array case.
 
template<typename HolderType , typename T , int N>
static arrow::Status append (HolderType &holder, std::array< const T, N > const &data)
 Appender for the array case.
 
template<typename HolderType , typename T >
static arrow::Status append (HolderType &holder, std::span< const T > data)
 Appender for the vector case.
 
template<typename HolderType , typename T >
static void unsafeAppend (HolderType &holder, std::span< const T > value)
 
template<typename HolderType , typename T >
static void unsafeAppend (HolderType &holder, T value)
 
template<typename HolderType , typename T >
static void unsafeAppend (HolderType &holder, T *value)
 
template<typename HolderType , typename ITERATOR >
static arrow::Status append (HolderType &holder, std::pair< ITERATOR, ITERATOR > ip)
 
template<typename HolderType , typename ITERATOR >
static void unsafeAppend (HolderType &holder, std::pair< ITERATOR, ITERATOR > ip)
 

Detailed Description

Definition at line 106 of file TableBuilder.h.

Member Function Documentation

◆ append() [1/6]

template<typename HolderType , typename T >
static arrow::Status o2::framework::BuilderUtils::append ( HolderType &  holder,
const T *  data 
)
inlinestatic

Appender for the pointer case. Assumes that the pointer actually points to a buffer which contains the correct number of elements.

Definition at line 137 of file TableBuilder.h.

◆ append() [2/6]

template<typename HolderType , typename T , int N>
static arrow::Status o2::framework::BuilderUtils::append ( HolderType &  holder,
const T(&)  data[N] 
)
inlinestatic

Appender for the array case.

Definition at line 147 of file TableBuilder.h.

◆ append() [3/6]

template<typename HolderType , typename T , int N>
static arrow::Status o2::framework::BuilderUtils::append ( HolderType &  holder,
std::array< const T, N > const &  data 
)
inlinestatic

Appender for the array case.

Definition at line 154 of file TableBuilder.h.

◆ append() [4/6]

template<typename HolderType , typename ITERATOR >
static arrow::Status o2::framework::BuilderUtils::append ( HolderType &  holder,
std::pair< ITERATOR, ITERATOR >  ip 
)
inlinestatic

Definition at line 199 of file TableBuilder.h.

◆ append() [5/6]

template<typename HolderType , typename T >
static arrow::Status o2::framework::BuilderUtils::append ( HolderType &  holder,
std::span< const T >  data 
)
inlinestatic

Appender for the vector case.

Definition at line 161 of file TableBuilder.h.

◆ append() [6/6]

template<typename HolderType , typename T >
static arrow::Status o2::framework::BuilderUtils::append ( HolderType &  holder,
value 
)
inlinestatic

Definition at line 122 of file TableBuilder.h.

◆ appendToList()

template<typename T >
static arrow::Status o2::framework::BuilderUtils::appendToList ( std::unique_ptr< arrow::FixedSizeListBuilder > &  builder,
const T *  data,
int  size = 1 
)
inlinestatic

Definition at line 108 of file TableBuilder.h.

◆ flush()

template<typename HolderType >
static arrow::Status o2::framework::BuilderUtils::flush ( HolderType &  holder)
inlinestatic

Definition at line 128 of file TableBuilder.h.

◆ unsafeAppend() [1/4]

template<typename HolderType , typename ITERATOR >
static void o2::framework::BuilderUtils::unsafeAppend ( HolderType &  holder,
std::pair< ITERATOR, ITERATOR >  ip 
)
inlinestatic

Definition at line 211 of file TableBuilder.h.

◆ unsafeAppend() [2/4]

template<typename HolderType , typename T >
static void o2::framework::BuilderUtils::unsafeAppend ( HolderType &  holder,
std::span< const T >  value 
)
inlinestatic

Definition at line 174 of file TableBuilder.h.

◆ unsafeAppend() [3/4]

template<typename HolderType , typename T >
static void o2::framework::BuilderUtils::unsafeAppend ( HolderType &  holder,
T *  value 
)
inlinestatic

Definition at line 189 of file TableBuilder.h.

◆ unsafeAppend() [4/4]

template<typename HolderType , typename T >
static void o2::framework::BuilderUtils::unsafeAppend ( HolderType &  holder,
value 
)
inlinestatic

Definition at line 183 of file TableBuilder.h.


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