C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TJobStatisticsEntry< T > Class Template Reference

Class representing single statistic. More...

#include <job_statistics.h>

Public Member Functions

 TJobStatisticsEntry (TMaybe< TJobStatistics::TDataEntry > data)
TMaybe< T > Sum () const
 Sum of the statistic over all jobs.
TMaybe< T > Avg () const
 Average of the statistic over all jobs.
TMaybe< T > Count () const
 Number of jobs that emitted this statistic.
TMaybe< T > Max () const
 Maximum value of the statistic over all jobs.
TMaybe< T > Min () const
 Minimum value of the statistic over all jobs.

Friends

class TJobStatistics

Detailed Description

template<typename T>
class NYT::TJobStatisticsEntry< T >

Class representing single statistic.

Member Function Documentation

◆ Avg()

template<typename T>
TMaybe< T > NYT::TJobStatisticsEntry< T >::Avg ( ) const
inline

Average of the statistic over all jobs.

Note
Only jobs that emitted statistics are taken into account.

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