#include <TableBuilder.h>
|
template<typename... ARGS, size_t NCOLUMNS> |
static std::array< arrow::DataType, NCOLUMNS > | makeArrowColumnTypes () |
|
template<typename... ARGS, size_t NCOLUMNS = sizeof...(ARGS)> |
static std::vector< std::shared_ptr< arrow::Field > > | makeFields (std::array< char const *, NCOLUMNS > const &names) |
|
template<typename... Ts, typename VALUES > |
static bool | append (std::tuple< Ts... > &holders, VALUES &&values) |
| Invokes the append method for each entry in the tuple.
|
|
template<typename... Ts, typename VALUES > |
static void | unsafeAppend (std::tuple< Ts... > &holders, VALUES &&values) |
|
template<typename... Ts, typename PTRS > |
static bool | bulkAppend (std::tuple< Ts... > &holders, size_t bulkSize, PTRS ptrs) |
|
template<typename... Ts, typename INFOS > |
static bool | bulkAppendChunked (std::tuple< Ts... > &holders, INFOS infos) |
| Return true if all columns are done.
|
|
template<typename... Ts> |
static bool | finalize (std::vector< std::shared_ptr< arrow::Array > > &arrays, std::tuple< Ts... > &holders) |
| Invokes the append method for each entry in the tuple.
|
|
template<typename HOLDER > |
static bool | finalize (std::shared_ptr< arrow::Array > &array, HOLDER &holder) |
|
Definition at line 508 of file TableBuilder.h.
◆ append()
template<typename... Ts, typename VALUES >
static bool o2::framework::TableBuilderHelpers::append |
( |
std::tuple< Ts... > & |
holders, |
|
|
VALUES && |
values |
|
) |
| |
|
inlinestatic |
Invokes the append method for each entry in the tuple.
Definition at line 525 of file TableBuilder.h.
◆ bulkAppend()
template<typename... Ts, typename PTRS >
static bool o2::framework::TableBuilderHelpers::bulkAppend |
( |
std::tuple< Ts... > & |
holders, |
|
|
size_t |
bulkSize, |
|
|
PTRS |
ptrs |
|
) |
| |
|
inlinestatic |
◆ bulkAppendChunked()
template<typename... Ts, typename INFOS >
static bool o2::framework::TableBuilderHelpers::bulkAppendChunked |
( |
std::tuple< Ts... > & |
holders, |
|
|
INFOS |
infos |
|
) |
| |
|
inlinestatic |
◆ finalize() [1/2]
template<typename HOLDER >
static bool o2::framework::TableBuilderHelpers::finalize |
( |
std::shared_ptr< arrow::Array > & |
array, |
|
|
HOLDER & |
holder |
|
) |
| |
|
inlinestatic |
◆ finalize() [2/2]
template<typename... Ts>
static bool o2::framework::TableBuilderHelpers::finalize |
( |
std::vector< std::shared_ptr< arrow::Array > > & |
arrays, |
|
|
std::tuple< Ts... > & |
holders |
|
) |
| |
|
inlinestatic |
Invokes the append method for each entry in the tuple.
Definition at line 554 of file TableBuilder.h.
◆ makeArrowColumnTypes()
template<typename... ARGS, size_t NCOLUMNS>
static std::array< arrow::DataType, NCOLUMNS > o2::framework::TableBuilderHelpers::makeArrowColumnTypes |
( |
| ) |
|
|
inlinestatic |
◆ makeFields()
template<typename... ARGS, size_t NCOLUMNS = sizeof...(ARGS)>
static std::vector< std::shared_ptr< arrow::Field > > o2::framework::TableBuilderHelpers::makeFields |
( |
std::array< char const *, NCOLUMNS > const & |
names | ) |
|
|
inlinestatic |
◆ unsafeAppend()
template<typename... Ts, typename VALUES >
static void o2::framework::TableBuilderHelpers::unsafeAppend |
( |
std::tuple< Ts... > & |
holders, |
|
|
VALUES && |
values |
|
) |
| |
|
inlinestatic |
Invokes the UnsafeAppend method for each entry in the tuple For this to be used, one should make sure the number of entries is known a-priori.
Definition at line 534 of file TableBuilder.h.
The documentation for this struct was generated from the following file:
- /home/runner/work/AliceO2/AliceO2/Framework/Core/include/Framework/TableBuilder.h