Project
Loading...
Searching...
No Matches
o2::framework::Defines< T, DELAYED > Struct Template Reference

#include <AnalysisHelpers.h>

Inherits decltypetransformBase< T >.

Public Types

using spawnable_t = T
 
using metadata = decltype(transformBase< T >())::metadata
 
using extension_t = typename metadata::extension_table_t
 
using base_table_t = typename metadata::base_table_t
 
using placeholders_pack_t = typename metadata::placeholders_pack_t
 

Public Member Functions

constexpr auto pack ()
 
T::table_t * operator-> ()
 
T::table_t const & operator* () const
 
auto asArrowTable ()
 
void recompile ()
 

Public Attributes

std::shared_ptr< typename T::table_t > table = nullptr
 
std::shared_ptr< extension_textension = nullptr
 
std::array< o2::framework::expressions::Projector, Nprojectors
 
std::shared_ptr< gandiva::Projector > projector = nullptr
 
std::shared_ptr< arrow::Schema > schema = std::make_shared<arrow::Schema>(o2::soa::createFieldsFromColumns(placeholders_pack_t{}))
 
std::shared_ptr< arrow::Schema > inputSchema = nullptr
 
bool needRecompilation = false
 

Static Public Attributes

static constexpr bool delayed = DELAYED
 
static constexpr size_t N = framework::pack_size(placeholders_pack_t{})
 

Detailed Description

template<is_dynamically_spawnable T, bool DELAYED = false>
struct o2::framework::Defines< T, DELAYED >

This helper struct allows you to declare extended tables with dynamically-supplied expressions to be created by the task The actual expressions have to be set in init() for the configurable expression columns, used to define the table

Definition at line 344 of file AnalysisHelpers.h.

Member Typedef Documentation

◆ base_table_t

template<is_dynamically_spawnable T, bool DELAYED = false>
using o2::framework::Defines< T, DELAYED >::base_table_t = typename metadata::base_table_t

Definition at line 349 of file AnalysisHelpers.h.

◆ extension_t

template<is_dynamically_spawnable T, bool DELAYED = false>
using o2::framework::Defines< T, DELAYED >::extension_t = typename metadata::extension_table_t

Definition at line 348 of file AnalysisHelpers.h.

◆ metadata

template<is_dynamically_spawnable T, bool DELAYED = false>
using o2::framework::Defines< T, DELAYED >::metadata = decltype(transformBase<T>())::metadata

Definition at line 347 of file AnalysisHelpers.h.

◆ placeholders_pack_t

template<is_dynamically_spawnable T, bool DELAYED = false>
using o2::framework::Defines< T, DELAYED >::placeholders_pack_t = typename metadata::placeholders_pack_t

Definition at line 350 of file AnalysisHelpers.h.

◆ spawnable_t

template<is_dynamically_spawnable T, bool DELAYED = false>
using o2::framework::Defines< T, DELAYED >::spawnable_t = T

Definition at line 346 of file AnalysisHelpers.h.

Member Function Documentation

◆ asArrowTable()

template<is_dynamically_spawnable T, bool DELAYED = false>
auto o2::framework::Defines< T, DELAYED >::asArrowTable ( )
inline

Definition at line 367 of file AnalysisHelpers.h.

◆ operator*()

template<is_dynamically_spawnable T, bool DELAYED = false>
T::table_t const & o2::framework::Defines< T, DELAYED >::operator* ( ) const
inline

Definition at line 362 of file AnalysisHelpers.h.

◆ operator->()

template<is_dynamically_spawnable T, bool DELAYED = false>
T::table_t * o2::framework::Defines< T, DELAYED >::operator-> ( )
inline

Definition at line 358 of file AnalysisHelpers.h.

◆ pack()

template<is_dynamically_spawnable T, bool DELAYED = false>
constexpr auto o2::framework::Defines< T, DELAYED >::pack ( )
inlineconstexpr

Definition at line 353 of file AnalysisHelpers.h.

◆ recompile()

template<is_dynamically_spawnable T, bool DELAYED = false>
void o2::framework::Defines< T, DELAYED >::recompile ( )
inline

Definition at line 381 of file AnalysisHelpers.h.

Member Data Documentation

◆ delayed

template<is_dynamically_spawnable T, bool DELAYED = false>
constexpr bool o2::framework::Defines< T, DELAYED >::delayed = DELAYED
staticconstexpr

Definition at line 345 of file AnalysisHelpers.h.

◆ extension

template<is_dynamically_spawnable T, bool DELAYED = false>
std::shared_ptr<extension_t> o2::framework::Defines< T, DELAYED >::extension = nullptr

Definition at line 372 of file AnalysisHelpers.h.

◆ inputSchema

template<is_dynamically_spawnable T, bool DELAYED = false>
std::shared_ptr<arrow::Schema> o2::framework::Defines< T, DELAYED >::inputSchema = nullptr

Definition at line 377 of file AnalysisHelpers.h.

◆ N

template<is_dynamically_spawnable T, bool DELAYED = false>
constexpr size_t o2::framework::Defines< T, DELAYED >::N = framework::pack_size(placeholders_pack_t{})
staticconstexpr

Definition at line 351 of file AnalysisHelpers.h.

◆ needRecompilation

template<is_dynamically_spawnable T, bool DELAYED = false>
bool o2::framework::Defines< T, DELAYED >::needRecompilation = false

Definition at line 379 of file AnalysisHelpers.h.

◆ projector

template<is_dynamically_spawnable T, bool DELAYED = false>
std::shared_ptr<gandiva::Projector> o2::framework::Defines< T, DELAYED >::projector = nullptr

Definition at line 375 of file AnalysisHelpers.h.

◆ projectors

template<is_dynamically_spawnable T, bool DELAYED = false>
std::array<o2::framework::expressions::Projector, N> o2::framework::Defines< T, DELAYED >::projectors

Definition at line 374 of file AnalysisHelpers.h.

◆ schema

template<is_dynamically_spawnable T, bool DELAYED = false>
std::shared_ptr<arrow::Schema> o2::framework::Defines< T, DELAYED >::schema = std::make_shared<arrow::Schema>(o2::soa::createFieldsFromColumns(placeholders_pack_t{}))

Definition at line 376 of file AnalysisHelpers.h.

◆ table

template<is_dynamically_spawnable T, bool DELAYED = false>
std::shared_ptr<typename T::table_t> o2::framework::Defines< T, DELAYED >::table = nullptr

Definition at line 371 of file AnalysisHelpers.h.


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