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

#include <ASoA.h>

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

Public Types

using self_t = Filtered< Filtered< T > >
 
using base_t = T
 
using table_t = typename FilteredBase< typename T::table_t >::table_t
 
using columns_t = typename T::columns_t
 
using iterator = typename T::template iterator_template_o< FilteredIndexPolicy, self_t >
 
using unfiltered_iterator = typename T::template iterator_template_o< DefaultIndexPolicy, self_t >
 
using const_iterator = iterator
 
- Public Types inherited from o2::soa::FilteredBase< T::table_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< Filtered< T > > &&tables, gandiva::Selection const &selection, uint64_t offset=0)
 
 Filtered (std::vector< Filtered< T > > &&tables, SelectionVector &&selection, uint64_t offset=0)
 
 Filtered (std::vector< Filtered< T > > &&tables, std::span< int64_t const > const &selection, uint64_t offset=0)
 
Filtered< Filtered< T > > operator+ (SelectionVector const &selection)
 
Filtered< Filtered< T > > operator+ (std::span< int64_t const > const &selection)
 
Filtered< Filtered< T > > operator+ (Filtered< T > const &other)
 
Filtered< Filtered< T > > operator+= (SelectionVector const &selection)
 
Filtered< Filtered< T > > operator+= (std::span< int64_t const > const &selection)
 
Filtered< Filtered< T > > operator+= (Filtered< T > const &other)
 
Filtered< Filtered< T > > operator* (SelectionVector const &selection)
 
Filtered< Filtered< T > > operator* (std::span< int64_t const > const &selection)
 
Filtered< Filtered< T > > operator* (Filtered< T > const &other)
 
Filtered< Filtered< T > > operator*= (SelectionVector const &selection)
 
Filtered< Filtered< T > > operator*= (std::span< int64_t const > const &selection)
 
Filtered< 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
 
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
 
- Public Member Functions inherited from o2::soa::FilteredBase< T::table_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, std::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
 
void bindExternalIndices (TA *... current)
 
void bindExternalIndicesRaw (std::vector< o2::soa::Binding > &&ptrs)
 
void bindInternalIndicesTo (I const *ptr)
 
void doCopyIndexBindings (framework::pack< Cs... >, T1 &dest) const
 
void copyIndexBindings (T1 &dest) const
 
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
 
auto sliceBy (o2::framework::PresliceBase< T1, framework::PreslicePolicySorted, OPT > const &container, int value) const
 
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 sumWithSelection (std::span< int64_t const > const &selection)
 
void intersectWithSelection (SelectionVector const &selection)
 
void intersectWithSelection (std::span< int64_t const > const &selection)
 
bool isCached () const
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 3923 of file ASoA.h.

Member Typedef Documentation

◆ base_t

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

Definition at line 3927 of file ASoA.h.

◆ columns_t

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

Definition at line 3929 of file ASoA.h.

◆ const_iterator

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

Definition at line 3933 of file ASoA.h.

◆ iterator

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

Definition at line 3931 of file ASoA.h.

◆ self_t

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

Definition at line 3926 of file ASoA.h.

◆ table_t

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

Definition at line 3928 of file ASoA.h.

◆ unfiltered_iterator

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

Definition at line 3932 of file ASoA.h.

Constructor & Destructor Documentation

◆ Filtered() [1/3]

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

Definition at line 3945 of file ASoA.h.

◆ Filtered() [2/3]

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

Definition at line 3953 of file ASoA.h.

◆ Filtered() [3/3]

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

Definition at line 3961 of file ASoA.h.

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 3935 of file ASoA.h.

◆ begin() [2/2]

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

Definition at line 3940 of file ASoA.h.

◆ emptySlice()

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

Definition at line 4056 of file ASoA.h.

◆ operator*() [1/3]

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

Definition at line 4019 of file ASoA.h.

◆ operator*() [2/3]

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

Definition at line 4005 of file ASoA.h.

◆ operator*() [3/3]

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

Definition at line 4012 of file ASoA.h.

◆ operator*=() [1/3]

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

Definition at line 4036 of file ASoA.h.

◆ operator*=() [2/3]

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

Definition at line 4024 of file ASoA.h.

◆ operator*=() [3/3]

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

Definition at line 4030 of file ASoA.h.

◆ operator+() [1/3]

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

Definition at line 3983 of file ASoA.h.

◆ operator+() [2/3]

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

Definition at line 3969 of file ASoA.h.

◆ operator+() [3/3]

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

Definition at line 3976 of file ASoA.h.

◆ operator+=() [1/3]

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

Definition at line 4000 of file ASoA.h.

◆ operator+=() [2/3]

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

Definition at line 3988 of file ASoA.h.

◆ operator+=() [3/3]

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

Definition at line 3994 of file ASoA.h.

◆ rawIteratorAt()

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

Definition at line 4041 of file ASoA.h.

◆ rawSlice()

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

Definition at line 4048 of file ASoA.h.

◆ sliceBy() [1/2]

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

Definition at line 4078 of file ASoA.h.

◆ sliceBy() [2/2]

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

Definition at line 4072 of file ASoA.h.

◆ sliceByCached()

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

Definition at line 4061 of file ASoA.h.

◆ sliceByCachedUnsorted()

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

Definition at line 4066 of file ASoA.h.


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