MySQL 8.0.39
Source Code Documentation
equi_height_bucket.h File Reference

Equi-height bucket. More...

#include "my_base.h"
#include "my_inttypes.h"
#include "mysql_time.h"
#include "sql/my_decimal.h"
#include "sql_string.h"

Go to the source code of this file.

Classes

class  histograms::equi_height::Bucket< T >
 Equi-height bucket. More...
 

Namespaces

namespace  histograms
 
namespace  histograms::equi_height
 

Detailed Description

Equi-height bucket.

This file defines the class representing an equi-height bucket. A bucket holds four different values:

  • Lower inclusive value.
  • Upper inclusive value.
  • The cumulative frequency (between 0.0 and 1.0).
  • Number of distinct values in this bucket.