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

#include <IndexBuilderHelpers.h>

Inherits o2::framework::ChunkedArrayIterator.

Public Member Functions

 SingleBuilder (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
 
- 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

std::unique_ptr< arrow::ArrayBuilder > mBuilder = 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 69 of file IndexBuilderHelpers.h.

Constructor & Destructor Documentation

◆ SingleBuilder()

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

Definition at line 91 of file IndexBuilderHelpers.cxx.

Member Function Documentation

◆ fill()

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

Definition at line 127 of file IndexBuilderHelpers.cxx.

◆ find()

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

Definition at line 106 of file IndexBuilderHelpers.cxx.

◆ reset()

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

Definition at line 100 of file IndexBuilderHelpers.cxx.

◆ result()

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

Definition at line 136 of file IndexBuilderHelpers.cxx.

Member Data Documentation

◆ mBuilder

std::unique_ptr<arrow::ArrayBuilder> o2::framework::SingleBuilder::mBuilder = nullptr

Definition at line 70 of file IndexBuilderHelpers.h.


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