1 #ifndef JODA_HISTOGRAMAGGREGATOR_H
2 #define JODA_HISTOGRAMAGGREGATOR_H
4 #include <boost/histogram.hpp>
12 std::vector<std::unique_ptr<IValueProvider>> &&
params);
15 std::unique_ptr<IAggregator>
duplicate()
const override;
18 const std::string
getName()
const override;
20 static constexpr
auto getName_() {
return "HISTOGRAM"; }
23 boost::histogram::histogram<std::tuple<boost::histogram::axis::regular<>>>
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
rapidjson::GenericValue< RJChar, RJMemoryPoolAlloc > RJValue
Definition: RJFwd.h:29
Definition: RapidJsonDocument.h:22
Definition: HistogramAggregator.h:9
boost::histogram::histogram< std::tuple< boost::histogram::axis::regular<> > > hist
Definition: HistogramAggregator.h:24
std::unique_ptr< IAggregator > duplicate() const override
Definition: HistogramAggregator.cpp:37
static constexpr auto getName_()
Definition: HistogramAggregator.h:20
HistogramAggregator(const std::string &toPointer, std::vector< std::unique_ptr< IValueProvider >> &¶ms)
Definition: HistogramAggregator.cpp:42
RJValue terminate(RJMemoryPoolAlloc &alloc) override
Definition: HistogramAggregator.cpp:7
void merge(IAggregator *other) override
Definition: HistogramAggregator.cpp:89
void accumulate(const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) override
Definition: HistogramAggregator.cpp:65
const std::string getName() const override
Definition: HistogramAggregator.cpp:85
Definition: IAggregator.h:25
std::vector< std::unique_ptr< IValueProvider > > params
Definition: IAggregator.h:124
std::string toPointer
Definition: IAggregator.h:120
Definition: AttributeStatAggregator.h:12