SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount Class Reference

#include <swcdb/db/client/Query/Update/Handlers/Metrics.h>

+ Inheritance diagram for SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount:
+ Collaboration diagram for SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount:

Public Types

typedef std::unique_ptr< Item_MinMaxAvgCountPtr
- Public Types inherited from SWC::client::Query::Update::Handlers::Metric::Base
typedef std::unique_ptr< BasePtr

Public Member Functions

 Item_MinMaxAvgCount (const char *a_name)
virtual ~Item_MinMaxAvgCount () noexcept
virtual void report (uint64_t for_ns, Handlers::Base::Column *colp, const DB::Cell::KeyVec &parent_key) override
virtual void reset () override
- Public Member Functions inherited from SWC::Common::Stats::MinMaxAvgCount_Safe< uint64_t >
SWC_CAN_INLINE MinMaxAvgCount_Safe () noexcept
virtual SWC_CAN_INLINE ~MinMaxAvgCount_Safe () noexcept
SWC_CAN_INLINE void add (uint64_t v) noexcept
SWC_CAN_INLINE uint64_t count () const noexcept
SWC_CAN_INLINE uint64_t total () const noexcept
SWC_CAN_INLINE uint64_t avg () const noexcept
SWC_CAN_INLINE uint64_t max () const noexcept
SWC_CAN_INLINE uint64_t min () const noexcept
SWC_CAN_INLINE void gather (MinMaxAvgCount< uint64_t > &to) noexcept
SWC_CAN_INLINE void reset () noexcept
void print (std::ostream &out) const
- Public Member Functions inherited from SWC::client::Query::Update::Handlers::Metric::Base
virtual ~Base () noexcept
virtual void definitions (Handlers::Base::Column *colp, const DB::Cell::KeyVec &parent_key)=0
virtual Levelget_level (const char *, bool)

Public Attributes

const std::string name

Detailed Description

Definition at line 105 of file Metrics.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ Item_MinMaxAvgCount()

SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::Item_MinMaxAvgCount ( const char *  a_name)

Definition at line 115 of file Metrics.h.

◆ ~Item_MinMaxAvgCount()

virtual SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::~Item_MinMaxAvgCount ( )

Definition at line 117 of file Metrics.h.

Member Function Documentation

◆ report()

void SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::report ( uint64_t  for_ns,
Handlers::Base::Column colp,
const DB::Cell::KeyVec parent_key 

◆ reset()

virtual void SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::reset ( )

Implements SWC::client::Query::Update::Handlers::Metric::Base.

Definition at line 122 of file Metrics.h.

References SWC::Common::Stats::MinMaxAvgCount_Safe< ValueT >::reset().

+ Here is the call graph for this function:

Member Data Documentation

◆ name

const std::string SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::name

Definition at line 113 of file Metrics.h.

Referenced by report().

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