![]() |
Project
|
#include <ArrowTableSlicingCache.h>
Public Member Functions | |
ArrowTableSlicingCache (std::vector< StringPair > &&bsks, std::vector< StringPair > &&bsksUnsorted={}) | |
void | setCaches (std::vector< StringPair > &&bsks, std::vector< StringPair > &&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 (StringPair const &bindingKey) const |
int | getCachePosSortedFor (StringPair const &bindingKey) const |
int | getCachePosUnsortedFor (StringPair const &bindingKey) const |
SliceInfoPtr | getCacheFor (StringPair const &bindingKey) const |
SliceInfoUnsortedPtr | getCacheUnsortedFor (StringPair const &bindingKey) const |
SliceInfoPtr | getCacheForPos (int pos) const |
SliceInfoUnsortedPtr | getCacheUnsortedForPos (int pos) const |
Static Public Member Functions | |
static void | validateOrder (StringPair const &bindingKey, std::shared_ptr< arrow::Table > const &input) |
Public Attributes | |
std::vector< StringPair > | bindingsKeys |
std::vector< std::shared_ptr< arrow::NumericArray< arrow::Int32Type > > > | values |
std::vector< std::shared_ptr< arrow::NumericArray< arrow::Int64Type > > > | counts |
std::vector< StringPair > | bindingsKeysUnsorted |
std::vector< std::vector< int > > | valuesUnsorted |
std::vector< ListVector > | groups |
Static Public Attributes | |
static constexpr ServiceKind | service_kind = ServiceKind::Stream |
Definition at line 50 of file ArrowTableSlicingCache.h.
o2::framework::ArrowTableSlicingCache::ArrowTableSlicingCache | ( | std::vector< StringPair > && | bsks, |
std::vector< StringPair > && | bsksUnsorted = {} |
||
) |
Definition at line 78 of file ArrowTableSlicingCache.cxx.
SliceInfoPtr o2::framework::ArrowTableSlicingCache::getCacheFor | ( | StringPair const & | bindingKey | ) | const |
Definition at line 184 of file ArrowTableSlicingCache.cxx.
SliceInfoPtr o2::framework::ArrowTableSlicingCache::getCacheForPos | ( | int | pos | ) | const |
Definition at line 204 of file ArrowTableSlicingCache.cxx.
std::pair< int, bool > o2::framework::ArrowTableSlicingCache::getCachePos | ( | StringPair const & | bindingKey | ) | const |
Definition at line 154 of file ArrowTableSlicingCache.cxx.
int o2::framework::ArrowTableSlicingCache::getCachePosSortedFor | ( | StringPair const & | bindingKey | ) | const |
Definition at line 167 of file ArrowTableSlicingCache.cxx.
int o2::framework::ArrowTableSlicingCache::getCachePosUnsortedFor | ( | StringPair const & | bindingKey | ) | const |
Definition at line 176 of file ArrowTableSlicingCache.cxx.
SliceInfoUnsortedPtr o2::framework::ArrowTableSlicingCache::getCacheUnsortedFor | ( | StringPair const & | bindingKey | ) | const |
Definition at line 194 of file ArrowTableSlicingCache.cxx.
SliceInfoUnsortedPtr o2::framework::ArrowTableSlicingCache::getCacheUnsortedForPos | ( | int | pos | ) | const |
Definition at line 219 of file ArrowTableSlicingCache.cxx.
void o2::framework::ArrowTableSlicingCache::setCaches | ( | std::vector< StringPair > && | bsks, |
std::vector< StringPair > && | bsksUnsorted = {} |
||
) |
Definition at line 89 of file ArrowTableSlicingCache.cxx.
arrow::Status o2::framework::ArrowTableSlicingCache::updateCacheEntry | ( | int | pos, |
std::shared_ptr< arrow::Table > const & | table | ||
) |
Definition at line 103 of file ArrowTableSlicingCache.cxx.
arrow::Status o2::framework::ArrowTableSlicingCache::updateCacheEntryUnsorted | ( | int | pos, |
std::shared_ptr< arrow::Table > const & | table | ||
) |
Definition at line 124 of file ArrowTableSlicingCache.cxx.
|
static |
Definition at line 227 of file ArrowTableSlicingCache.cxx.
std::vector<StringPair> o2::framework::ArrowTableSlicingCache::bindingsKeys |
Definition at line 53 of file ArrowTableSlicingCache.h.
std::vector<StringPair> o2::framework::ArrowTableSlicingCache::bindingsKeysUnsorted |
Definition at line 57 of file ArrowTableSlicingCache.h.
std::vector<std::shared_ptr<arrow::NumericArray<arrow::Int64Type> > > o2::framework::ArrowTableSlicingCache::counts |
Definition at line 55 of file ArrowTableSlicingCache.h.
std::vector<ListVector> o2::framework::ArrowTableSlicingCache::groups |
Definition at line 59 of file ArrowTableSlicingCache.h.
|
staticconstexpr |
Definition at line 51 of file ArrowTableSlicingCache.h.
std::vector<std::shared_ptr<arrow::NumericArray<arrow::Int32Type> > > o2::framework::ArrowTableSlicingCache::values |
Definition at line 54 of file ArrowTableSlicingCache.h.
std::vector<std::vector<int> > o2::framework::ArrowTableSlicingCache::valuesUnsorted |
Definition at line 58 of file ArrowTableSlicingCache.h.