![]() |
Project
|
#include <TableBuilder.h>
Public Member Functions | |
void | setLabel (const char *label) |
TableBuilder (arrow::MemoryPool *pool=arrow::default_memory_pool()) | |
~TableBuilder () | |
template<typename ARG0 , typename... ARGS> requires (sizeof...(ARGS) > 0) || ShouldNotDeconstruct<ARG0> | |
auto | persist (std::array< char const *, sizeof...(ARGS)+1 > const &columnNames) |
template<typename ARG0 , typename... ARGS> requires (sizeof...(ARGS) == 0) && (!ShouldNotDeconstruct<ARG0>) | |
auto | persist (std::array< char const *, countColumns< ARG0, ARGS... >()> const &columnNames) |
template<typename... ARGS> | |
auto | persistTuple (framework::pack< ARGS... >, std::array< char const *, sizeof...(ARGS)> const &columnNames) |
Same a the above, but use a tuple to persist stuff. | |
template<typename T > | |
auto | cursor () |
template<typename... Cs> | |
auto | cursor (framework::pack< Cs... >) |
template<typename T , typename E > | |
auto | cursor () |
template<typename... ARGS, size_t NCOLUMNS = sizeof...(ARGS)> | |
auto | preallocatedPersist (std::array< char const *, NCOLUMNS > const &columnNames, int nRows) |
template<typename... ARGS, size_t NCOLUMNS = sizeof...(ARGS)> | |
auto | bulkPersist (std::array< char const *, NCOLUMNS > const &columnNames, size_t nRows) |
template<typename... ARGS, size_t NCOLUMNS = sizeof...(ARGS)> | |
auto | bulkPersistChunked (std::array< char const *, NCOLUMNS > const &columnNames, size_t nRows) |
template<typename... Ts> | |
auto | reserveArrays (std::tuple< Ts... > &holders, int s) |
Reserve method to expand the columns as needed. | |
template<typename... ARGS> | |
auto | reserve (o2::framework::pack< ARGS... > &&, int s) |
void | extracted (bool &status) |
Actually creates the arrow::Table from the builders. | |
std::shared_ptr< arrow::Table > | finalize () |
Static Public Member Functions | |
template<typename ARG0 , typename... ARGS> requires (sizeof...(ARGS) == 0) && (!ShouldNotDeconstruct<ARG0>) | |
static constexpr int | countColumns () |
template<typename ARG0 , typename... ARGS> requires (sizeof...(ARGS) > 0) || ShouldNotDeconstruct<ARG0> | |
static constexpr int | countColumns () |
Helper class which creates a lambda suitable for building an arrow table from a tuple. This can be used, for example to build an arrow::Table from a TDataFrame.
Definition at line 632 of file TableBuilder.h.
|
inline |
Definition at line 684 of file TableBuilder.h.
|
inline |
Definition at line 690 of file TableBuilder.h.
|
inline |
Definition at line 780 of file TableBuilder.h.
|
inline |
Definition at line 793 of file TableBuilder.h.
|
inlinestaticconstexpr |
Definition at line 669 of file TableBuilder.h.
|
inlinestaticconstexpr |
Definition at line 677 of file TableBuilder.h.
|
inline |
Definition at line 744 of file TableBuilder.h.
|
inline |
Definition at line 758 of file TableBuilder.h.
|
inline |
Definition at line 752 of file TableBuilder.h.
void o2::framework::TableBuilder::extracted | ( | bool & | status | ) |
Actually creates the arrow::Table from the builders.
std::shared_ptr< arrow::Table > o2::framework::TableBuilder::finalize | ( | ) |
Definition at line 60 of file TableBuilder.cxx.
|
inline |
Definition at line 712 of file TableBuilder.h.
|
inline |
Creates a lambda which is suitable to persist things in an arrow::Table
Definition at line 699 of file TableBuilder.h.
|
inline |
Same a the above, but use a tuple to persist stuff.
Definition at line 724 of file TableBuilder.h.
|
inline |
Definition at line 766 of file TableBuilder.h.
|
inline |
Definition at line 812 of file TableBuilder.h.
|
inline |
Reserve method to expand the columns as needed.
Definition at line 806 of file TableBuilder.h.
Definition at line 82 of file TableBuilder.cxx.