JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Types | Static Public Member Functions | Static Public Attributes
joda::query::AverageAggregatorFunc Struct Reference

#include <NumberAggregator.h>

Public Types

typedef std::pair< size_t, double > AggRep
 

Static Public Member Functions

static void aggregateFirst (AggRep &old, double val)
 
static void aggregateRep (AggRep &old, AggRep &val)
 
static void aggregate (AggRep &old, double val)
 
static double getDouble (AggRep &val)
 

Static Public Attributes

static constexpr auto name = "AVG"
 

Member Typedef Documentation

◆ AggRep

typedef std::pair<size_t, double> joda::query::AverageAggregatorFunc::AggRep

Member Function Documentation

◆ aggregate()

static void joda::query::AverageAggregatorFunc::aggregate ( AggRep old,
double  val 
)
inlinestatic

◆ aggregateFirst()

static void joda::query::AverageAggregatorFunc::aggregateFirst ( AggRep old,
double  val 
)
inlinestatic

◆ aggregateRep()

static void joda::query::AverageAggregatorFunc::aggregateRep ( AggRep old,
AggRep val 
)
inlinestatic

◆ getDouble()

static double joda::query::AverageAggregatorFunc::getDouble ( AggRep val)
inlinestatic

Field Documentation

◆ name

constexpr auto joda::query::AverageAggregatorFunc::name = "AVG"
staticconstexpr

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