Project
Loading...
Searching...
No Matches
o2::soa::Filtered< T > Class Template Reference

#include <ASoA.h>

Inherits o2::soa::FilteredBase< T >.

Inherited by o2::soa::SmallGroupsBase< T, APPLY >.

Public Types

using base_t = T
 
using self_t = Filtered< T >
 
using table_t = typename T::table_t
 
using columns_t = typename T::columns_t
 
using iterator = T::template iterator_template_o< FilteredIndexPolicy, self_t >
 
using unfiltered_iterator = T::template iterator_template_o< DefaultIndexPolicy, self_t >
 
using const_iterator = iterator
 
- Public Types inherited from o2::soa::FilteredBase< T >
using self_t = FilteredBase< T >
 
using table_t = typename T::table_t
 
using columns_t = typename T::columns_t
 
using persistent_columns_t = typename T::persistent_columns_t
 
using external_index_columns_t = typename T::external_index_columns_t
 
using iterator = T::template iterator_template_o< FilteredIndexPolicy, self_t >
 
using unfiltered_iterator = T::template iterator_template_o< DefaultIndexPolicy, self_t >
 
using const_iterator = iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
 Filtered (std::vector< std::shared_ptr< arrow::Table > > &&tables, gandiva::Selection const &selection, uint64_t offset=0)
 
 Filtered (std::vector< std::shared_ptr< arrow::Table > > &&tables, SelectionVector &&selection, uint64_t offset=0)
 
 Filtered (std::vector< std::shared_ptr< arrow::Table > > &&tables, gsl::span< int64_t const > const &selection, uint64_t offset=0)
 
Filtered< T > operator+ (SelectionVector const &selection)
 
Filtered< T > operator+ (gsl::span< int64_t const > const &selection)
 
Filtered< T > operator+ (Filtered< T > const &other)
 
Filtered< T > operator+= (SelectionVector const &selection)
 
Filtered< T > operator+= (gsl::span< int64_t const > const &selection)
 
Filtered< T > operator+= (Filtered< T > const &other)
 
Filtered< T > operator* (SelectionVector const &selection)
 
Filtered< T > operator* (gsl::span< int64_t const > const &selection)
 
Filtered< T > operator* (Filtered< T > const &other)
 
Filtered< T > operator*= (SelectionVector const &selection)
 
Filtered< T > operator*= (gsl::span< int64_t const > const &selection)
 
Filtered< T > operator*= (Filtered< T > const &other)
 
unfiltered_iterator rawIteratorAt (uint64_t i) const
 
auto rawSlice (uint64_t start, uint64_t end) const
 
auto emptySlice () const
 
template<typename T1 >
auto rawSliceBy (o2::framework::Preslice< T1 > const &container, int value) const
 
auto sliceByCached (framework::expressions::BindingNode const &node, int value, o2::framework::SliceCache &cache) const
 
auto sliceByCachedUnsorted (framework::expressions::BindingNode const &node, int value, o2::framework::SliceCache &cache) const
 
template<typename T1 , bool OPT>
auto sliceBy (o2::framework::PresliceBase< T1, framework::PreslicePolicySorted, OPT > const &container, int value) const
 
template<typename T1 , bool OPT>
auto sliceBy (o2::framework::PresliceBase< T1, framework::PreslicePolicyGeneral, OPT > const &container, int value) const
 
auto select (framework::expressions::Filter const &f) const
 
- Public Member Functions inherited from o2::soa::FilteredBase< T >
 FilteredBase (std::vector< std::shared_ptr< arrow::Table > > &&tables, gandiva::Selection const &selection, uint64_t offset=0)
 
 FilteredBase (std::vector< std::shared_ptr< arrow::Table > > &&tables, SelectionVector &&selection, uint64_t offset=0)
 
 FilteredBase (std::vector< std::shared_ptr< arrow::Table > > &&tables, gsl::span< int64_t const > const &selection, uint64_t offset=0)
 
iterator begin ()
 
const_iterator begin () const
 
unfiltered_iterator rawIteratorAt (uint64_t i) const
 
RowViewSentinel end () const
 
auto & cached_begin ()
 
auto const & cached_begin () const
 
iterator iteratorAt (uint64_t i) const
 
int64_t size () const
 
int64_t tableSize () const
 
auto const & getSelectedRows () const
 
auto rawSlice (uint64_t start, uint64_t end) const
 
auto emptySlice () const
 
template<typename... TA>
void bindExternalIndices (TA *... current)
 
void bindExternalIndicesRaw (std::vector< o2::soa::Binding > &&ptrs)
 
template<typename I >
void bindInternalIndicesTo (I const *ptr)
 
template<typename T1 , typename... Cs>
void doCopyIndexBindings (framework::pack< Cs... >, T1 &dest) const
 
template<typename T1 >
void copyIndexBindings (T1 &dest) const
 
template<typename T1 >
auto rawSliceBy (o2::framework::Preslice< T1 > const &container, int value) const
 
auto sliceByCached (framework::expressions::BindingNode const &node, int value, o2::framework::SliceCache &cache) const
 
auto sliceByCachedUnsorted (framework::expressions::BindingNode const &node, int value, o2::framework::SliceCache &cache) const
 
template<typename T1 , bool OPT>
auto sliceBy (o2::framework::PresliceBase< T1, framework::PreslicePolicySorted, OPT > const &container, int value) const
 
template<typename T1 , bool OPT>
auto sliceBy (o2::framework::PresliceBase< T1, framework::PreslicePolicyGeneral, OPT > const &container, int value) const
 
auto select (framework::expressions::Filter const &f) const
 
int isInSelectedRows (int i) const
 
void sumWithSelection (SelectionVector const &selection)
 
void intersectWithSelection (SelectionVector const &selection)
 
void sumWithSelection (gsl::span< int64_t const > const &selection)
 
void intersectWithSelection (gsl::span< int64_t const > const &selection)
 
bool isCached () const
 

Additional Inherited Members

- Static Public Member Functions inherited from o2::soa::FilteredBase< T >
static auto getSpan (gandiva::Selection const &sel)
 

Detailed Description

template<typename T>
class o2::soa::Filtered< T >

Definition at line 3546 of file ASoA.h.

Member Typedef Documentation

◆ base_t

template<typename T >
using o2::soa::Filtered< T >::base_t = T

Definition at line 3549 of file ASoA.h.

◆ columns_t

template<typename T >
using o2::soa::Filtered< T >::columns_t = typename T::columns_t

Definition at line 3552 of file ASoA.h.

◆ const_iterator

template<typename T >
using o2::soa::Filtered< T >::const_iterator = iterator

Definition at line 3556 of file ASoA.h.

◆ iterator

template<typename T >
using o2::soa::Filtered< T >::iterator = T::template iterator_template_o<FilteredIndexPolicy, self_t>

Definition at line 3554 of file ASoA.h.

◆ self_t

template<typename T >
using o2::soa::Filtered< T >::self_t = Filtered<T>

Definition at line 3550 of file ASoA.h.

◆ table_t

template<typename T >
using o2::soa::Filtered< T >::table_t = typename T::table_t

Definition at line 3551 of file ASoA.h.

◆ unfiltered_iterator

template<typename T >
using o2::soa::Filtered< T >::unfiltered_iterator = T::template iterator_template_o<DefaultIndexPolicy, self_t>

Definition at line 3555 of file ASoA.h.

Constructor & Destructor Documentation

◆ Filtered() [1/3]

template<typename T >
o2::soa::Filtered< T >::Filtered ( std::vector< std::shared_ptr< arrow::Table > > &&  tables,
gandiva::Selection const &  selection,
uint64_t  offset = 0 
)
inline

Definition at line 3568 of file ASoA.h.

◆ Filtered() [2/3]

template<typename T >
o2::soa::Filtered< T >::Filtered ( std::vector< std::shared_ptr< arrow::Table > > &&  tables,
SelectionVector &&  selection,
uint64_t  offset = 0 
)
inline

Definition at line 3571 of file ASoA.h.

◆ Filtered() [3/3]

template<typename T >
o2::soa::Filtered< T >::Filtered ( std::vector< std::shared_ptr< arrow::Table > > &&  tables,
gsl::span< int64_t const > const &  selection,
uint64_t  offset = 0 
)
inline

Definition at line 3574 of file ASoA.h.

Member Function Documentation

◆ begin() [1/2]

template<typename T >
iterator o2::soa::Filtered< T >::begin ( )
inline

Definition at line 3558 of file ASoA.h.

◆ begin() [2/2]

template<typename T >
const_iterator o2::soa::Filtered< T >::begin ( ) const
inline

Definition at line 3563 of file ASoA.h.

◆ emptySlice()

template<typename T >
auto o2::soa::Filtered< T >::emptySlice ( ) const
inline

Definition at line 3666 of file ASoA.h.

◆ operator*() [1/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator* ( Filtered< T > const &  other)
inline

Definition at line 3627 of file ASoA.h.

◆ operator*() [2/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator* ( gsl::span< int64_t const > const &  selection)
inline

Definition at line 3620 of file ASoA.h.

◆ operator*() [3/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator* ( SelectionVector const &  selection)
inline

Definition at line 3613 of file ASoA.h.

◆ operator*=() [1/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator*= ( Filtered< T > const &  other)
inline

Definition at line 3644 of file ASoA.h.

◆ operator*=() [2/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator*= ( gsl::span< int64_t const > const &  selection)
inline

Definition at line 3638 of file ASoA.h.

◆ operator*=() [3/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator*= ( SelectionVector const &  selection)
inline

Definition at line 3632 of file ASoA.h.

◆ operator+() [1/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator+ ( Filtered< T > const &  other)
inline

Definition at line 3591 of file ASoA.h.

◆ operator+() [2/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator+ ( gsl::span< int64_t const > const &  selection)
inline

Definition at line 3584 of file ASoA.h.

◆ operator+() [3/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator+ ( SelectionVector const &  selection)
inline

Definition at line 3577 of file ASoA.h.

◆ operator+=() [1/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator+= ( Filtered< T > const &  other)
inline

Definition at line 3608 of file ASoA.h.

◆ operator+=() [2/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator+= ( gsl::span< int64_t const > const &  selection)
inline

Definition at line 3602 of file ASoA.h.

◆ operator+=() [3/3]

template<typename T >
Filtered< T > o2::soa::Filtered< T >::operator+= ( SelectionVector const &  selection)
inline

Definition at line 3596 of file ASoA.h.

◆ rawIteratorAt()

template<typename T >
unfiltered_iterator o2::soa::Filtered< T >::rawIteratorAt ( uint64_t  i) const
inline

Definition at line 3649 of file ASoA.h.

◆ rawSlice()

template<typename T >
auto o2::soa::Filtered< T >::rawSlice ( uint64_t  start,
uint64_t  end 
) const
inline

Definition at line 3658 of file ASoA.h.

◆ rawSliceBy()

template<typename T >
template<typename T1 >
auto o2::soa::Filtered< T >::rawSliceBy ( o2::framework::Preslice< T1 > const &  container,
int  value 
) const
inline

Definition at line 3672 of file ASoA.h.

◆ select()

template<typename T >
auto o2::soa::Filtered< T >::select ( framework::expressions::Filter const &  f) const
inline

Definition at line 3699 of file ASoA.h.

◆ sliceBy() [1/2]

template<typename T >
template<typename T1 , bool OPT>
auto o2::soa::Filtered< T >::sliceBy ( o2::framework::PresliceBase< T1, framework::PreslicePolicyGeneral, OPT > const &  container,
int  value 
) const
inline

Definition at line 3694 of file ASoA.h.

◆ sliceBy() [2/2]

template<typename T >
template<typename T1 , bool OPT>
auto o2::soa::Filtered< T >::sliceBy ( o2::framework::PresliceBase< T1, framework::PreslicePolicySorted, OPT > const &  container,
int  value 
) const
inline

Definition at line 3688 of file ASoA.h.

◆ sliceByCached()

template<typename T >
auto o2::soa::Filtered< T >::sliceByCached ( framework::expressions::BindingNode const &  node,
int  value,
o2::framework::SliceCache cache 
) const
inline

Definition at line 3677 of file ASoA.h.

◆ sliceByCachedUnsorted()

template<typename T >
auto o2::soa::Filtered< T >::sliceByCachedUnsorted ( framework::expressions::BindingNode const &  node,
int  value,
o2::framework::SliceCache cache 
) const
inline

Definition at line 3682 of file ASoA.h.


The documentation for this class was generated from the following file: