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, 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, T *data)
 
template<typename HolderType , typename T , int N>
static arrow::Status append (HolderType &holder, T(&data)[N])
 Appender for the array case.
 
template<typename HolderType , typename T , int N>
static arrow::Status append (HolderType &holder, std::array< T, N > const &data)
 Appender for the array case.
 
template<typename HolderType , typename T >
static arrow::Status append (HolderType &holder, std::vector< T > const &data)
 Appender for the vector case.
 
template<typename HolderType , typename T >
static void unsafeAppend (HolderType &holder, std::vector< T > const &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 PTR >
static arrow::Status bulkAppend (HolderType &holder, size_t bulkSize, const PTR ptr)
 
template<typename HolderType , typename PTR >
static arrow::Status bulkAppendChunked (HolderType &holder, BulkInfo< PTR > info)
 
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 105 of file TableBuilder.h.

Member Function Documentation

◆ append() [1/6]

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

Appender for the array case.

Definition at line 153 of file TableBuilder.h.

◆ append() [2/6]

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

Definition at line 226 of file TableBuilder.h.

◆ append() [3/6]

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

Appender for the vector case.

Definition at line 160 of file TableBuilder.h.

◆ append() [4/6]

template<typename HolderType , typename T >
static arrow::Status o2::framework::BuilderUtils::append ( HolderType &  holder,
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 136 of file TableBuilder.h.

◆ append() [5/6]

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

Definition at line 121 of file TableBuilder.h.

◆ append() [6/6]

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

Appender for the array case.

Definition at line 146 of file TableBuilder.h.

◆ appendToList()

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

Definition at line 107 of file TableBuilder.h.

◆ bulkAppend()

template<typename HolderType , typename PTR >
static arrow::Status o2::framework::BuilderUtils::bulkAppend ( HolderType &  holder,
size_t  bulkSize,
const PTR  ptr 
)
inlinestatic

Definition at line 198 of file TableBuilder.h.

◆ bulkAppendChunked()

template<typename HolderType , typename PTR >
static arrow::Status o2::framework::BuilderUtils::bulkAppendChunked ( HolderType &  holder,
BulkInfo< PTR >  info 
)
inlinestatic

Definition at line 204 of file TableBuilder.h.

◆ flush()

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

Definition at line 127 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 238 of file TableBuilder.h.

◆ unsafeAppend() [2/4]

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

Definition at line 173 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 188 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 182 of file TableBuilder.h.


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