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

#include <IndexBuilderHelpers.h>

Inherits o2::framework::ChunkedArrayIterator.

Public Member Functions

 SliceBuilder (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 preSlice ()
 
- 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::unique_ptr< arrow::ArrayBuilder > mListBuilder = nullptr
 
std::shared_ptr< arrow::NumericArray< arrow::Int32Type > > mValues = nullptr
 
std::shared_ptr< arrow::NumericArray< arrow::Int64Type > > mCounts = nullptr
 
int mValuePos = 0
 
- 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 79 of file IndexBuilderHelpers.h.

Constructor & Destructor Documentation

◆ SliceBuilder()

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

Definition at line 146 of file IndexBuilderHelpers.cxx.

Member Function Documentation

◆ fill()

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

Definition at line 195 of file IndexBuilderHelpers.cxx.

◆ find()

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

Definition at line 174 of file IndexBuilderHelpers.cxx.

◆ preSlice()

arrow::Status o2::framework::SliceBuilder::preSlice ( )

◆ reset()

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

Definition at line 162 of file IndexBuilderHelpers.cxx.

◆ result()

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

Definition at line 209 of file IndexBuilderHelpers.cxx.

Member Data Documentation

◆ mCounts

std::shared_ptr<arrow::NumericArray<arrow::Int64Type> > o2::framework::SliceBuilder::mCounts = nullptr

Definition at line 83 of file IndexBuilderHelpers.h.

◆ mListBuilder

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

Definition at line 81 of file IndexBuilderHelpers.h.

◆ mValueBuilder

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

Definition at line 80 of file IndexBuilderHelpers.h.

◆ mValuePos

int o2::framework::SliceBuilder::mValuePos = 0

Definition at line 84 of file IndexBuilderHelpers.h.

◆ mValues

std::shared_ptr<arrow::NumericArray<arrow::Int32Type> > o2::framework::SliceBuilder::mValues = nullptr

Definition at line 82 of file IndexBuilderHelpers.h.


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