1 #ifndef JODA_COUNTAGGREGATOR_H
2 #define JODA_COUNTAGGREGATOR_H
10 std::vector<std::unique_ptr<IValueProvider>> &&
params);
13 std::unique_ptr<IAggregator>
duplicate()
const override;
16 const std::string
getName()
const override;
18 static constexpr
auto getName_() {
return "COUNT"; }
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
rapidjson::GenericValue< RJChar, RJMemoryPoolAlloc > RJValue
Definition: RJFwd.h:29
Definition: RapidJsonDocument.h:22
Definition: CountAggregator.h:7
const std::string getName() const override
Definition: CountAggregator.cpp:55
CountAggregator(const std::string &toPointer, std::vector< std::unique_ptr< IValueProvider >> &¶ms)
Definition: CountAggregator.cpp:27
ulong count
Definition: CountAggregator.h:21
static constexpr auto getName_()
Definition: CountAggregator.h:18
RJValue terminate(RJMemoryPoolAlloc &alloc) override
Definition: CountAggregator.cpp:16
void accumulate(const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) override
Definition: CountAggregator.cpp:36
std::unique_ptr< IAggregator > duplicate() const override
Definition: CountAggregator.cpp:23
void merge(IAggregator *other) override
Definition: CountAggregator.cpp:8
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