Project
Loading...
Searching...
No Matches
TableBuilder.h File Reference
#include "Framework/ASoA.h"
#include "Framework/StructToTuple.h"
#include "Framework/RuntimeError.h"
#include "arrow/type_traits.h"
#include <sstream>
#include <arrow/chunked_array.h>
#include <arrow/status.h>
#include <arrow/memory_pool.h>
#include <arrow/stl.h>
#include <arrow/table.h>
#include <arrow/builder.h>
#include <vector>
#include <string>
#include <memory>
#include <tuple>
#include <type_traits>
#include <concepts>

Go to the source code of this file.

Classes

struct  BulkInfo< T >
 
struct  o2::framework::detail::ConversionTraits< T >
 FIXME: adapt type conversion to new arrow. More...
 
struct  o2::framework::detail::ConversionTraits< T(&)[N]>
 
struct  o2::framework::detail::ConversionTraits< T[N]>
 
struct  o2::framework::detail::ConversionTraits< std::array< T, N > >
 
struct  o2::framework::detail::ConversionTraits< std::vector< T > >
 
struct  o2::framework::BuilderUtils
 
struct  o2::framework::BuilderMaker< T >
 
struct  o2::framework::BuilderMaker< bool >
 
struct  o2::framework::BuilderMaker< std::pair< ITERATOR, ITERATOR > >
 
struct  o2::framework::BuilderMaker< T(&)[N]>
 
struct  o2::framework::BuilderMaker< T[N]>
 
struct  o2::framework::BuilderMaker< std::array< T, N > >
 
struct  o2::framework::BuilderMaker< std::vector< T > >
 
struct  o2::framework::BuilderTraits< T >
 
struct  o2::framework::BuilderTraits< std::pair< ITERATOR, ITERATOR > >
 
struct  o2::framework::BuilderTraits< T[N]>
 
struct  o2::framework::BuilderTraits< std::vector< T > >
 
struct  o2::framework::DirectInsertion< T >
 
struct  o2::framework::CachedInsertion< T >
 
struct  o2::framework::BuilderHolder< I, T, P >
 
struct  o2::framework::TableBuilderHelpers
 
struct  o2::framework::InsertionTrait< T >
 
class  o2::framework::TableBuilder
 

Namespaces

namespace  arrow
 
namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::framework
 Defining PrimaryVertex explicitly as messageable.
 
namespace  o2::framework::detail
 

Concepts

concept  o2::framework::BulkInsertable
 
concept  o2::framework::ShouldNotDeconstruct
 

Macros

#define O2_ARROW_STL_CONVERSION(c_type, ArrowType_)
 

Typedefs

template<typename... ARGS>
using o2::framework::IndexedHoldersTuple = decltype(makeHolderTypes< ARGS... >())
 
template<typename... T>
using o2::framework::iterator_tuple_t = std::tuple< typename T::iterator... >
 

Functions

void o2::framework::addLabelToSchema (std::shared_ptr< arrow::Schema > &schema, const char *label)
 
template<typename... ARGS>
auto o2::framework::make_builders ()
 
template<typename... ARGS>
constexpr auto o2::framework::tuple_to_pack (std::tuple< ARGS... > &&)
 
template<class T >
auto constexpr o2::framework::to_tuple (T &&object) noexcept
 
template<typename... ARGS>
constexpr auto o2::framework::makeHolderTypes ()
 
template<typename... ARGS>
auto o2::framework::makeHolders (arrow::MemoryPool *pool, size_t nRows)
 
template<typename T >
auto o2::framework::makeEmptyTable (const char *name)
 
template<soa::TableRef R>
auto o2::framework::makeEmptyTable ()
 
template<typename... Cs>
auto o2::framework::makeEmptyTable (const char *name, framework::pack< Cs... > p)
 
std::shared_ptr< arrow::Table > o2::framework::spawnerHelper (std::shared_ptr< arrow::Table > const &fullTable, std::shared_ptr< arrow::Schema > newSchema, size_t nColumns, expressions::Projector *projectors, std::vector< std::shared_ptr< arrow::Field > > const &fields, const char *name)
 
template<aod::is_aod_hash D>
auto o2::framework::spawner (std::vector< std::shared_ptr< arrow::Table > > &&tables, const char *name)
 Expression-based column generator to materialize columns.
 
template<aod::is_aod_hash D>
auto o2::framework::spawner (std::shared_ptr< arrow::Table > const &fullTable, const char *name)
 
template<typename... C>
auto o2::framework::spawner (framework::pack< C... > columns, std::vector< std::shared_ptr< arrow::Table > > &&tables, const char *name)
 

Macro Definition Documentation

◆ O2_ARROW_STL_CONVERSION

#define O2_ARROW_STL_CONVERSION (   c_type,
  ArrowType_ 
)
Value:
template <> \
struct ConversionTraits<c_type> { \
using ArrowType = ::arrow::ArrowType_; \
};

Definition at line 80 of file TableBuilder.h.