![]() |
Project
|
#include <ArrowTableSlicingCache.h>
Public Member Functions | |
| ArrowTableSlicingCache (Cache &&bsks, Cache &&bsksUnsorted={}, header::DataOrigin newOrigin_=header::DataOrigin{"AOD"}) | |
| void | setCaches (Cache &&bsks, Cache &&bsksUnsorted={}) |
| arrow::Status | updateCacheEntry (int pos, std::shared_ptr< arrow::Table > const &table) |
| arrow::Status | updateCacheEntryUnsorted (int pos, std::shared_ptr< arrow::Table > const &table) |
| std::pair< int, bool > | getCachePos (Entry const &bindingKey) const |
| int | getCachePosSortedFor (Entry const &bindingKey) const |
| int | getCachePosUnsortedFor (Entry const &bindingKey) const |
| SliceInfoPtr | getCacheFor (Entry const &bindingKey) const |
| SliceInfoUnsortedPtr | getCacheUnsortedFor (Entry const &bindingKey) const |
| SliceInfoPtr | getCacheForPos (int pos) const |
| SliceInfoUnsortedPtr | getCacheUnsortedForPos (int pos) const |
Static Public Member Functions | |
| static void | validateOrder (Entry const &bindingKey, std::shared_ptr< arrow::Table > const &input) |
Public Attributes | |
| Cache | bindingsKeys |
| std::vector< std::vector< int64_t > > | offsets |
| std::vector< std::vector< int64_t > > | sizes |
| Cache | bindingsKeysUnsorted |
| std::vector< std::vector< int > > | valuesUnsorted |
| std::vector< ListVector > | groups |
| header::DataOrigin | newOrigin = header::DataOrigin{"AOD"} |
Static Public Attributes | |
| static constexpr ServiceKind | service_kind = ServiceKind::Stream |
Definition at line 77 of file ArrowTableSlicingCache.h.
| o2::framework::ArrowTableSlicingCache::ArrowTableSlicingCache | ( | Cache && | bsks, |
| Cache && | bsksUnsorted = {}, |
||
| header::DataOrigin | newOrigin_ = header::DataOrigin{"AOD"} |
||
| ) |
Definition at line 82 of file ArrowTableSlicingCache.cxx.
| SliceInfoPtr o2::framework::ArrowTableSlicingCache::getCacheFor | ( | Entry const & | bindingKey | ) | const |
Definition at line 230 of file ArrowTableSlicingCache.cxx.
| SliceInfoPtr o2::framework::ArrowTableSlicingCache::getCacheForPos | ( | int | pos | ) | const |
Definition at line 256 of file ArrowTableSlicingCache.cxx.
| std::pair< int, bool > o2::framework::ArrowTableSlicingCache::getCachePos | ( | Entry const & | bindingKey | ) | const |
Definition at line 200 of file ArrowTableSlicingCache.cxx.
Definition at line 213 of file ArrowTableSlicingCache.cxx.
Definition at line 222 of file ArrowTableSlicingCache.cxx.
| SliceInfoUnsortedPtr o2::framework::ArrowTableSlicingCache::getCacheUnsortedFor | ( | Entry const & | bindingKey | ) | const |
Definition at line 243 of file ArrowTableSlicingCache.cxx.
| SliceInfoUnsortedPtr o2::framework::ArrowTableSlicingCache::getCacheUnsortedForPos | ( | int | pos | ) | const |
Definition at line 264 of file ArrowTableSlicingCache.cxx.
Definition at line 94 of file ArrowTableSlicingCache.cxx.
| arrow::Status o2::framework::ArrowTableSlicingCache::updateCacheEntry | ( | int | pos, |
| std::shared_ptr< arrow::Table > const & | table | ||
| ) |
Definition at line 108 of file ArrowTableSlicingCache.cxx.
| arrow::Status o2::framework::ArrowTableSlicingCache::updateCacheEntryUnsorted | ( | int | pos, |
| std::shared_ptr< arrow::Table > const & | table | ||
| ) |
Definition at line 167 of file ArrowTableSlicingCache.cxx.
|
static |
Definition at line 272 of file ArrowTableSlicingCache.cxx.
| Cache o2::framework::ArrowTableSlicingCache::bindingsKeys |
Definition at line 80 of file ArrowTableSlicingCache.h.
| Cache o2::framework::ArrowTableSlicingCache::bindingsKeysUnsorted |
Definition at line 84 of file ArrowTableSlicingCache.h.
| std::vector<ListVector> o2::framework::ArrowTableSlicingCache::groups |
Definition at line 86 of file ArrowTableSlicingCache.h.
| header::DataOrigin o2::framework::ArrowTableSlicingCache::newOrigin = header::DataOrigin{"AOD"} |
Definition at line 88 of file ArrowTableSlicingCache.h.
| std::vector<std::vector<int64_t> > o2::framework::ArrowTableSlicingCache::offsets |
Definition at line 81 of file ArrowTableSlicingCache.h.
|
staticconstexpr |
Definition at line 78 of file ArrowTableSlicingCache.h.
| std::vector<std::vector<int64_t> > o2::framework::ArrowTableSlicingCache::sizes |
Definition at line 82 of file ArrowTableSlicingCache.h.
| std::vector<std::vector<int> > o2::framework::ArrowTableSlicingCache::valuesUnsorted |
Definition at line 85 of file ArrowTableSlicingCache.h.