Project
Loading...
Searching...
No Matches
o2::framework::ArrayBuilder Struct Reference

#include <IndexBuilderHelpers.h>

Inherits o2::framework::ChunkedArrayIterator.

Public Member Functions

 ArrayBuilder (std::shared_ptr< arrow::ChunkedArray > source, arrow::MemoryPool *pool)
 
void reset (std::shared_ptr< arrow::ChunkedArray > source)
 
bool find (int idx)
 
void fill (int idx)
 
std::shared_ptr< arrow::ChunkedArray > result () const
 
arrow::Status preFind ()
 
- Public Member Functions inherited from o2::framework::ChunkedArrayIterator
 ChunkedArrayIterator (std::shared_ptr< arrow::ChunkedArray > source)
 
void reset (std::shared_ptr< arrow::ChunkedArray > &source)
 
std::shared_ptr< arrow::Int32Array > getCurrentArray ()
 
void nextChunk ()
 
void prevChunk ()
 
int valueAt (size_t pos)
 

Public Attributes

arrow::ArrayBuilder * mValueBuilder = nullptr
 
std::vector< intmValues
 
std::vector< std::vector< int > > mIndices
 
std::unique_ptr< arrow::ArrayBuilder > mListBuilder = nullptr
 
- Public Attributes inherited from o2::framework::ChunkedArrayIterator
std::shared_ptr< arrow::ChunkedArray > mSource = nullptr
 
size_t mPosition = 0
 
int mChunk = 0
 
size_t mOffset = 0
 
std::shared_ptr< arrow::Int32Array > mCurrentArray = nullptr
 
int const * mCurrent = nullptr
 
int const * mLast = nullptr
 
size_t mFirstIndex = 0
 
size_t mSourceSize = 0
 

Detailed Description

Definition at line 95 of file IndexBuilderHelpers.h.

Constructor & Destructor Documentation

◆ ArrayBuilder()

o2::framework::ArrayBuilder::ArrayBuilder ( std::shared_ptr< arrow::ChunkedArray >  source,
arrow::MemoryPool *  pool 
)

Definition at line 230 of file IndexBuilderHelpers.cxx.

Member Function Documentation

◆ fill()

void o2::framework::ArrayBuilder::fill ( int  idx)

Definition at line 262 of file IndexBuilderHelpers.cxx.

◆ find()

bool o2::framework::ArrayBuilder::find ( int  idx)

Definition at line 257 of file IndexBuilderHelpers.cxx.

◆ preFind()

arrow::Status o2::framework::ArrayBuilder::preFind ( )

Definition at line 282 of file IndexBuilderHelpers.cxx.

◆ reset()

void o2::framework::ArrayBuilder::reset ( std::shared_ptr< arrow::ChunkedArray >  source)

Definition at line 246 of file IndexBuilderHelpers.cxx.

◆ result()

std::shared_ptr< arrow::ChunkedArray > o2::framework::ArrayBuilder::result ( ) const

Definition at line 272 of file IndexBuilderHelpers.cxx.

Member Data Documentation

◆ mIndices

std::vector<std::vector<int> > o2::framework::ArrayBuilder::mIndices

Definition at line 98 of file IndexBuilderHelpers.h.

◆ mListBuilder

std::unique_ptr<arrow::ArrayBuilder> o2::framework::ArrayBuilder::mListBuilder = nullptr

Definition at line 99 of file IndexBuilderHelpers.h.

◆ mValueBuilder

arrow::ArrayBuilder* o2::framework::ArrayBuilder::mValueBuilder = nullptr

Definition at line 96 of file IndexBuilderHelpers.h.

◆ mValues

std::vector<int> o2::framework::ArrayBuilder::mValues

Definition at line 97 of file IndexBuilderHelpers.h.


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